Re: 2.3.17: Panic on LMTP deliveries

2021-12-13 Thread Volker Jungbluth

It WORKS!!! :-)

Great, thanks!

Best regards
Volker

Am 12.12.2021 um 13:00 schrieb Volker:

That´s a good message, thank you very much!

I will try the patch!

Kind regards
Volker

Am 12.12.2021 um 12:48 schrieb Aki Tuomi:

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]: rcptu...@domain.tld:
duplicate db: useru...@domain.tld  doesn't have home dir set, disabling
duplicate database//
//
//Dec 12 08:42:54 lmtp(u...@domain.tld)<80363>:
Panic: file imem.c: line 65 (i_strconcat): assertion failed: (str1 != NULL)

/I found your answer here
:

/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




Re: 2.3.17: Panic on LMTP deliveries

2021-12-12 Thread Aki Tuomi



On 12 December 2021 8.37.23 UTC, Volker  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 u...@domain.tld:
>duplicate db: User u...@domain.tld doesn't have home dir set, disabling
>duplicate database//
>//
>//Dec 12 08:42:54 lmtp(u...@domain.tld)<80363>:
>Panic: file imem.c: line 65 (i_strconcat): assertion failed: (str1 != NULL)
>
>/I found your answer here
>:
>
>/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


2.3.17: Panic on LMTP deliveries

2021-12-12 Thread Volker

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 u...@domain.tld:
duplicate db: User u...@domain.tld doesn't have home dir set, disabling
duplicate database//
//
//Dec 12 08:42:54 lmtp(u...@domain.tld)<80363>:
Panic: file imem.c: line 65 (i_strconcat): assertion failed: (str1 != NULL)

/I found your answer here
:

/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!/
/






Re: 2.3.17: Panic on LMTP deliveries

2021-11-12 Thread Stephan Bosch




On 11/11/2021 14:20, Michael Glaus wrote:
Since the doevcot update to 2.3.17 i get a panic if a mail is 
delivered with lmtp.

In the logs i get these messages:

lmtp(r...@example.com)<21067>: Error: 
lmtp-server: conn 10.0.0.105:52981 [1]: rcpt r...@example.com: 
duplicate db: User r...@example.com doesn't have home dir set, 
disabling duplicate database
lmtp(r...@example.com)<21067>: Panic: file 
imem.c: line 65 (i_strconcat): assertion failed: (str1 != NULL)
lmtp(r...@example.com)<21067>: Fatal: master: 
service(lmtp): child 21067 killed with signal 6 (core dumped)


In the running config userdb does not return the field “home” and 
therefor a user does not have a “mail_home” only a “mail_location”.
If i change the config to provide a “mail_home” it works, but due to 
the directory structure i can not change this yet.


Problem confirmed. This is a 2.3.17 regression. Tracking internally as 
DOP-2659.


Regards,

Stephan.


2.3.17: Panic on LMTP deliveries

2021-11-11 Thread Michael Glaus
Hello

Since the doevcot update to 2.3.17 i get a panic if a mail is delivered with 
lmtp.
In the logs i get these messages:

lmtp(r...@example.com)<21067>: Error: lmtp-server: conn 
10.0.0.105:52981 [1]: rcpt r...@example.com: duplicate db: User 
r...@example.com doesn't have home dir set, disabling duplicate database
lmtp(r...@example.com)<21067>: Panic: file imem.c: line 
65 (i_strconcat): assertion failed: (str1 != NULL)
lmtp(r...@example.com)<21067>: Fatal: master: 
service(lmtp): child 21067 killed with signal 6 (core dumped)

In the running config userdb does not return the field “home” and therefor a 
user does not have a “mail_home” only a “mail_location”.
If i change the config to provide a “mail_home” it works, but due to the 
directory structure i can not change this yet.

Best regards

Michael Glaus
Junior System Administrator
-- 
Hostpoint AG
Neue Jonastrasse 60 | 8640 Rapperswil-Jona | Schweiz
michael.gl...@hostpoint.ch | www.hostpoint.ch