procmail
[Top] [All Lists]

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

1997-05-19 10:03:00
On Mon, 19 May 1997 15:54:30 +0100 (BST),
Georgios Katsikogiannis <george(_at_)net-cs(_dot_)ucd(_dot_)ie> wrote:
in  the /var/spool/mail/xxxx, then can't you get a notification about any
incoming messages ? Is there any way to see in which folder is a new
message stored ?

If your comsat understands Procmail's notifications, go with that. 

Some shells have their own built-in biff-like checking.

There are several third-party biffs which can monitor many mailboxes
at the same time.

You can write a shell script to periodically check files for new mail.

I use bash and a shell script I run when I log in and occasionally
during the day. (I'd like to have that kludged into Emacs's
display-time instead; I've been working on that at times but never
gotten around to finishing it.) When I'm at an X terminal, I use
xbuffy. Either way, I usually keep open a window (or screen, as it may
be -- I find screen(1) to be indispensable for a lot of reasons, even
under X --) with tail -0f ~/Mail/procmail.log

Hope this helps,

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>