procmail
[Top] [All Lists]

Re: spool monitoring and "new mail" notification

1998-10-15 10:13:06
Greg Fall writes:

Most MUA's watch a user's mail spool for changes, maybe checking every
30 seconds or something along those lines, and they provide some
notification (e.g. a beep and output of the most-recently-arrived
message's subject line) when new messages arrive.  However, if
messages arriving at the spool are immediately sent to procmail and
are then sent to various folders, the MUA does not know mail has
arrived and its notification feature doesn't work.  Does anybody have
a solution that will at least enable a MUA to spot changes in the
spool before procmail moves the new arrivals?

I thought that, at least using sendmail and .forward, that the incoming
mail gets sent to the specified program (procmail in this case) before
it ever hits the spool.  Therefore, there is no moving "from the spool",
so the spool itself doesn't change as a result of the incoming mail
(unless, of course, procmail then writes it there).

Confronted with this, I just use multiple xbiffs, xbiff++, xmultibiff,
or something on that order to watch the (possibly multiple) folders to
which procmail would deliver something.

-- 
========================================================================
Seen in a newspaper: Now is your chance to have your ears pierced and
get an extra pair to take home, too.
http://www.unixgeek.com/cgi-bin/motd.pl - PGP email preferred