[Bug 434986] [NEW] postfix ignores the rsyslog configuration directives

Patrick Goetz pgoetz at mail.utexas.edu
Wed Sep 23 02:39:46 BST 2009


Public bug reported:

Binary package hint: dovecot-postfix

I've been working with the dovecot-postfix package in karmic koala a5.

postfix seems not to be working properly with rsyslog; e.g. doesn't seem to be aware of /etc/rsyslog.conf. All SMTP activity is logged to /var/log/syslog even though the default /etc/rsyslog.d/50-default.conf is configured to send this stuff to the usual /var/log/mail{.err, .warn,.log}. Furthermore, when I tried to move IMAP logging to a separate log file by setting
log_path = /var/log/dovecot
in /etc/dovecot/dovecot-postfix, my system stopped accepting SMTP mail deliveries with the following error message in /var/log/syslog:

Sep 15 06:22:20 ibis postfix/local[25505]: D554941122:
to=<pgoetz at internetbs.com>, relay=local, delay=28665,
delays=28665/0.01/0/0.14, dsn=4.3.0, status=deferred (temporary failure.
Command output: Can't open log file /var/log/dovecot: Permission denied
)

I want to be able to keep IMAP stuff and SMTP stuff in separate log
files for easy analysis, and it seems pretty obvious that almost no one
would want SMTP traffic logged to /var/log/syslog.

Source package and release info:

root at ibis:/etc/rsyslog.d# cd ..
root at ibis:/etc# cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu karmic (development branch)"

root at ibis:/etc# uname -a
Linux ibis 2.6.31-10-generic-pae #32-Ubuntu SMP Fri Sep 11 00:30:46 UTC 2009 i686 GNU/Linux

root at ibis:/etc# dpkg -l | grep dovecot
ii  dovecot-common                    1:1.1.11-0ubuntu8                 secure mail server that supports mbox and ma
ii  dovecot-imapd                     1:1.1.11-0ubuntu8                 secure IMAP server that supports mbox and ma
ii  dovecot-pop3d                     1:1.1.11-0ubuntu8                 secure POP3 server that supports mbox and ma
ii  dovecot-postfix                   1:1.1.11-0ubuntu8                 full mail server stack provided by Ubuntu se
root at ibis:/etc# dpkg -l | grep postfix
ii  dovecot-postfix                   1:1.1.11-0ubuntu8                 full mail server stack provided by Ubuntu se
ii  postfix                           2.6.5-1ubuntu1                    High-performance mail transport agent

** Affects: dovecot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
postfix ignores the rsyslog configuration directives
https://bugs.launchpad.net/bugs/434986
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.



More information about the Ubuntu-server-bugs mailing list