/var/log/syslog 中的 Nullmailer

Flu*_*ffy 5 smtp 12.04

我收到很多这样的消息:

me@home:/etc/snmp$ tail /var/log/syslog
Jun 12 17:52:15 home nullmailer[1238]: Starting delivery: protocol: smtp host: mail. file: 1339502401.24665
Jun 12 17:52:15 home nullmailer[7086]: smtp: Failed: Connect failed
Jun 12 17:52:15 home nullmailer[1238]: Sending failed:  Host not found
Jun 12 17:52:15 home nullmailer[1238]: Starting delivery: protocol: smtp host: mail. file: 1339174804.27614
Jun 12 17:52:15 home nullmailer[7087]: smtp: Failed: Connect failed
Jun 12 17:52:15 home nullmailer[1238]: Sending failed:  Host not found
Jun 12 17:52:15 home nullmailer[1238]: Starting delivery: protocol: smtp host: mail. file: 1339324201.21737
Jun 12 17:52:15 home nullmailer[7088]: smtp: Failed: Connect failed
Jun 12 17:52:15 home nullmailer[1238]: Sending failed:  Host not found
Jun 12 17:52:15 home nullmailer[1238]: Delivery complete, 331 message(s) remain.
Run Code Online (Sandbox Code Playgroud)

问题是,我不记得发送任何东西。如何找出发送这些消息的软件?我如何阅读它们?

Mar*_*kHu 3

要查看队列中消息之一的内容,请尝试如下操作:(显然将数字文件名替换为系统日志中的实际文件名)

$ sudo cat /var/spool/nullmailer/queue/1347323616.6506
Run Code Online (Sandbox Code Playgroud)

sudo请注意,由于队列子目录和文件的权限,您必须使用其中之一或以 root 身份登录。