On Wed, 2009-07-22 at 10:31 -0600, Robert Lopez wrote:
> We get a lot of spam from a marketing company that uses hundreds of ip
> addresses and hundreds of domain names but it always comes from
> "support" at which ever names they are using that day.
> 
> My supervisor wants me to block all email coming from "supp...@*".
> 
> I have concerns about blocking legitimate email.
> 
> Which postfix list would be best used for such a block?  Could it be
> sender_access?
> 
Perhaps try making this file;
/etc/postfix/header_checks
#start of file
/^From:.*support\@/        REJECT Your mail was rejected - call us on
1-800 xxx xxx to unblock
#end of file

Then add this to the foot of your main.cf

header_checks = regexp:/etc/postfix/header_checks

This will block any header with from support in it, including legitimate
ones and is very aggressive.

Perhpas better to add this to your smtpd_recipient_restrictions in
main.cf and see if this stops it.


smtpd_recipient_restrictions =
  ....
        reject_rbl_client zen.spamhaus.org
-- 
-----------------------------------------------------------
C Werclick .Lot
Technical incompetent
Loyal Order Of The Teapot.

This e-mail and its attachments is intended only to be used as an e-mail
and an attachment. Any use of it for other purposes other than as an
e-mail and an attachment will not be covered by any warranty that may or
may not form part of this e-mail and attachment. 



Reply via email to