I have configured the smtpd_sender_restrictions = reject_sender_login_mismatch,reject_authenticated_sender_login_mismatch,reject_unauthenticated_sender_login_mismatch

Still without authentication it is able to accept mails....what is wrong in my configuration i have provided the result of postconf -n

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sender_login_maps = ldap:ldapsource
smtpd_sender_restrictions = reject_sender_login_mismatch,reject_authenticated_sender_login_mismatch,reject_unauthenticated_sender_login_mismatch
unknown_local_recipient_reject_code = 550



mouss wrote:
R Pradeepa wrote:
Dear All

How to blocks mails in postfix when the valid user sents mail without password.

I have enable SASL in postfix, it checks when the wrong password is provided. But when the mail is sent without password, postfix accepts the mails and delivers it.

you may want to take a look at:

http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps
http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch
http://www.postfix.org/postconf.5.html#reject_unauthenticated_sender_login_mismatch
http://www.postfix.org/postconf.5.html#reject_authenticated_sender_login_mismatch


Reply via email to