我正在 IPv6 网络上使用 STARTTLS(客户端证书)配置 sendmail。当我的客户端尝试发送邮件时,我收到了以下消息。
客户端 :
Sending of the message failed.
The message could not be sent because the connection to Outgoing server (SMTP) example.com timed out. Try again.
服务器端 :
Jul 31 00:44:41 hostname sm-mta[16562] : u6Vh1c016562: [IPv6:2001:???:????::?] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA6-TLS
以下是相关配置(sendmail.mc)
DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MTA6-TLS, Port=smtps, M=aO)dnl
inlcude(`/etc/mail/tls/starttls.m4')dnl
编辑starttls.m4的相关目录设置,并给予适当的权限
confCACERT
confCACERT_PATH
confSERVER_CERT
confSERVER_KEY
confCLIENT_CERT
confCLIENT_KEY
我有 smtp 服务器的 MX 记录,例如
IN MX 10 server.example.com
我可以得到一份指南吗?
问候。