Moving black hole test to Postfix

Gareth list-mailscanner at linguaphone.com
Mon Apr 7 08:57:50 IST 2008


Thats exactly the same configuration I have :)
Make sure you really do need 'reject_rbl_client autoblock.dnsbl' as that
is what I use to reject mail based upon my mailwatch2rbl program.

On Mon, 2008-04-07 at 00:49, steinmb wrote:
> Hi
> Have been thinking about moving some of the blackhole testing to Postfix
> (SMTP level). In my head this is cheaper? My mail server is old so less
> scanning Mailscanner have to do the better.
> 
> In /etc/postfix I changed smtpd_recipient_restrictions to:
> 
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, reject_unauth_destination,
> reject_unknown_recipient_domain, reject_unverified_recip
> ient, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net,
> reject_rbl_client autoblock.dnsbl
> 
> Now what? Do I remove those I run on SMTP level from my
> /etc/Mailscanner/spam.lists.conf ? Doing those checks twice makes no sense.
> In spam.lists.conf I find lines like:
> 
> spamhaus.org                    sbl.spamhaus.org.
> spamhaus-XBL                    xbl.spamhaus.org.
> spamhaus-PBL                    pbl.spamhaus.org.
> spamhaus-ZEN                    zen.spamhaus.org.
> SBL+XBL                         sbl-xbl.spamhaus.org.
> 
> --
> Stein



More information about the MailScanner mailing list