Blocking an individual email address

Dan Nelson dnelson at allantgroup.com
Wed Feb 15 08:13:17 PST 2006


In the last episode (Feb 15), James Csoka said:
> Okay...I think I answered part of my question.  /etc/mail/access only
> governs mail relaying.  Which would mean that of course, it wouldn't accept
> mail from that address, but would have no problem sending mail to it.

It covers local and outgoing delivery as well.  If you add

To:user at example.com	REJECT

then no-one will be able to send mail to that user from your site.  See
http://www.sendmail.org/m4/anti_spam.html#access_db_fine .

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list