孤星夜月 2020-04-29 10:50 采纳率: 33.3%
浏览 1112

为什么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

  • 写回答

4条回答 默认 最新

  • Imperfect. 2020-04-29 17:49
    关注

    好像都遇到一样问题,我直接etc/services 把25端口改成465才能收到邮件,但是还是发不到

    评论

报告相同问题?

悬赏问题

  • ¥15 51单片机中C语言怎么做到下面类似的功能的函数(相关搜索:c语言)
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程