On 8/11/2010 3:43 PM, kazabe wrote:


i need by example reject this email.




From: "MARTHA DIAZ"<marthadia...@hotmail.com>
To: divin...@hotmail.com, gonzalez...@gmail.com, maia...@hotmail.com,
angelamaritz...@hotmail.com, bibiss...@hotmail.com,
juancaco...@hotmail.com, zhi...@hotmail.com, lcp...@hotmail.com,
carolina_ne...@hotmail.com
CC: dh...@hotmail.com, gerca...@hotmail.com, h...@hotmail.com,
lualne...@hotmail.com, conde...@supercabletv.net.co,
orfigo...@yahoo.com, mt...@hotmail.com, mauherd...@hotmail.com,
mpne...@hotmail.com, rafitapap...@hotmail.com,
albarpel...@hotmail.com, virap...@hotmail.com, zmp...@hotmail.com
Subject: FW: LA MEJOR PUBLICIDAD!!
Date: Tue, 19 Dec 2006 17:52:45 +0000


Here's some rope:

# main.cf
header_checks = regexp:/etc/postfix/header_checks

# header_checks
IF /^(to|cc):/
/(@*){10}/  HOLD  too many addresses in To: or CC: header
ENDIF



Note this counts the recipients listed in each header, not the combined total.

Note this counts declared recipients listed in the headers. This has little or no relation to actual recipients.

I wouldn't be surprised is this rejects mail you want, and passes lots of mail you don't want. Use with caution.

A "too many recipients might be spam" test is far better suited for a scoring system such as SpamAssassin, which can also do more complex checks.

Consider using a content_filter or milter that incorporates SpamAssassin.

Consider using "reject_rbl_client zen.spamhaus.org" somewhere in your restrictions. If your site is too big for the free spamhaus service, it's well worth paying for.

Consider using the clamav anti-virus scanner with the Sanesecurity add-on spam signatures.


  -- Noel Jones

Reply via email to