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

Re: blocked ip address

From: Noel Jones <njones_at_nospam>
Date: Wed Oct 27 2010 - 17:04:22 GMT

On 10/27/2010 10:44 AM, Sasa wrote:
> Hi, I have a mail server with postfix/amavisd-new,
> spamassassin and I would insert an IP address in white list
> because this IP address now is blocked because is present in
> spamcop blacklist.
> I woluld not disable spamcop but only enable one IP address.
> Now in log file I have:
>[85.18.95.xx]: 554 5.7.1 Service
> unavailable; Client host [85.18.95.xx] blocked using
>; Blocked - see
> I woluld not blocked mail from 85.18.95.xx , I have insert
> this ip address in but this ip address is always
> blocked.
> Thanks.
> -
> Salvatore.

Put a client whitelist just before the spamcop check.
A typical example:

smtpd_recipient_restrictions =
   check_client_access hash:/etc/postfix/client_whitelist

# client_whitelist
85.18.95.xx permit_auth_destination

If you (mistakenly) check spamcop multiple times in your, you will need to add the whitelist before each one.
Or better yet, just use each rbl one time.

   -- Noel Jones