这算是 Postfix 生成的垃圾邮件吗?

这算是 Postfix 生成的垃圾邮件吗?

我刚刚检查了我的电子邮件日志/var/log/mail.log

Apr 22 22:09:02 server2 postfix/pickup[14310]: D1FCF737C5B0B: uid=0 from=<root>
Apr 22 22:09:02 server2 postfix/cleanup[17071]: D1FCF737C5B0B: message-id=<[email protected]>
Apr 22 22:09:02 server2 postfix/qmgr[5168]: D1FCF737C5B0B: from=<[email protected]>, size=1007, nrcpt=1 (queue active)
Apr 22 22:09:02 server2 postfix/local[4179]: D1FCF737C5B0B: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.08, delays=0/0/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 22 22:09:02 server2 postfix/qmgr[5168]: D1FCF737C5B0B: removed
Apr 22 22:10:01 server2 postfix/pickup[14310]: 99D47737C5B18: uid=0 from=<root>
Apr 22 22:10:01 server2 postfix/cleanup[17071]: 99D47737C5B18: message-id=<[email protected]>
Apr 22 22:10:01 server2 postfix/qmgr[5168]: 99D47737C5B18: from=<[email protected]>, size=1007, nrcpt=1 (queue active)
Apr 22 22:10:01 server2 postfix/local[4179]: 99D47737C5B18: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.14, delays=0.02/0/0/0.12, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 22 22:10:01 server2 postfix/qmgr[5168]: 99D47737C5B18: removed
Apr 22 22:11:01 server2 postfix/pickup[14310]: B73FF737C5B17: uid=0 from=<root>
Apr 22 22:11:01 server2 postfix/cleanup[17071]: B73FF737C5B17: message-id=<[email protected]>
Apr 22 22:11:01 server2 postfix/qmgr[5168]: B73FF737C5B17: from=<[email protected]>, size=1007, nrcpt=1 (queue active)
Apr 22 22:11:01 server2 postfix/local[18224]: B73FF737C5B17: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.07, delays=0.01/0.02/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 22 22:11:01 server2 postfix/qmgr[5168]: B73FF737C5B17: removed
Apr 22 22:11:04 server2 postfix/smtpd[18233]: connect from a0-10.smtp-out.eu-west-1.amazonses.com[54.240.0.10]
Apr 22 22:11:04 server2 postfix/smtpd[18233]: NOQUEUE: reject: RCPT from a0-10.smtp-out.eu-west-1.amazonses.com[54.240.0.10]: 454 4.7.1 <[email protected]>: Relay access denied; from=<20160422104811b2c07451cbfc4253829673647cf0p0eu-C30TW32XKSM7YZ@bounces.amazon.co.uk> to=<[email protected]> proto=ESMTP helo=<a0-10.smtp-out.eu-west-1.amazonses.com>
Apr 22 22:11:28 server2 postfix/smtpd[18233]: disconnect from a0-10.smtp-out.eu-west-1.amazonses.com[54.240.0.10]
Apr 22 22:12:02 server2 postfix/pickup[14310]: 6BC9A737C5AF6: uid=0 from=<root>
Apr 22 22:12:02 server2 postfix/cleanup[17071]: 6BC9A737C5AF6: message-id=<[email protected]>
Apr 22 22:12:02 server2 postfix/qmgr[5168]: 6BC9A737C5AF6: from=<[email protected]>, size=1007, nrcpt=1 (queue active)
Apr 22 22:12:02 server2 postfix/local[18224]: 6BC9A737C5AF6: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.05, delays=0.01/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 22 22:12:02 server2 postfix/qmgr[5168]: 6BC9A737C5AF6: removed
Apr 22 22:13:01 server2 postfix/pickup[14310]: D2079737C5B1A: uid=0 from=<root>
Apr 22 22:13:01 server2 postfix/cleanup[17071]: D2079737C5B1A: message-id=<[email protected]>
Apr 22 22:13:01 server2 postfix/qmgr[5168]: D2079737C5B1A: from=<[email protected]>, size=1007, nrcpt=1 (queue active)
Apr 22 22:13:01 server2 postfix/local[18224]: D2079737C5B1A: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.05, delays=0.01/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 22 22:13:01 server2 postfix/qmgr[5168]: D2079737C5B1A: removed
Apr 22 22:14:02 server2 postfix/pickup[14310]: 4979F737C5AF7: uid=0 from=<root>
Apr 22 22:14:02 server2 postfix/cleanup[17071]: 4979F737C5AF7: message-id=<[email protected]>
Apr 22 22:14:02 server2 postfix/qmgr[5168]: 4979F737C5AF7: from=<[email protected]>, size=1007, nrcpt=1 (queue active)
Apr 22 22:14:02 server2 postfix/local[18224]: 4979F737C5AF7: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.05, delays=0.01/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Apr 22 22:14:02 server2 postfix/qmgr[5168]: 4979F737C5AF7: removed

安装操作系统后,我将VPS 的server2.domain.com 主机名设置为server2.dollarhosting.com

我很难理解这个日志文件,所以如果有人能给我一个关于以下新手问题的清晰解释,我将不胜感激:

1:既然我已经将主机名设置为server2.dollarhosting.com,为什么在日志文件中我仍然看到一些包含的行server2.domain.com?这是否表示某些 VPS 配置不正确?(我使用自动安装脚本安装了 virtualmin)。

root2:我看到很多来自的电子邮件root,这是否意味着服务器将这些电子邮件发送到服务器外部,然后这些电子邮件又返回到服务器?这对我来说很重要,因为我需要控制外发电子邮件的数量。

3:这些电子邮件(从 root 到 root)对我来说真的毫无用处。为什么它们会自动生成?有没有办法阻止这种行为?我应该这样做吗?或者阻止它是否会影响其他用户的邮件传递?

4:是/var/log/mail.log系统中唯一的邮件日志文件(我希望是的,因为我需要严格控制/监视服务器的电子邮件活动)。

非常感谢您的帮助!

答案1

您有几条本地生成并发送的消息,您应该阅读这些消息,并且(如果您不想在此服务器上阅读这些消息)应该转发到某个地方。一旦您知道这些消息是什么,您就可以采取任何适当的行动。

最有可能的是,这些消息是由一个仍然认为旧主机名有效的进程生成或处理的,即,自从更改主机名以来,它还没有重新启动,因此旧主机名会显示在消息 ID 中。重新启动计算机即可解决此问题。

你有尝试通过 Amazon SES 传递的消息,但被拒绝,大概是因为您的邮件程序没有使用正确的凭据登录。

最后,既然您说您安装了 virtualmin,您可能应该清除整个内容并重新开始不包含此类软件的全新安装。

根据给出的信息不可能进一步说什么。

相关内容