How to disable a mail to a user before scanning

Timothy M. Lyons lyons at DIGITALVOODOO.ORG
Wed Jul 9 03:22:25 IST 2003


If you use "FEATURE(`blacklist_recipients')" in your "sendmail.mc macro
configuration then you can add entries to the access.db map for local users,
hosts in your domains, or addresses in your domain which should not receive
mail:

 badlocaluser            550 Mailbox disabled for this username
 host.mydomain.com       550 That host does not accept mail
 user at otherhost.mydomain.com     550 Mailbox disabled for this recipient

This would prevent a recipient of badlocaluser at mydomain.com, any user at
host.mydomain.com, and the single address user at otherhost.mydomain.com from
receiving mail.

Hope that helps!

--Tim

---
Timothy M. Lyons, CISSP
lyons at digitalvoodoo.org


--
This message has been scanned for viruses and
dangerous content and is believed to be clean.
--



More information about the MailScanner mailing list