procmail
[Top] [All Lists]

Re: How could i get some indication of a new message ?

1997-05-19 14:31:00
Or, if {w}newmail is installed (part of the elm distribution, I
believe), you can do something like:

newmail $MAILSPOOL $MYMAIL/nanog $MYMAIL/com-priv $MYMAIL/procmail

Set an environment variables to taste (here, $MAILSPOOL=/var/spool/mail 
and $MYMAIL=$HOME/Mail).  The above monitors my regular mail spool and
three mailing lists.

Replace newmail with wnewmail and you get output that stays on your
screen, scrolling, instead of a background process.  This becomes
useful coupled with "screen", "splitvt", an xterm, etc.

write a simple perl script... run it as a background
process when u'r logged in, and zap it while u logout...

Having redirected your message to a folder, how could you get an
indication that a new mail has arrived and o which folder has it been
stored, other than having to look at the log file? If you don't store them