邮件发件人地址未在 Debian 中更新

Mail sender address is not getting updated in Debian

我正在尝试发送电子邮件,但我总是收到错误的发件人电子邮件地址。

发件人地址应该是“xyz@company.com”,但它却是“xyz@guid”。 =18=]

OS 详情:

目前尝试的命令:

echo "Hello there" | mail -s "Test Mail" -r sender@company.com mail-to@receiver@company.com

echo "Hello there" | mail -s "Test Mail" -r mail-from@sender@company.com mail-to@receiver@company.com

echo "Hello there" | mail -s "Test Mail" -r 'First Last sender@company.com' receiver@company.com

echo "Hello there" | mail -s "Test Mail" -aFrom:'First Last sender@company.com' receiver@company.com

echo "Hello there" | mail -s "Test Mail" receiver@company.com -aFrom:sender@company.com

echo "Hello there" | mail -s "Test Mail" -aFrom:IROL-Admin<sender@company.com> receiver@company.com

我使用下面的 SSMTP.Conf

root=sender@company.com
mailhub=mailhost.company.com:25
FromLineOverride=YES