I've enabled the -v option on master.cf; but still my /var/log/maillog is almost empty. I'm having a problem i have my hard times debugging without any log.
I've enabled the -v option on master.cf; but still my /var/log/maillog is almost empty. I'm having a problem i have my hard times debugging without any log.
is your syslogd setup to log stuff to maillog? like following:
also make sure it's running
I had the same log problem on CentOS-7 with postfix but also with any logger command like: 'logger System testing my log'
Checking deeper, I found out that Rsyslogd was not listening anymore on /dev/log socket !!!! This can be checked with 'lsof /dev/log'
I fixed the problem, by forcing /dev/log in /etc/rsyslogd.conf.
-- after
$ModLoad imuxsock
-- add this next lineinput(type="imuxsock" HostName="localhost" Socket="/dev/log")
This will force usage of /dev/log, which after my last update was no more the default. This is probably a bug. I have the problem with rsyslog-7.4.7-7.el7_0.x86_64 or
The problem is that the default Centos 8 install no longer includes rsyslog. The configuration file (/etc/rsyslog.conf) is there, but not the program.
worked for me.
You can solve this issue with delete maillog file and restart rsyslog service:
source: http://forum.centos-webpanel.com/postfix/varlogmaillog-no-data-update-when-mail-incoming-and-outgoing/