Hi everyone!

I want to allow sasl authentification only from specific networks.
I've added smtpd_sasl_exceptions_networks option:

smtpd_sasl_exceptions_networks = !10.0.0.0/8,
                                 !192.168.0.0/16,
                                 static:all

Looks like everything is fine, EHLO doesn't show AUTH for alien networks:

250-example.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

BUT I still can use AUTH LOGIN from any IP I want!
Am I doing something wrong or have I forgot to add something?

Oleg

P.S. Postfix version 2.6.6

Reply via email to