- 论坛徽章:
- 1
|
还没解决?
看这里:- #####iceblood postfix setup sasl2 setting#####
- #
- # Check sender
- #
- smtpd_sender_restrictions =
- permit_mynetworks,
- check_sender_access hash:/etc/postfix/hash_db/sender_access,
- reject_authenticated_sender_login_mismatch,
- reject_sender_login_mismatch
- smtpd_sender_login_maps = ldap:/etc/postfix/ldapconf/ldap_login_maps.cf mysql:/etc/postfix/mysqlconf/mysql_login_maps.cf
- broken_sasl_auth_clients = yes
- smtpd_recipient_restrictions =
- permit_mynetworks,
- reject_non_fqdn_sender,
- reject_non_fqdn_recipient,
- reject_unknown_recipient_domain,
- reject_unlisted_sender,
- check_recipient_access hash:/etc/postfix/hash_db/to_address_access,
- permit_sasl_authenticated,
- reject_invalid_hostname,
- reject_unauth_pipelining,
- reject_unauth_destination,
- check_client_access hash:/etc/postfix/hash_db/remote_ip_access,
- reject_unknown_sender_domain,
- permit_auth_destination,
- reject
- # reject_non_fqdn_hostname,
- # reject_unknown_hostname,
- # reject_rbl_client cblless.anti-spam.org.cn,
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_sasl_local_domain = $mydomain
- smtpd_sasl_security_options = noanonymous
复制代码 |
|