Re: Dealing with IP addresses that resolve to localhost

2011-03-03 Thread Wietse Venema
Erik de Castro Lopo: > Is there a way to detect and reject any email from IP addresses > falsly claiming to be localhost? check_reverse_client_hostname_access type:table Search the specified access database for the unverified reverse client hostname, parent domains, client IP address

Re: Dealing with IP addresses that resolve to localhost

2011-03-03 Thread Erik de Castro Lopo
Reindl Harald wrote: > http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions > > I would mean this should do that and the permits are needed because > we do not want that authenticated endusers are rejected > > smtpd_helo_required = yes > smtpd_helo_restrictions = permit_mynetworks, per

Re: Dealing with IP addresses that resolve to localhost

2011-03-03 Thread Reindl Harald
http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions I would mean this should do that and the permits are needed because we do not want that authenticated endusers are rejected smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_

Dealing with IP addresses that resolve to localhost

2011-03-03 Thread Erik de Castro Lopo
Hi all, I'm running postfix 2.7.1 from Debian testing. I'm getting quite a bit of spam from machines in places like Vietnam whose IP addresses resolve to localhost. For example: postfix/smtpd[1427]: warning: 117.4.33.231: address not listed for hostname localhost postfix/smtpd[1427]: connect f