announcements.rc

[code]
# announcements.rc
# moves all mail from addresses in announcers.lst to the folder "announcements"
# -Carlos Macasaet
# http://www.carlos-m.net/

:0
* ? formail -x"From:" -x"From:" -x"Sender:"\
-x"Reply-To:" -x"Return-Path:"\
| egrep -is -f $PMDIR/announcers.lst
{
:0: announcements.lock
| $RCVSTORE +announcements
}
[/code]

Leave a Reply