** Also affects: rsyslog (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1611565

Title:
  Rsyslog facility based selectors not working for Dovecot

Status in Dovecot:
  New
Status in rsyslog package in Ubuntu:
  New

Bug description:
  Post system upgrade from 14.04.4 to 16.04.1, Rsyslog facility/priority
  based selectors are no longer working for Dovecot 2.2.22. For
  instance, "imap-login" events do not appear in the logfiles, while
  "lmtp" events, which in our case are captured using property-based
  filters, do.

  /etc/rsyslog.d/23-dovecot.conf
  local5.*                                        -/var/log/dovecot.log
  local5.warn;local5.err;local5.crit              -/var/log/dovecot.err
  :msg,contains,"lmtp"                            -/var/log/dovecot.log
  :msg,contains,"sieve"                           -/var/log/dovecot.log

  & stop

  
  /etc/dovecot/conf.d/10-logging.conf:
  log_path = syslog
  syslog_facility = local5
  auth_verbose = yes

  
  The configuration has not been changed since it was last working, i.e. before 
the upgrade. Changing log_path directive in Dovecot from "syslog" to a valid 
file path is a working workaround:

  /etc/dovecot/conf.d/10-logging.conf:
  log_path = /var/log/dovecot.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/dovecot/+bug/1611565/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to