Thank you Gary,

I tried to do that but i got an 'Relay Access Denied' error message.

Regards.

--
|-Rachid Abdelkhalak
|-Network Security Engineer, MTDS
|-in morocco 080200MTDS
|-direct +212(0)537278820
|-mobile +212(0)661173437
|-14, rue 16 novembre
|-Rabat 10080 Kingdom of Morocco

On Fri, 13 Aug 2010, Gary Smith wrote:



Here is a parts from my main.cf

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 10.78.0.0/16, 10.82.0.0/19, 127.0.0.0/32
relay_domains = $mydestination, $mydomain
relayhost = [192.168.10.2]
smtpd_sender_restrictions =
        permit_sasl_authenticated
        permit_mynetworks


mynetworks = 127.0.0.0/32

If you leave in your network range, you are saying they can send without 
authentication.  Permit_sasl_authenticated will fall through to permit_networks.


Reply via email to