Simon Wilson:
On my new Postfix 2.10 system incoming mail is slow to process (about
15 seconds end to end), and I think it is mainly because DNS queries
are slowing things down.

The server runs local caching DNS BIND, so it's as quick as I can get
it on the slow Internet connection we are on.

At the moment it seems like every step along the inbound email process
is doing separate DNSBL lookups, and I'm wondering if this can be
streamlined.

Postscreen runs first and takes pretty much 6 seconds every time:

That is incorrect. The 6 seconds is only for clients that haven't
passed the pregreet test in the past 24 hours (the time is controlled
with the postscreen_greet_ttl parameter).

        Wietse

THanks Wietse - yes I noticed that after I sent the first email to list, and corrected myself with a follow-up.

I have to say that it is *very* cool seeing postscreen do its stuff... I've been using postfix for many years with postgrey, so this is a new direction for me.

Still interested to see if anyone can comment on my other questions though:

1. Would postscreen lose much effectiveness by taking some of the lookups out? - I think I can answer that one myself now that I know how fast postscreen is actually running, but if anyone can see any obvious problems with my combination of BLs please let me know (listed again at the end). I can't use the whitelist threshold (only on 2.10).

2. Is the reject_rbl_client zen.spamhaus.org doing anything when postscreen has already done a zen.spamhaus lookup? This one I am keen to hear thoughts on. I'll keep an eye on logs and see if anything that gets through postscreen's zen lookup gets kicked by this one.

3. Any other ways to speed it up, or should I accept the trade-off between speed and accuracy of result?



Postscreen is using (threshold 3):

        zen.spamhaus.org*3
        bl.mailspike.net*2
        b.barracudacentral.org*2
        bl.spameatingmonkey.net
        bl.spamcop.net
        dnsbl.sorbs.net
        hostkarma.junkemailfilter.com=127.0.0.2
        hostkarma.junkemailfilter.com=127.0.0.4
        hostkarma.junkemailfilter.com=127.0.1.2
        psbl.surriel.com
        swl.spamhaus.org*-4
        list.dnswl.org=127.0.[2..15].0*-2
        list.dnswl.org=127.0.[2..15].1*-3
        list.dnswl.org=127.0.[2..15].[2..3]*-4
        wl.mailspike.net=127.0.0.[17;18]*-1
        wl.mailspike.net=127.0.0.[19;20]*-2
        hostkarma.junkemailfilter.com=127.0.0.1*-1

--
Simon Wilson
M: 0400 12 11 16

Reply via email to