开发者社区> 问答> 正文

为什么postfix配置了ssl证书还是会使用25端口发送邮件

main.cf配置
692 smtpd_use_tls = yes
693 smtpd_tls_cert_file = /etc/pki/tls/certs/server.crt
694 smtpd_tls_key_file = /etc/pki/tls/certs/server.key
695 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
696 smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
697 smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
698 smtpd_tls_protocols=!SSLv2,!SSLv3
699 smtpd_tls_mandatory_ciphers = medium
700 tls_medium_cipherlist = AES128+EECDH:AES128+EDH
701 smtpd_tls_loglevel = 2
702 smtpd_tls_auth_only = yes
703 smtp_tls_security_level = may

master.cf配置
26 smtps inet n - n - - smtpd
27 -o syslog_name=postfix/smtps
28 -o smtpd_tls_wrappermode=yes

运行日志
Apr 29 10:44:16 ECS1 postfix/qmgr[15543]: 44BE1208C4: from=gxyy@gxyy96.cn, size=4890, nrcpt=1 (queue active)
Apr 29 10:44:22 ECS1 dovecot[15499]: imap-login: Disconnected (no auth attempts in 3 secs): user=<>, rip=196.52.43.131, lip=172.26.168.186, TLS handshaking: Disco
Apr 29 10:44:46 ECS1 postfix/smtp[16824]: connect to mx3.qq.com[58.251.110.111]:25: Connection timed out
Apr 29 10:45:17 ECS1 postfix/smtp[16824]: connect to mx2.qq.com[157.255.173.201]:25: Connection timed out
Apr 29 10:45:47 ECS1 postfix/smtp[16824]: connect to mx1.qq.com[113.96.208.206]:25: Connection timed out
Apr 29 10:45:47 ECS1 postfix/smtp[16824]: 44BE1208C4: to=1146205681@qq.com, relay=none, delay=3071, delays=2981/0.02/90/0, dsn=4.4.1, status=deferred (connect t

遇到了同样的问题,在CSDN看到了,希望阿里云团队能够给出正确、标准的答案~请查看

展开
收起
刘刚_ 2020-05-20 18:25:12 2640 0
1 条回答
写回答
取消 提交回答
  • 你好,已将问题转给阿里云goc团队,敬请期待

    2020-05-20 19:09:31
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载