On 10/21/2009 12:22 PM, Gary Smith wrote:
> We have the same problem. A couple random users on the net have been
> harassing one of our email holders with lots of spam.
> 
> You will need to tweak this accordingly, but this is what we have on
> our relays in the main.cf:

> smtpd_recipient_restrictions =
>    hash:/etc/postfix/custom/access,
>    permit_mynetworks,
>    reject_unknown_sender_domain,
>    reject_rbl_client zen.spamhaus.org,
>    reject_rbl_client bl.spamcop.net,
>    reject_rbl_client rhsbl.ahbl.org,
>    reject_rbl_client dnsbl-1.uceprotect.net,
>    check_policy_service inet:10.80.65.26:5847,
>    reject_unauth_pipelining,
>    reject_unauth_destination,
>    reject_invalid_hostname

Ouch...

Why are you spamming zen.spamhaus.org (and the others) with queries for
messages you will reject later (reject)unauth_destination)? You're also
slamming your policy service with the same thing.

Move reject_unauth_destination up above these checks...

-- 

Best regards,

Charles

Reply via email to