[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Console new mail notification



Aaron Brashears <gila@gila.org> writes:

> I'm running debian stable, and I've set up procmail to filter
> messages into appropriate mailboxes.  However, now that almost all
> mail is filtered into /home/gila/Mail, none of it winds up in
> /var/... so console mail notification doesn't work correctly.  Is
> there any way to configure bash to check in different directories
> for mail?

Yes, see the bash manual. You set $MAILPATH to a colon seperated list
of filenames, which should be checked for new mail. Furthermore,
you've to set 'mailwarn'  with 'shopt', if it's unset.

	moritz
-- 
/* Moritz Schulte <moritz@hp9001.fh-bielefeld.de>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Reply to: