On Fri, Apr 27, 2012, at 01:47 PM, Wietse Venema wrote:
> > I'd still think that a local check by Postfix to an 'auto-expiring hash
> > table' (unclear so far it that can be done) to which the 'bad' address
> 
> Each Postfix SMTP server caches its own DNSBL lookup results.  Those
> results are not shared with other Postfix processes. 
> 
> The in-process cache saves time when one message has multiple
> recipients, and the DNSBL check is done once per recipient in
> smtpd_recipient_restrictions.

Does a single "Postfix SMTP server" process instance remain
resident/open across multiple connections?  Or is a new one spawned for
each connection, or perhaps after some delay, load or other trigger?

If it's the former, and I understand this right, then the two
somewhat-concurrent connections from the same spamhaus-banned IP, as
referenced in my OP,

 Apr 26 11:13:07 liam postfix/smtpd[22946]: connect from
 130.43.53.23.dsl.dyn.forthnet.gr[130.43.53.23]
 Apr 26 11:13:08 liam postfix/smtpd[22946]: NOQUEUE: reject: RCPT from
 130.43.53.23.dsl.dyn.forthnet.gr[130.43.53.23]: 554 5.7.1 Service
 unavailable; Client host [130.43.53.23] blocked using zen.spamhaus.org;
 http://www.spamhaus.org/query/bl?ip=130.43.53.23;
 ...
 Apr 26 11:13:32 liam postfix/smtpd[22946]: connect from
 130.43.53.23.dsl.dyn.forthnet.gr[130.43.53.23]
 Apr 26 11:13:32 liam postfix/smtpd[22946]: NOQUEUE: reject: RCPT from
 130.43.53.23.dsl.dyn.forthnet.gr[130.43.53.23]: 554 5.7.1 Service
 unavailable; Client host [130.43.53.23] blocked using zen.spamhaus.org;
 http://www.spamhaus.org/query/bl?ip=130.43.53.23;

ARE using the Postfix 'internal' DNSBL cache?  How do I learn/observe
that use of the cached value from logs?

If it's the latter, I understand that  results are not shared with other
Postfix processes.

--
Thanks,
Karen

Reply via email to