On Monday, February 3, 2003, at 05:11 AM, Frank Nørvig wrote:
Hi there,
How can I make a blacklist-script to sort out specific domains using
procmail ?
KILLFILE=$HOME/.killfile
:0:
* $? formail -xFrom: | grep -i -f $KILLFILE
/dev/null
put what you want killed in the file .killfile
echo "To: $FROM";\
echo "From: $MODTAGER";\
echo "Subject: Blacklist notify";\
echo "X-Loop: noloop";\
echo ;\
echo "This is an autoreply!";\
echo ;\
echo "Your mail-address has been blacklisted and your mail has
therefor";\
echo "been deleted before reaching destination!";\
If you are doing this be sure the email is not from a mailing list.
--
The Piper's calling you to join him
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail