Email

這是否被視為後綴生成的垃圾郵件?

  • April 23, 2016

我剛剛檢查了我的電子郵件日誌/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=<20160423020902.D1FCF737C5B0B@server2.domain.com>
Apr 22 22:09:02 server2 postfix/qmgr[5168]: D1FCF737C5B0B: from=<root@server2.dollarhosting.com>, size=1007, nrcpt=1 (queue active)
Apr 22 22:09:02 server2 postfix/local[4179]: D1FCF737C5B0B: to=<root@server2.dollarhosting.com>, 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=<20160423021001.99D47737C5B18@server2.domain.com>
Apr 22 22:10:01 server2 postfix/qmgr[5168]: 99D47737C5B18: from=<root@server2.dollarhosting.com>, size=1007, nrcpt=1 (queue active)
Apr 22 22:10:01 server2 postfix/local[4179]: 99D47737C5B18: to=<root@server2.dollarhosting.com>, 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=<20160423021101.B73FF737C5B17@server2.domain.com>
Apr 22 22:11:01 server2 postfix/qmgr[5168]: B73FF737C5B17: from=<root@server2.dollarhosting.com>, size=1007, nrcpt=1 (queue active)
Apr 22 22:11:01 server2 postfix/local[18224]: B73FF737C5B17: to=<root@server2.dollarhosting.com>, 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 <admin@zohan.com>: Relay access denied; from=<20160422104811b2c07451cbfc4253829673647cf0p0eu-C30TW32XKSM7YZ@bounces.amazon.co.uk> to=<admin@zohan.com> 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=<20160423021202.6BC9A737C5AF6@server2.domain.com>
Apr 22 22:12:02 server2 postfix/qmgr[5168]: 6BC9A737C5AF6: from=<root@server2.dollarhosting.com>, size=1007, nrcpt=1 (queue active)
Apr 22 22:12:02 server2 postfix/local[18224]: 6BC9A737C5AF6: to=<root@server2.dollarhosting.com>, 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=<20160423021301.D2079737C5B1A@server2.domain.com>
Apr 22 22:13:01 server2 postfix/qmgr[5168]: D2079737C5B1A: from=<root@server2.dollarhosting.com>, size=1007, nrcpt=1 (queue active)
Apr 22 22:13:01 server2 postfix/local[18224]: D2079737C5B1A: to=<root@server2.dollarhosting.com>, 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=<20160423021402.4979F737C5AF7@server2.domain.com>
Apr 22 22:14:02 server2 postfix/qmgr[5168]: 4979F737C5AF7: from=<root@server2.dollarhosting.com>, size=1007, nrcpt=1 (queue active)
Apr 22 22:14:02 server2 postfix/local[18224]: 4979F737C5AF7: to=<root@server2.dollarhosting.com>, 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)。

2:我看到很多來自rootto的電子郵件root,這是否意味著伺服器將這些電子郵件發送到伺服器外部,然後這些電子郵件又回到伺服器?這對我很重要,因為我需要控制外發電子郵件的數量。

3:那些電子郵件(從根到根)對我來說真的一點用處都沒有。為什麼它們會自動生成?無論如何要停止這種行為,我應該這樣做,還是停止它會影響其他使用者的郵件傳遞?

4:是/var/log/mail.log系統中唯一的郵件日誌文件(我希望是的,因為我需要嚴格控制/監視伺服器的電子郵件活動)。

非常感謝您的幫助!

您有幾條本地生成和傳遞的消息,您應該閱讀這些消息,並且(如果您真的不想在此伺服器上閱讀它們)您應該轉發到某個地方。一旦您知道這些消息是什麼,您就可以採取任何適當的措施。

這些消息很可能是由仍然認為舊主機名有效的程序生成或處理的,即自從更改主機名後它沒有重新啟動,因此舊主機名顯示在消息 ID 中。重新啟動電腦以解決此問題。

您有一封嘗試通過 Amazon SES 傳遞的郵件,但被拒絕,可能是因為您的郵件發送者沒有使用正確的憑據登錄。

最後,既然你說你安裝了 virtualmin,你可能應該擦掉整個東西,然後重新安裝一個不包含此類軟體的全新安裝。

根據所提供的資訊,不可能再多說什麼。

引用自:https://serverfault.com/questions/772385