使用systemd重新启动Postfix而不丢弃连接

在CentOS7上,使用systemd或其他方式,有没有比重新启动postfix更好的方法:

sudo systemctl restart postfix 

上述不会破坏正在发生的任何活动邮件连接吗? 我正在寻找像Apache的优雅重启之类的东西,并想知道是否有可能,或者是否有必要。

对postfixconfiguration的很less更改需要完全重新启动。 在运行的时候让postfix重新加载它的configuration几乎总是足够的。

 systemctl reload postfix 

甚至手册页都提到了这一点。

  Note: in order to refresh the Postfix mail system after a con- figuration change, do not use the start and stop commands in succession. Use the reload command instead. 

即使邮件连接中断,当您必须重新启动邮件服务器,发送邮件服务器将稍后再试。