OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: RBL lookup cache

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Wed Apr 18 2007 - 13:34:35 CDT


On Wed, Apr 18, 2007 at 11:31:01AM -0700, Ed Sawicki wrote:

> I regularly receive spam from hosts that have already
> been added to the RBL/DNSBLs that my Postfix is
> configured to check. I see from the source that Postfix
> caches positive and negative RBL results.
>
> How long before results are aged out of the cache?

100 consecutive connections to a single smtpd(8) server.

    http://www.postfix.org/postconf.5.html#max_use
    http://www.postfix.org/postconf.5.html#max_idle

the cache is not global, it is per-process.

> Does reloading Postfix with the "postfix reload" command
> clear the cache?

Yes, but this is in practice never necessary.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.