microshupi 发表于 2011-8-29 17:19:56

postfix设置发送邮件强制认证无效

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $mydomain
#smtpd_client_restrictions = permit_sasl_authenticated
smtpd_reject_unlisted_sender = yes

smtpd_sender_login_maps =
mysql:/etc/postfix/mysql/virtual_alias_maps.cf
mysql:/etc/postfix/mysql/virtual_sender_maps.cf

#smtpd_sender_restrictions =
# reject_sender_login_mismatch,
# reject_authenticated_sender_login_mismatch,
# reject_unauthenticated_sender_login_mismatch,
# reject_non_fqdn_sender reject_unknown_sender_domain,

smtpd_recipient_restrictions =
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch,
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
#permit_mynetworks
#permit_sasl_authenticated
#reject_unauth_destination
permit


上面红色的部分不就是强制用户认证后才能够发信的么,为什么这样设置没有作用呢
页: [1]
查看完整版本: postfix设置发送邮件强制认证无效