这改变了标题中的“From:”,但“Sender:”仍然是“root@ip-xx-xx-xx-xx.domain”
EC2 Linux AMI测试版,
Postfix是邮件程序
在/usr/share/logwatch/default.conf/logwatch.conf中向sendmail添加“-f user”选项无效.
在/usr/share/logwatch/default.conf/logwatch.conf之后输出logwatch.pl进程/usr/share/logwatch/dist.conf/logwatch.conf.
编辑或删除/usr/share/logwatch/dist.conf/logwatch.conf中的MailFrom = root覆盖以使其正常工作.
总结以上是内存溢出为你收集整理的linux – 如何更改Logwatch电子邮件标题中的“sender:”字段全部内容,希望文章能够帮你解决linux – 如何更改Logwatch电子邮件标题中的“sender:”字段所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)