[ubuntu-it] Notifica mail
Bruno Aleci
brunoaleci a gmail.com
Mar 21 Mar 2006 17:08:16 UTC
On 21/03/06, Walter Valenti <waltervalenti a yahoo.it> wrote:
> .
> >
> > Segnalo le seguenti variabili d'ambiente, dorebbero fare al caso tuo.
> > MAILCHECK
> > How often (in seconds) that the shell should check for mail in the
> > files specified in the MAILPATH or MAIL variables. The default is
> > 60 seconds. When it is time to check for mail, the shell does so
> > before displaying the primary prompt. If this variable is unset,
> > or set to a value that is not a number greater than or equal to
> > zero, the shell disables mail checking.
> >
> >
> > MAIL
> > If this parameter is set to a filename and the MAILPATH variable
> > is not set, Bash informs the user of the arrival of mail in the
> > specified file.
> >
> > MAILPATH
> > A colon-separated list of filenames which the shell
> > periodically checks for new mail. Each list entry can specify
> > the message that is printed when new mail arrives in the mail
> > file by separating the file name from the message with a `?'.
> > When used in the text of the message, $_ expands to the name
> > of the current mail file.
> >
> > Ciao
>
> Non sembra funzionare.
> Ho settato:
> MAILCHECK=60
> MAIL=/var/mail/walter
>
> ma non funziona.
>
> (Non mi notifica nulla quando apro una shell)
>
> Walter
che formato usi per salvare la posta ( o meglio che client usi) perchè
se usi maildir
devi usare la MAILPATH, specificando ogni file di posta da monitorare
mentre mbox è il formato dove la posta viene salvata in unico file,
MAIL=/var/mail/walter
è un file o una dir
ciao
Maggiori informazioni sulla lista
ubuntu-it