Little OT: Block Domain with Sendmail

Matt Miller mmiller1 at MPTOTALCARE.COM
Tue May 7 20:34:34 IST 2002


On Tue, 2002-05-07 at 15:28, Steve Evans wrote:
> I'm trying to block an entire domain using the /etc/mail/access file.  I
> can block a certain e-mail address (user at domain.com) but how do I block
> an entire domain?  (*@domain.com)  Using a * for the user doesn't seem
> to work.
>
> Steve Evans
> Computing Services
> SDSU Foundation
> 619 594-0653

How about just:
domain.com      REJECT

Then:
makemap hash /etc/mail/access < /etc/mail/access

Matt



More information about the MailScanner mailing list