procmail
[Top] [All Lists]

Re: new mail alerting and other little things

1998-10-19 07:02:32

----- Begin Included Message -----
hello all.  couple questions for you.  My situation:  I am on several
mailing lists and wish to direct the mail to separate folders.  The main
problem is that I don't get alerted when new mail arrives since it is not
put in my inbox.  How do I get procmail to do this?  I've tried touching
my inbox file to fool my system into thinking I got new mail in my inbox,
but it didn't work.
----- End Included Message -----

If you have a unix console at your desk - and it has a speaker system,
(/dev/audio) then you can play a sound from the unix box when certain
mail arrives.

I have procmail setup using Greg Sutter's Junkmail filter.  When I get
certified spam, I play toiletflush.au - When I get personal mail, I
play youvegotmail.au

I know this is not exactly what you want - but it helps if you are
sitting by the computer when mail comes in.

Here is a snippet from my .procmailrc.  This is the last line in the file.

...
# Catches everything else.
:0 
{
  :0 c
  !axxxxxxx(_at_)rlxmaxl(_dot_)dxxg(_dot_)xxxi(_dot_)com

  :0
  | cat > /dev/null; rsh svsw1 /home/toddl/bin/playit -v40 
/home/toddl/bin/youvegotmail.au
}

(note svsw1 is the machine near me - and the mail servers name is located in 
my .rhosts file)


toddl

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