Bounce spam mail with procmail

Bounce spam email with procmail with the below conf – note the spam must be sent from a valid address or they will bounce again!

# bounce spams
:0:
* ^From:.*(newsletter1|newsletter2)
|(formail -I "From: your@fromaddress.com" -r; echo 'Please remove me from this list') | $SENDMAIL -t

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>