postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: blocked ip address

Re: blocked ip address

From: Sasa <sasa_at_nospam>
Date: Wed Oct 27 2010 - 17:24:17 GMT
To: "postfix users" <postfix-users@postfix.org>

"Noel Jones" wrote:
> Put a client whitelist just before the spamcop check.
> A typical example:
>
> # main.cf
> smtpd_recipient_restrictions =
> permit_mynetworks
> reject_unauth_destination
> check_client_access hash:/etc/postfix/client_whitelist
> reject_rbl_client bl.spamcop.net
>
> # client_whitelist
> 85.18.95.xx permit_auth_destination

Hello, in main.cf I have this configuration:

smtpd_recipient_restrictions = permit_sasl_authenticated,
reject_unauth_destination,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client dul.dnsbl.sorbs.net,
    reject_rbl_client zen.spamhaus.org

now I have created file "/etc/postfix/client_whitelist" and in this file I
have add ip address:
85.18.95.xx
then I have insert "check_client_access hash:/etc/postfix/client_whitelist"
and now I have this configuration:

smtpd_recipient_restrictions = permit_sasl_authenticated,
reject_unauth_destination,
   check_client_access hash:/etc/postfix/client_whitelist,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client dul.dnsbl.sorbs.net,
    reject_rbl_client zen.spamhaus.org

but with new parameter when I try send mail smpt server go in timeout !
Thanks.

-
 Salvatore.