|
Prev: sendmail savemail panic results in no exit code for outbound email
Next: Sendmail SmartHost Alternative
From: mtumse on 23 Apr 2008 14:45 I need to stop accepting outbound emails (relaying through my mail server) from the local clients. In other words they should only be able to send mail to the company's domain that is local to the mail server. If I add my network (192.168.10) in the access database the clients get rejected right after the sender address: telnet mymailserver 25 220 mymailserver ESMTP Sendmail 8.11.7p3+Sun/8.11.7; Wed, 23 Apr 2008 mail from: asdf(a)asdf.com 550 5.7.1 Access denied
From: mtumse on 23 Apr 2008 17:04
OK I'm answering my own question here but hopefully this will benefit others that might search for this in the future. By default FEATURE(`relay_entire_domain') is included in the DOMAIN file on Solaris. If you remove this line even the local clients can't relay unless you allow specific domains that you'll relay to by adding them to /etc/mail/relay-domains Remember, relaying is not the same as accepting mail for the local domain. On Apr 23, 11:45 am, mtu...(a)aol.com wrote: > I need to stop accepting outbound emails (relaying through my mail > server) from the local clients. In other words they should only be > able to send mail to the company's domain that is local to the mail > server. > > If I add my network (192.168.10) in the access database the clients > get rejected right after the sender address: > > telnet mymailserver 25 > 220 mymailserver ESMTP Sendmail 8.11.7p3+Sun/8.11.7; Wed, 23 Apr 2008 > mail from: a...(a)asdf.com > 550 5.7.1 Access denied |