- 论坛徽章:
- 0
|
原来配置的POSTFIX一直用的没问题,可是突然从昨天开始出现外网用户使用Outlook通过ssl发送邮件时在认证的时候总是过不去,如果去掉TSL认证就会出现 450 Client host rejected: cannot find your hostname 的错误。一下是我的main.cf请各位高手帮帮忙。
content_filter = smtp-amavis:[127.0.0.1]:10024
myhostname = ****.**.com
recipient_delimiter =
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = yes
smtpd_use_tls = yes
disable_dns_lookups = no
message_size_limit = 10240000
relayhost =
permitted_senders_list = check_sender_access hash:/opt/zimbra/postfix/conf/permitted_senders, reject
smtpd_restriction_classes = permitted_senders_list
smtpd_recipient_restrictions = check_sender_access hash:/opt/zimbra/postfix/conf/black_list, hash:/opt/zimbra/postfix/conf/protected_recipients, reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, reject_unknown_client, reject_unauth_destination, permit
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /opt/zimbra/postfix-2.2.9/sbin
daemon_directory = /opt/zimbra/postfix-2.2.9/libexec
header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
mailq_path = /opt/zimbra/postfix-2.2.9/sbin/mailq
manpage_directory = /opt/zimbra/postfix-2.2.9/man
newaliases_path = /opt/zimbra/postfix-2.2.9/sbin/newaliases
queue_directory = /opt/zimbra/postfix-2.2.9/spool
sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
sendmail_path = /opt/zimbra/postfix-2.2.9/sbin/sendmail
smtpd_client_restrictions = reject_unauth_pipelining
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
smtpd_tls_loglevel = 3
transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
version = 2.2.9
virtual_alias_domains = ldap://opt/zimbra/conf/ldap-vad.cf
virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
virtual_transport = error
maximal_queue_lifetime = 12h
mynetworks = 127.0.0.0/8, 192.168.0.0/24, 192.168.100.0/24, 10.7.32.0/24, 10.7.33.0/24, 10.7.200.0/24, 202.69.19.105, 202.106.69.52, 202.106.69.53, 202.106.69.59, 192.1.2.61, 202.4.254.197, 219.141.237.85, 125.35.4.85, 202.99.22.130, 211.143.170.71, 211.143.170.82, 61.50.146.1, 61.135.132.0/24, 61.135.145.0/24, 203.128.83.89, 203.184.141.229, 220.181.19.112, 220.181.26.192/26, 210.75.220.11, 219.142.60.11, 218.244.235.164, 159.226.50.47, 202.108.145.7, 61.133.4.101, 61.133.4.102, 218.78.213.85, 61.172.244.6, 58.251.33.195, 202.131.146.227, 219.141.230.18, 61.50.146.1, 221.11.5.71, 210.24.157.10, 202.103.168.8, 61.144.241.188, 202.106.95.69, 219.239.236.195, 202.99.27.8, 61.185.220.6, 221.214.14.164, 221.214.14.165, 61.135.232.161, 203.174.45.44, 203.174.45.43, 210.22.84.3, 210.22.70.3, 203.124.9.11, 203.124.9.12, 202.108.117.69, 202.96.176.246, 221.4.136.146, 211.94.148.110, 159.226.50.36, 219.141.230.2, 202.100.110.36, 202.100.110.41, 210.176.229.119, 210.176.229.120, 210.72.28.56, 202.108.145.47, 202.108.145.36, 219.143.213.7, 218.249.172.14, 116.0.26.42, 116.0.26.43, 211.143.170.84, 211.143.170.71, 60.10.1.180, 211.167.82.72, 210.74.35.69, 210.82.119.69, 61.129.99.214, 210.82.82.41, 58.251.33.196, 58.251.33.198, 202.99.20.243, 219.142.23.182, 203.86.32.26, 203.86.41.187, 202.117.128.6, 221.11.5.71, 210.74.156.181, 123.127.203.197, 123.127.203.196, 202.202.22.22
bounce_queue_lifetime = 12h
smtpd_reject_unlisted_recipient = no |
|