mailscanner in ISP

Greg Matthews gmatt at
Tue Sep 2 09:29:30 IST 2008

R Wahyudi wrote:
> your security product.  You can view the rough example here : 

hey thats a pretty good example of making good use of the mailwatch 
database. That script could quite easily be adapted to sendmail too. 
Just print the correct foo to /etc/mail/access and a call to makemap.


print FILE "connect:$ip  ERROR:$reject_message"

where $reject_message is the optional text which could also include your 
preferred DSN code.



Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford

This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

More information about the MailScanner mailing list