REJECT RBL at MTA level

Randal, Phil prandal at herefordshire.gov.uk
Wed Feb 4 11:42:21 GMT 2009


In /etc/mail/sendmail.mc, do something like
 
FEATURE(`enhdnsbl', `bl.spamcop.net',`"554 Rejected " $&{client_addr} "
found in bl.spamcop.net - http://spamcop.net/bl.shtml?"$&{client_addr}',
`t')dnl
 
FEATURE(`enhdnsbl',`cbl.abuseat.org',`"554 Rejected " $&{client_addr} "
found in cbl.abuseat.org - http://cbl.abuseat.org/lookup.cgi?ip="
$&{client_addr}',`t'\)dnl
 
(or use zen.spamhaus.org)
 
Then make -C /etc/mail
 
Cheers,
 
Phil

-- 
Phil Randal | Networks Engineer 
Herefordshire Council | Deputy Chief Executive's Office | I.C.T.
Services Division 
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT 
Tel: 01432 260160 
email: prandal at herefordshire.gov.uk 

Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.

 

________________________________

From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Paul
Simpkin
Sent: 04 February 2009 11:27
To: mailscanner at lists.mailscanner.info
Subject: REJECT RBL at MTA level



Hi,

 

Could someone point me the right way to finding how I can REJECT RBL's
at MTA level, so that Mailscanner does not process the mail. 

 

I have a lot of UK ADSL connections trying to send mail all day long. 

 

 

Thanks 

 

Paul

 

PS. Running:

 

Mailscanner       4.71.10

Sendmail - CentOS 5.2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090204/2dd72bd3/attachment.html


More information about the MailScanner mailing list