Error: Connection to IMAP server failed: b'* BYE Auth process broken'
Impacted versions
- Distribution: Debian 12
- Arch: 64 Bits
- Database: PostgreSQL / MySQL
- Modoboa: 2.3.1
Steps to reproduce
clean install with let encrypt certs
Webmail module Error: Error: Connection to IMAP server failed: b'* BYE Auth process broken'
I tried under different accounts - the result is the same
same problem
Do you see anything useful in logs?
Do you see anything useful in logs?
nope, nothing
Could you try to increase logging level in dovecot?
tail -f /var/log/dovecot.log Sep 06 08:36:16 auth: Panic: file http-client.c: line 646 (http_client_context_close): assertion failed: (cctx->clients_list == NULL) Sep 06 08:36:16 auth: Error: Raw backtrace: #0 t_askpass[0x7f7207389be0] -> #1 backtrace_append[0x7f7207389e50] -> #2 backtrace_get[0x7f7207389fe0] -> #3 execvp_const[0x7f72073951d0] -> #4 i_syslog_fatal_handler[0x7f7207395b40] -> #5 i_panic[0x7f72072eb0d4] -> #6 [unw_get_proc_name() failed: -10] -> #7 io_loop_set_current[0x7f72073abc00] -> #8 [unw_get_proc_name() failed: -10] -> #9 [unw_get_proc_name() failed: -10] -> #10 io_loop_call_io[0x7f72073aceb0] -> #11 io_loop_handler_run_internal[0x7f72073aebb0] -> #12 io_loop_handler_run[0x7f72073aed40] -> #13 io_loop_run[0x7f72073aef10] -> #14 [unw_get_proc_name() failed: -10] -> #15 [unw_get_proc_name() failed: -10] -> #16 passdb_cache_deinit[0x55fdd624b190] -> #17 auths_init[0x55fdd622d300] -> #18 main[0x55fdd622b920] -> #19 __libc_init_first[0x7f720702c1d0] -> #20 __libc_start_main[0x7f720702c280] -> #21 _start[0x55fdd622bea0] Sep 06 08:36:16 master: Error: service(auth): command startup failed, throttling for 2.000 secs Sep 06 08:36:16 auth: Fatal: master: service(auth): child 4711 killed with signal 6 (core dumps disabled - https://dovecot.org/bugreport.html#coredumps)
it't clean VPS from Hetzner. Tried fresh install several times
tail -f /var/log/dovecot-info.log Sep 06 08:34:52 master: Info: Dovecot v2.3.19.1 (9b53102964) starting up for imap, lmtp, sieve (core dumps disabled) Sep 06 08:36:16 imap-login: Info: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<RYn1TG8hWpZ/AAAB>
Could you try with dovecot version coming from testing? (using backports)
It worked!!!
sudo nano /etc/apt/sources.list
add this line: deb http://deb.debian.org/debian bookworm-backports main
sudo apt update
apt-cache policy dovecot-core
dovecot-core: Installed: 1:2.3.19.1+dfsg1-2.1+deb12u1 Candidate: 1:2.3.19.1+dfsg1-2.1+deb12u1 Version table: 1:2.3.21.1+dfsg1-1~bpo12+1 100 100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages *** 1:2.3.19.1+dfsg1-2.1+deb12u1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
sudo apt install -t bookworm-backports dovecot-core dovecot-imapd dovecot-pop3d
Great. Now we need to update the installer...