procmail
[Top] [All Lists]

Re: Procmail and New Message Notification?

1996-04-30 20:19:38
Josh Kramer writes:

JK> If you use tcsh, this handy alias will display a one line message
JK> at your prompt telling you if and at what time new mail has
JK> arrived, or will display nothing if there has been no new mail.

JK> In .cshrc, add the line:

JK> alias precmd 'finger your_username | grep "New mail" | grep -v
JK> "no"'

JK> Replace your_username with your real username, login again, and
JK> you're set.

JK> I hope that this is useful for some people.

        Not likely, if you are using procmail to split mail into
separate folders. (;  Not all messages are going to go into $MAIL, so
'finger your_username' isn't going to pick up new mail.

-- 
#include <disclaimer.h>                               /* Sten Drescher */
ObCDABait:      For she doted upon their paramours, whose flesh is as the
flesh of asses, and whose issue is like the issue of horses.  [Eze 23:20]
Unsolicited email advertisements will be proofread for a US$100/page fee.

<Prev in Thread] Current Thread [Next in Thread>