Bouncing individual email addresses

Spicer, Kevin Kevin.Spicer at BMRB.CO.UK
Fri Aug 8 17:19:42 IST 2003


Nigel Haveron wrote:
> Is it possible in MailScanner to bounce singly addressed emails just
> for certain "To:" addresses with a "user not found", these are for
> people who have left but I am still getting large amounts of spam
> (over 50% is to these), as I am just using MailScanner/Sendmail as a
> relay I cannot use the address mapping features in Sendmail to say
> "no user". 

I do it using sendmail's access database, add lines like...

To:left.user at mydomain.com       REJECT

then do a 
makemap hash /etc/mail/access < /etc/mail/access



BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.




More information about the MailScanner mailing list