Hi, I've just upgraded dovecot from 2.2.35 to 2.3.2.1 on my mail server and noticed something odd. My mail clients (mutt and Apple mail) both stopped seeing new mail in my mailboxes. For example, ~/Maildir/mailinglist1/new has 5 new mails. In mutt, vieweing the list of mailboxes mutt reports 0 new mail for "mailinglist1". Opening up the actual mailbox in mutt reveals the 5 new mails. Going back to the list of mailboxes, mutt now correctly reports 5 unread mails. Waiting a few hours, and about 10 new mails have arrived, but mutt still says 5 unread. This is the same for every mailbox. As a test I deleted the index files for a specific mailbox and restarted dovecot. But it didn't help. I use procmail to deliver my mail into the Maildir folders, if that matters. Any ideas? I haven't changed my dovecot configuration in a long time, except for adding ssl_dh after the upgrade. My config is below: auth_mechanisms = plain login imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_location = maildir:~/Maildir mail_privileged_group = mail maildir_very_dirty_syncs = yes passdb { args = session=yes dovecot driver = pam } protocols = imap service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } ssl = required ssl_cert = </path/to/cert.pem ssl_dh = # hidden ssl_key = # hidden userdb { driver = passwd } -- Joel
On 22 Nov 2018, at 22.28, Joel Dahl <joel at vnode.se> wrote:> > Hi, > > I've just upgraded dovecot from 2.2.35 to 2.3.2.1 on my mail server > and noticed something odd. My mail clients (mutt and Apple mail) both stopped > seeing new mail in my mailboxes. > > For example, ~/Maildir/mailinglist1/new has 5 new mails. In mutt, vieweing the > list of mailboxes mutt reports 0 new mail for "mailinglist1". Opening up the > actual mailbox in mutt reveals the 5 new mails. Going back to the list of > mailboxes, mutt now correctly reports 5 unread mails. Waiting a few hours, and > about 10 new mails have arrived, but mutt still says 5 unread. > > This is the same for every mailbox. As a test I deleted the index files for a > specific mailbox and restarted dovecot. But it didn't help. I use procmail to > deliver my mail into the Maildir folders, if that matters.See if mailbox_list_index=no helps? Or switch to delivering via dovecot-lda (just tell procmail to deliver using it).
On Fri, Nov 23, 2018 at 03:00:17PM +0200, Timo Sirainen wrote:> On 22 Nov 2018, at 22.28, Joel Dahl <joel at vnode.se> wrote: > > > > Hi, > > > > I've just upgraded dovecot from 2.2.35 to 2.3.2.1 on my mail server > > and noticed something odd. My mail clients (mutt and Apple mail) both stopped > > seeing new mail in my mailboxes. > > > > For example, ~/Maildir/mailinglist1/new has 5 new mails. In mutt, vieweing the > > list of mailboxes mutt reports 0 new mail for "mailinglist1". Opening up the > > actual mailbox in mutt reveals the 5 new mails. Going back to the list of > > mailboxes, mutt now correctly reports 5 unread mails. Waiting a few hours, and > > about 10 new mails have arrived, but mutt still says 5 unread. > > > > This is the same for every mailbox. As a test I deleted the index files for a > > specific mailbox and restarted dovecot. But it didn't help. I use procmail to > > deliver my mail into the Maildir folders, if that matters. > > See if mailbox_list_index=no helps? Or switch to delivering via dovecot-lda (just tell procmail to deliver using it).Setting mailbox_list_index=no fixed the problem. Thanks! -- Joel