Reject Spam EmaiL
Postfix body checks Howto
——————————————————————————–
Postfix body checks .. Reject Spam Mail
Example Error:
reject: body Microsoft Consumer from kellylake96-79.cyberbeach.net[216.104.96.79];
from= to=
proto=ESMTP helo=:
We Dont Accept Mail From Spammers - Go Away
—
How To Do It!
Postfix config dir is /usr/local/etc/postfix/
cd /usr/local/etc/postfix
Open the main.cf file in vi or ee
add this line to the file
body_checks = regexp:/usr/local/etc/postfix/body_checks
exit save changes.
open a new file in vi or ee named body_checks
Add this content to the file use your imagination
### start file body_checks
# Banned Words Phrases
/Microsoft Consumer/ REJECT We Dont Accept Mail From Spammers - Go Away
/viagra/ REJECT We Dont Accept Mail From Spammers - Go Away
/Penis enlargement/ REJECT We Dont Accept Mail From Spammers - Go Away
/get your free/ REJECT We Dont Accept Mail From Spammers - Go Away
#### end file
Do postfix reload
Cheers
Original by Talon Edited By Pascal and mobi @ Unix Dot Org Dot au

http://stories.anzwers.net/voyeurs/dildo-cam-voyeur.html complimentwhosewondered
Comment by induced — February 28, 2006 @ 4:04 pm