On 9/29/2011 1:46 PM, Marek Salwerowicz wrote:
> W dniu 2011-09-29 20:39, Kaleb Hosie pisze:
>> This seems like it should be a simple task but for some reason
>> Postfix isn't rejecting email by using RBL lookups.
>>
>> Here is my smtpd configuration:
>>
>> smtpd_recipient_restrictions =
>>    reject_non_fqdn_sender,
>>    reject_unknown_recipient_domain,
>>    reject_unauth_pipelining,
>>    reject_non_fqdn_recipient,
>>    reject_rbl_client sbl.spamhaus.org,
>>    reject_rbl_client xbl.spamhaus.org,
>>    permit_sasl_authenticated,
>>    permit_mynetworks,
>>    reject_unauth_destination,
>>    permit_auth_destination,
>>    permit
>>
>> Can anyone see the reason why RBL lookups aren't happening?
>>
>> Thanks!
>> Kaleb
>>
> Add the same to smtpd_client_restrictions
> 
> Regards,


No.  Other than being before the permit_* (so authorized users could
be blocked), they are fine in smtpd_recipient_restrictions.

Likely problems are either "postconf -n" output doesn't match what's
shown due to multiple smtpd_recipient_restrictions, or he's behind a
NAT or proxy that lies about the client IP address.

  -- Noel Jones

Reply via email to