我试图configurationpostfix,它发送一个用TLSencryption的邮件给收件服务器。
我有什么:接收邮件encryption(其他服务器 – >我的服务器)和用户可以连接encryption到我的服务器。
服务器:Debian 7.2与后缀2.9.6
configuration线:
/etc/postfix/main.conf(相关代码行)
smtp_tls_security_level = may smtp_use_tls = yes smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
/ etc / postfix / tls_policy(仅用于testing,我希望它适用于所有域)
google.com encrypt .google.com encrypt gmail.com encrypt .gmail.com encrypt
我尝试了上面的一些组合,甚至直接把它放在master.conf中,但没有任何工作:
Dec 10 10:10:21 myserver postfix/smtp[7101]: 9019B4583500: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[173.194.70.26]:25, delay=0.96, delays=0.13/0.01/0.27/0.55, dsn=2.0.0, status=sent (250 2.0.0 OK 1386666621 u49si13392861eep.148 - gsmtp)
我究竟做错了什么?
您必须将smtp_tls_security_level设置smtp_tls_security_level none或“ may (您现在拥有的)以外的值。
请注意,还有很多其他因素会影响到这一点,您可能还需要设置其他值。 请参阅postfix'TLS自述文件。