2.3.17: Panic on LMTP deliveries

Aki Tuomi aki.tuomi at open-xchange.com
Sun Dec 12 11:48:56 UTC 2021


> On 12/12/2021 12:00 Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> 
>  
> On 12 December 2021 8.37.23 UTC, Volker <pcmagazine at gmx.net> wrote:
> >Hello!
> >
> >While searching for an explanation for the fact that after updating to
> >Dovecot 2.3.17_1 (FreeBSD 12.2) I suddenly stopped receiving emails and
> >following error messages appeared in the dovecot.log,
> >
> >/Error: lmtp-server: conn unix:uid=125 [1]: rcpt user at domain.tld:
> >duplicate db: User user at domain.tld doesn't have home dir set, disabling
> >duplicate database//
> >//
> >//Dec 12 08:42:54 lmtp(user at domain.tld)<80363><z7AxDf6ntWHrOQEAp6O1gg>:
> >Panic: file imem.c: line 65 (i_strconcat): assertion failed: (str1 != NULL)
> >
> >/I found your answer here
> ><https://www.mail-archive.com/dovecot@dovecot.org/msg84893.html>:
> >
> >/Problem confirmed. This is a 2.3.17 regression. Tracking internally as
> >DOP-2659./
> >/
> >Regards,
> >Stephan./
> >
> >
> >But what exactly does your answer mean for those affected?
> >
> >That all users who use Dovecot and use the whole thing without
> >"mail_home" and only with "mail_location", must wait until a BugFix
> >appears to be able to receive emails again?
> >
> >
> >Thanks in advance and have a nice advent sunday
> >Volker
> >
> >P. S.:
> >In my case dovecot -n shows
> >
> >/mail_location = maildir:/var/mail/vhosts/%d/%n//
> >//mail_home = /var/mail/vhosts/%d/%n
> >
> >/so mail_home is even set!/
> >/
> >
> 
> You can roll back to 2.3.16 as well?
> 
> Aki

After looking bit more, this issue is fixed and will be in 2.3.18. If you want, you can try applying

https://github.com/dovecot/core/compare/98f709de%5E..d36d2c59.patch

which should fix this issue.

Aki


More information about the dovecot mailing list