Will something like this (where BLOCKED and LISTS is a file containing
addresses) work?
:0 :
#deliver all mail in the lists file and put them in the INBOX
* ^TO.*$LISTS.*
inbox
:0 :
#bounce all mail from the blocked file and send them bounce.txt
* ^FROM.*$BLOCKED.*
*!^FROM_DAEMON
*!^X-Loop: me(_at_)address(_dot_)net
|(formail -r -A "Precedence: junk"\
-I"From: me(_at_)address(_dot_)net" \
-I"Subject: Your Mail" \
cat $FILEDIR/bounce.txt )|$SENDMAIL -t
Janyne
----------------------------------------------------------------
Janyne M. Kizer janyne_kizer(_at_)ncsu(_dot_)edu
N.C. State University Computing Services
Poultry Science: 515-5553 Water Quality Group: 515-8246
----------------------------------------------------------------