dovecot-lmtp crashing when setting lmtp_proxy=yes

Aki Tuomi aki.tuomi at open-xchange.com
Fri Jul 16 09:10:00 EEST 2021


> On 15/07/2021 18:37 Camilo Sperberg <unreal4u at gmail.com> wrote:
> 
> 
> Hi all:
> 
> We are currently in the process of setting up dovecot proxy so that we can deploy multiple machines in order to keep growing.
> 
> We are trying now to create an entry point, and from there send the traffic to either the same machine or another node.
> For this, we are using a MySQL database with information about which server hosts which mailboxes, which turns out to be working great for sending out mail and general authentification. This was really simple to set up, kudos for that!
> 
> 
> However, whenever I want to *receive* email, I just have to enable the lmtp_proxy setting which makes the lmtp process segfault.
> 
> This happens everytime as I can reliable reproduce it + get a stack trace of it. The process will crash on every incoming email.
> 
> 
> I have attached:
> - Complete output of dovecot-sysreport
> - A core dump of the crashed process
> 
> Main information:
> Using dovecot v2.3.14 (cee3cbc0d) on Ubuntu 18.04 LTS: Linux 5.4.0-1046-gcp x86_64 Ubuntu 18.04.5 LTS. Our MTA is postfix.
> 
> Logs around the crashed process:
> Jul 15 14:53:21 server postfix/postscreen[19402]: CONNECT from > 
> 
> Am I missing something in the conf? Did I encounter a bug? If you need more information, please let me know.
> 
> Greetings,
> Camilo Sperberg
>

Hi!

Try returning port for the LMTP connection in your passdb query.

Aki


More information about the dovecot mailing list