Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

is your syslogd setup to log stuff to maillog? like following:

[alexus@wcmisdlin02 ~]$ grep ^mail /etc/rsyslog.conf 
mail.*                                                  -/var/log/maillog
[alexus@wcmisdlin02 ~]$ 

also make sure it's running

[alexus@wcmisdlin02 ~]$ sudo service rsyslog status
rsyslogd (pid  1356) is running...
[alexus@wcmisdlin02 ~]$ 
share|improve this answer

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 input(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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.