procmail
[Top] [All Lists]

Re: Being notified when text contains your name

1997-10-10 08:08:22
:0BDc  # look in body of message, case significant, make clone
* Bryan Farrish|Bryan FARRISH|# other plausible variants
honorable-mentions

I tried this, and it is saving *everything*, even messages with no 
texts, to honorable-mentions.  What could be the problem?


 > What would be a simple rc recipie to alert me when a message, that is 
 > being procmail-sorted to a folder, has my name in it?  IOWx, I only have 
 > time to go through my folders about once a week; the recipie would 
 > alert me as soon as a message arrived which mentioned me in the text, and 
 > thus I would not have to wait until I went through all the folders to 
 > know about it.


This will simply write a copy of all such messages to the folder
honorable-mentions. Then just set up your biff/login script/whatever
to look at this folder, or forward these messages to your pager or
whatever. (If you only want to do this on mailing lists, you might
just check if it also matches ! ^TO_datela(_at_)via\(_dot_)net\> or 
something.)

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