Hello List,

I want to force my users to authenticate using the SMTP auth even if they are sending emails from computers including in mynetwork range.

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


With that configuration, all emails are relayed through the mail even if i disable the auth in my email client, it pass through also even if i change the sender email address with every thing else in my mail client.

Do you have any idea that can help ?

Best 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

Reply via email to