OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: wrong ip blocking?
From: Matthew Hawkins (matthewtopic.com.au)
Date: Tue Jul 04 2000 - 08:51:29 CDT


Welcome back :)

On 2000-07-04 14:59:29 +0200, Mipam wrote:
> Any suggestions?

smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/client_access

Actually, what you probably mean to do is more like:

smtpd_sender_restrictions = permit_mynetworks, reject_invalid_hostname, check_client_access hash:/etc/postfix/client_access, permit

One of my systems currently uses:

smtpd_helo_required = yes
smtpd_client_restrictions = permit
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, permit
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_invalid_hostname, check_client_access hash:/etc/postfix/access, permit
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, check_relay_domains

HTH,

-- 
Matt