1 (edited by selea 2017-08-16 19:43:29)

Topic: postfix, amavisd, opendmarc is not logging into mail.log after update

==== Required information ====
- iRedMail version : 0.9.7
- Linux/BSD distribution name and version: Ubuntu 14.04.5
- Store mail accounts in which backend : MySQL
- Web server : Apache
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

After upgrading from 0.9.5-1 to 0.9.7, the logging seems to have stopped working for postfix, amavis, opendmarc. It does not show up in syslog either.

Aug 16 13:26:56 hashmal rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="1107" x-info="http://www.rsyslog.com"] exiting on signal 15.
Aug 16 13:26:56 hashmal rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="2931" x-info="http://www.rsyslog.com"] start
Aug 16 13:26:56 hashmal rsyslogd-2307: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]
Aug 16 13:26:56 hashmal rsyslogd: rsyslogd's groupid changed to 104
Aug 16 13:26:56 hashmal rsyslogd: rsyslogd's userid changed to 101
Aug 16 13:26:56 hashmal rsyslogd-2039: Could no open output pipe '/dev/xconsole': No such file or directory [try http://www.rsyslog.com/e/2039 ]

Obiously, the file/catalogue  /dev/xconsole is missing, I cant remember have seen that warning before. Have something changed regarding the logging between version 0.9.5-1 and 0.9.7? I can't find anything in the documentation that tells that.

Rebooting the server does not solve it, also restarting the individual services does not.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: postfix, amavisd, opendmarc is not logging into mail.log after update

selea wrote:

Aug 16 13:26:56 hashmal rsyslogd-2039: Could no open output pipe '/dev/xconsole': No such file or directory [try http://www.rsyslog.com/e/2039 ]

Open /etc/rsyslog.conf, comment out few lines related to /dev/xconsole, then restart rsyslog.

3

Re: postfix, amavisd, opendmarc is not logging into mail.log after update

Thanks, it works after removing the lines related to /dev/xconsole and 5-6 restarts of rsyslog and postfix, amavisd opendmarc and everything else that logs to mail.log smile