Workaround for infinite loop in XCLIENT command bug
Hello,
I am running Dovecot 2.3.5 package on OpenBSD 6.5 and it looks like this bug which has been fixed in 2.3.6 is hitting me:
lib-smtp: client: Fix infinite loop in XCLIENT command interaction with server https://github.com/dovecot/core/commit/5d03f39b345127b80d145ee90772739baa7ab...
so I was wondering if there is any workarounds? Maybe like disabling the XCLIENT command from the config file or something similar?
My original post regarding this issue is here:
https://www.mail-archive.com/misc@opensmtpd.org/msg04362.html
I first thought this was an OpenSMTPD issue but it seems to be that Dovecot bug.
Cheers, Mabi
On 24 May 2019 10:52 mabi via dovecot dovecot@dovecot.org wrote:
Hello,
I am running Dovecot 2.3.5 package on OpenBSD 6.5 and it looks like this bug which has been fixed in 2.3.6 is hitting me:
lib-smtp: client: Fix infinite loop in XCLIENT command interaction with server https://github.com/dovecot/core/commit/5d03f39b345127b80d145ee90772739baa7ab...
so I was wondering if there is any workarounds? Maybe like disabling the XCLIENT command from the config file or something similar?
My original post regarding this issue is here:
https://www.mail-archive.com/misc@opensmtpd.org/msg04362.html
I first thought this was an OpenSMTPD issue but it seems to be that Dovecot bug.
Cheers, Mabi
Try setting login_trusted_networks=
or just upgrade to 2.3.6?
Aki
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, May 24, 2019 10:40 AM, Aki Tuomi via dovecot dovecot@dovecot.org wrote:
Try setting login_trusted_networks=
Thank you Aki for your answer. Unfortunately on my Dovecot mailbox backend servers I already have login_trusted_networks set to the IP of my Dovecot LMTP proxy server.
or just upgrade to 2.3.6?
I was hoping not to have to compile and install manually 2.3.6 on OpenBSD 6.5, that's why I was first looking for a more simple workaround...
On 24.5.2019 12.22, mabi via dovecot wrote:
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, May 24, 2019 10:40 AM, Aki Tuomi via dovecot dovecot@dovecot.org wrote:
Try setting login_trusted_networks= Thank you Aki for your answer. Unfortunately on my Dovecot mailbox backend servers I already have login_trusted_networks set to the IP of my Dovecot LMTP proxy server.
or just upgrade to 2.3.6? I was hoping not to have to compile and install manually 2.3.6 on OpenBSD 6.5, that's why I was first looking for a more simple workaround...
There is no maintainer for this package in OpenBSD?
Aki
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, May 24, 2019 11:23 AM, Aki Tuomi aki.tuomi@open-xchange.com wrote:
There is no maintainer for this package in OpenBSD?
Not really, well AFAIK packages for OpenBSD are updated every 6 months with the new release of OpenBSD which is always around May and November. Exceptions are security related issues.
There is more details here: https://www.openbsd.org/faq/faq15.html
On 24 May 2019, at 12.22, mabi via dovecot dovecot@dovecot.org wrote:
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, May 24, 2019 10:40 AM, Aki Tuomi via dovecot dovecot@dovecot.org wrote:
Try setting login_trusted_networks=
Thank you Aki for your answer. Unfortunately on my Dovecot mailbox backend servers I already have login_trusted_networks set to the IP of my Dovecot LMTP proxy server.
just add:
protocol lmtp { login_trusted_networks= }
Sami
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Saturday, May 25, 2019 12:18 AM, Sami Ketola via dovecot dovecot@dovecot.org wrote:
just add:
protocol lmtp { login_trusted_networks= }
Thank you so much Sami for the further details. I added the login_trusted_networks specifically to the lmtp protocol and now I can see that it does not issue any XCLIENT command anymore so this means my mail delivery through LMTP works again. I guess I didn't even need any XCLIENT command to be issued anyway as it was only issuing "XCLIENT HELO=localhost TTL=5".
participants (3)
-
Aki Tuomi
-
mabi
-
Sami Ketola