Viren Patel
2022-03-15 22:22:05 UTC
Hello. I have a very strange issue. I have two CentOS 7 systems
$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
with same version of Postfix
$ sudo yum list installed | grep -i postfix
postfix.x86_64 2:2.10.1-9.el7 @base
configured identically on both (except IP/hostname etc.) One one system the maillog only has timestamps:
$ cat /var/log/maillog
2022-03-Mar 15 15:24:572022-03-Mar 15 15:24:572022-03-Mar 15 15:35:352022-03-Mar 15 15:35:352022-03-Mar 15 15:35:352022-03-Mar 15 15:35:362022-03-Mar 15 15:35:362022-03-Mar 15 15:40:022022-03-Mar 15 15:40:022022-03-Mar 15 15:40:022022-03-Mar 15 15:40:022022-03-Mar 15
...
On the other system:
$ cat /var/log/maillog
2022-03-13 03:06:02 host postfix/pickup[18097]:82A708024407: uid=0 from=<root>
2022-03-13 03:06:02 host postfix/cleanup[26039]:82A708024407: message-id=<***@fqdn>
2022-03-13 03:06:02 host postfix/qmgr[3004]:82A708024407: from=<***@fqdn>, size=505, nrcpt=1 (queue active)
2022-03-13 03:06:02 host postfix/local[26042]:82A708024407: to=<***@fqdn>, orig_to=<root>, relay=local, delay=0.03, delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
...
I have checked main.cf, master.cf, rsyslog.conf, /etc/rsyslog.d/*, /etc/systemd/journald.conf
All are exactly the same. MD5 checksums of the postfix binaries match exactly on both systems. Restarted Postfix and also rebooted the first system but the issue remains. System has been scanned for malware/rootkits/etc. and nothing found.
I am at a loss as to why the first system does not log full mail messages, only timestamps. Any ideas? Thanks.
Viren
$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
with same version of Postfix
$ sudo yum list installed | grep -i postfix
postfix.x86_64 2:2.10.1-9.el7 @base
configured identically on both (except IP/hostname etc.) One one system the maillog only has timestamps:
$ cat /var/log/maillog
2022-03-Mar 15 15:24:572022-03-Mar 15 15:24:572022-03-Mar 15 15:35:352022-03-Mar 15 15:35:352022-03-Mar 15 15:35:352022-03-Mar 15 15:35:362022-03-Mar 15 15:35:362022-03-Mar 15 15:40:022022-03-Mar 15 15:40:022022-03-Mar 15 15:40:022022-03-Mar 15 15:40:022022-03-Mar 15
...
On the other system:
$ cat /var/log/maillog
2022-03-13 03:06:02 host postfix/pickup[18097]:82A708024407: uid=0 from=<root>
2022-03-13 03:06:02 host postfix/cleanup[26039]:82A708024407: message-id=<***@fqdn>
2022-03-13 03:06:02 host postfix/qmgr[3004]:82A708024407: from=<***@fqdn>, size=505, nrcpt=1 (queue active)
2022-03-13 03:06:02 host postfix/local[26042]:82A708024407: to=<***@fqdn>, orig_to=<root>, relay=local, delay=0.03, delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
...
I have checked main.cf, master.cf, rsyslog.conf, /etc/rsyslog.d/*, /etc/systemd/journald.conf
All are exactly the same. MD5 checksums of the postfix binaries match exactly on both systems. Restarted Postfix and also rebooted the first system but the issue remains. System has been scanned for malware/rootkits/etc. and nothing found.
I am at a loss as to why the first system does not log full mail messages, only timestamps. Any ideas? Thanks.
Viren