Dovecot lmtp doesn't log

Thomas Leuxner tlx at leuxner.net
Fri Dec 1 18:29:10 EET 2017


* Tomislav Perisic <tomiperisic at gmail.com> 2017.12.01 15:30:

> Does anyone have a working configuration regarding this that they don't
> have a problem with LMTP logging? If yes could you please send me your
> config and dovecot version to compare.
2.2.devel (904765b05):

# doveconf deliver_log_format syslog_facility
deliver_log_format = msgid=%m, time=%{delivery_time}ms, status=%$
syslog_facility = local1

rsyslog.conf:
local1.*                        -/var/log/dovecot/dovecot.log

local1.info                       -/var/log/dovecot/dovecot.info
local1.warn                       -/var/log/dovecot/dovecot.warn
local1.err                        /var/log/dovecot/dovecot.err
if ($syslogfacility-text=='local1') and ($programname=='dovecot') and\
($msg contains 'lmtp') and ($msg contains 'stored mail into mailbox')\
                             then -/var/log/dovecot/dovecot.lmtp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20171201/c2ae8cdd/attachment.sig>


More information about the dovecot mailing list