从 root 更改电子邮件的发件人地址
当我们收到来自 cron 作业等的电子邮件时,它们往往有一个发件人地址,例如“root”。不幸的是,在 Outlook 中,这只显示为“root”,这使得区分来自不同计算机的非常相似的电子邮件变得非常棘手。
如何更改这些电子邮件的发件人地址,使其类似于“foo.bar.example.com root ”?
When we get sent emails from cron jobs etc., they tend to have a From address like "root ". Unfortunately, in Outlook, this only shows up as "root", which makes distinguishing between very similar emails from different machines quite tricky.
How can I change the From address on these emails so it's something like "foo.bar.example.com root "?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用的名称是密码数据库中 root 的“全名”。使用
chfn
更改它:The name used is root's "full name" from the password database. Change it with
chfn
: