Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

192.168.1.41:8000, Www.xxxcon., %s wwwxxxcon, %s wwwxxxcon, www.xxxcon, xxxxdup, bitlord outgoing port settings, ckowwwxxx, 192.168.1.41:8000/nor-482.html, php.ini "Unable to initialize module"

Links

XODOX
Impressum

#1: How to deny relay from "local network"?

Posted on 2008-04-23 20:45:00 by mtumse

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@asdf.com
550 5.7.1 Access denied

Report this message

#2: Re: How to deny relay from "local network"?

Posted on 2008-04-23 23:04:25 by mtumse

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...@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...@asdf.com
> 550 5.7.1 Access denied

Report this message