Hi folks, I already read about sasl, postfix and other docs.

External sasl authentication works, I need force users to authentication
from localhost (i.e. CMS joomla and wordpress).

inside main.cf:

before:

mynetworks = 127.0.0.0/8, 192.168.1.0/24

after

#mynetworks = 127.0.0.0/8, 192.168.1.0/24

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous

commenting "mynetworks" does not work, so, also explicit put:

smtpd_recipient_restrictions =
        check_policy_service inet:127.0.0.1:10031
#        permit_mynetworks,
#        permit_inet_interfaces,
[...]

or also substitute permit_mynetworks with reject_mynetworks, users can
sends email from localhost

what's wrong?

thanks

Pol

Reply via email to