I am trying to block messages from people that I have banned from my
list. I get subscriptions and the emails are in the BODY ONLY. What I
would like to do is to send a rejection note to the person and delete the
mail without me ever having seen it. Currently I am trying something
like this, but it does not appear to work:
:0
* ^From: bum(_at_)bum(_dot_)com
| (/usr/local/bin/formail -brt ; \
echo "Your letter was automatically rejected." ;\
) | $SENDMAIL -oi -t
:0B
* ^ .* bum(_at_)bum(_dot_)com
| (/usr/local/bin/formail -brt ; \
echo "Your letter was automatically rejected." ;\
) | $SENDMAIL -oi -t
Thanks for the help!
Joe