从 root 更改电子邮件的发件人地址

发布于 2024-08-03 06:41:02 字数 169 浏览 5 评论 0原文

当我们收到来自 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

花想c 2024-08-10 06:41:02

使用的名称是密码数据库中 root 的“全名”。使用 chfn 更改它:

chfn -f "root at foo.bar" root

The name used is root's "full name" from the password database. Change it with chfn:

chfn -f "root at foo.bar" root
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文