[Dovecot] "doveadm log reopen" don't reopen separate lmtp log

Henrik Larsson dovecot-user at spambox.dk
Tue Oct 18 18:32:19 EEST 2011


I still see the issue below. Is there anyone running separate LMTP 
logging that could check if they experience the same issue?

Best regards
Henrik Larsson


-------- Original Message --------
Subject: "doveadm log reopen" don't reopen separate lmtp log
Date: Sun, 25 Sep 2011 00:23:49 +0200
 From: Henrik Larsson <dovecot-user at spambox.dk>
To: dovecot at dovecot.org

Dear all

I have setup separate pop3/imap log "/var/log/dovecot" and lmtp 
delivery log "/var/log/dovecot-deliver".

After rotating logfiles, i run "doveadm log reopen". I see that my 
pop3/imap log "/var/log/dovecot" is used straight away, but my lmpt log 
"/var/log/dovecot-deliver" isn't used at first. After some time, usually 
a few minutes, logs are being written to this file anyway. But if I 
compare this to my maillog, it misses some deliveries just after the log 
rotation.

Is there any problems with this configuration that should be corrected?

--cut--
# doveconf -n
# 2.0.15: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 8.2-STABLE amd64
auth_mechanisms = plain login digest-md5 cram-md5
first_valid_uid = 125
hostname = mail.larsson.it
listen = *
log_path = /var/log/dovecot
mail_plugins = fts fts_squat zlib
mail_privileged_group = postfix
mail_temp_dir = /var/db/dovecot
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date
namespace {
   inbox = yes
   location =
   prefix =
   separator = .
   type = private
}
namespace {
   hidden = yes
   inbox = no
   list = no
   location =
   prefix = INBOX.
   separator = .
   type = private
}
passdb {
   args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   fts = squat
   fts_squat = partial=4 full=10
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service auth-worker {
   user = $default_internal_user
}
service auth {
   unix_listener /home/mail/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
}
service lmtp {
   executable = lmtp -L
   unix_listener /home/mail/postfix/private/dovecot-lmtp {
     group = postfix
     mode = 0660
     user = postfix
   }
}
ssl_cert = </etc/ssl/mail-chained.crt
ssl_key = </etc/ssl/mail.key
userdb {
   args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
protocol lmtp {
   log_path = /var/log/dovecot-deliver
   mail_plugins = fts fts_squat zlib sieve
}
protocol lda {
   mail_plugins = fts fts_squat zlib sieve
}
protocol imap {
   mail_plugins = fts fts_squat zlib imap_zlib
}
--cut--


Best regards
Henrik Larsson



More information about the dovecot mailing list