Topic: sendmail - block specific outgoing domains

Hi Everyone,

I'm wondering if anyone can tell me how in sendmail to block mail from going out to specific domains?

The server is a webserver (doesn't receive mail at all), BSD 7.1 and I wouldn't mind avoiding it trying to send e-mail to test.com and example.com

Basically trying to avoid these:

n08Ljkcf062569    11531 Thu Jan  8 16:45 <www@w1.myserver.com>
                 (Deferred: Connection refused by test.com.)
                                         <megp@test.com>

Re: sendmail - block specific outgoing domains

sorry, I know nothing about sendmail

"UBER" means I don't drink the coffee... I chew the beans instead
             -- Copyright BSDnexus

Re: sendmail - block specific outgoing domains

http://www.sendmail.org/m4/anti_spam.html#access_db

Re: sendmail - block specific outgoing domains

If you want to stop all outbound mail then add sendmail_enable="no" to your /etc/rc.conf file. Sendmail will only listen on the local interface for local mail.