如何更改Helo地址?


16

现在我的Helo地址=本地主机(helo = localhost)。将此设置为服务器的域名更好吗?如果是这样,我该如何更改?我正在运行Ubuntu 12.04和Postfix。谢谢。

Answers:


18

您可以在postfix配置文件中进行更改/etc/postfix/main.cf

螺旋线由smtpd_banner参数控制。它可能引用了该myhostname选项。将您的服务器名称放在此处,而不是localhost

myhostname = server.example.com
smtpd_banner = $myhostname

然后使用重新启动postfix sudo postfix reload

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.