On Tue, Jan 25, 2000 at 04:36:35PM -0600 or thereabouts, Jason Helfman wrote:
> When I quit any program, I may get a msg that says "You have mail in
> /var/spool/mail/$USER
>
> Is their a way for get sendmail to check the other boxes. I'm only in a
> console window, so this would be helpful. I don't know off-hand, thus I
> research.
It's not sendmail (or mutt) that's doing this. It's the shell. If you
have bash, then I know that the relevant variable is MAILPATH and as
an example, I have this in my .bash_profile:
MAILPATH=/var/spool/mail/hobbit?You have mail:~/Mail/IN.gnome-list?You
have gnome-mail:~/Mail/IN.mutt-users?You have list-mail
...etc. (All one line)
export MAILPATH.
The syntax is in man bash (settle down with a cup of coffee; it's a
long read :)). Also, if you're on lots of lists, you will get very
tired of ten "You have this mail, you have that mail, you have other
mail" for every file you tell it to look at! I think how often it
will check is the MAILCHECK variable: unset it to stop it looking
at all.
Telsa