如何找出哪个服务正在发送电子邮件?

如何找出哪个服务正在发送电子邮件?

上周,我在我的 Ubuntu 18.04 服务器上安装了 Postfix(仅用于从服务器发送)。我还没有准备任何用于发送的服务,因为我想清除一些东西。在 /var/log/mail.log 中我看到很多记录,但我找不到哪个服务正在尝试发送电子邮件。

Dec  1 14:57:45 localhost postfix/qmgr[11433]: 5F1BB4122F: from=<[email protected]>, size=5664, nrcpt=1 (queue active)
Dec  1 14:57:45 localhost postfix/qmgr[11433]: 853C441246: from=<[email protected]>, size=11049, nrcpt=1 (queue active)
Dec  1 14:57:45 localhost postfix/smtp[20453]: connect to website.eu[127.0.1.1]:25: Connection refused
Dec  1 14:57:45 localhost postfix/smtp[20453]: 853C441246: to=<[email protected]>, orig_to=<root>, relay=none, delay=193627, delays=193627/0.01/0.11/0, dsn=4.4.1, status=deferred (
connect to website.eu[127.0.1.1]:25: Connection refused)
Dec  1 14:57:45 localhost postfix/smtp[20452]: connect to website.eu[127.0.1.1]:25: Connection refused
Dec  1 14:57:45 localhost postfix/smtp[20452]: 5F1BB4122F: to=<[email protected]>, orig_to=<root>, relay=none, delay=197858, delays=197858/0.02/0.18/0, dsn=4.4.1, status=deferred (
connect to website.eu[127.0.1.1]:25: Connection refused)
Dec  1 16:07:45 localhost postfix/qmgr[11433]: 5F1BB4122F: from=<[email protected]>, size=5664, nrcpt=1 (queue active)
Dec  1 16:07:45 localhost postfix/qmgr[11433]: 853C441246: from=<[email protected]>, size=11049, nrcpt=1 (queue active)
Dec  1 16:07:45 localhost postfix/smtp[20811]: connect to website.eu[127.0.1.1]:25: Connection refused
Dec  1 16:07:45 localhost postfix/smtp[20812]: connect to website.eu[127.0.1.1]:25: Connection refused
Dec  1 16:07:45 localhost postfix/smtp[20811]: 5F1BB4122F: to=<[email protected]>, orig_to=<root>, relay=none, delay=202058, delays=202058/0.02/0.03/0, dsn=4.4.1, status=deferred (
connect to website.eu[127.0.1.1]:25: Connection refused)
Dec  1 16:07:45 localhost postfix/smtp[20812]: 853C441246: to=<[email protected]>, orig_to=<root>, relay=none, delay=197827, delays=197827/0.02/0.03/0, dsn=4.4.1, status=deferred (
connect to website.eu[127.0.1.1]:25: Connection refused)

知道是什么原因造成的吗?我检查了 cron 作业,但它们没有在记录的时间启动。是否有任何设置可以进行更详细的日志记录?

相关内容