Panic: file smtp-client-connection.c: line 1212 (smtp_client_connection_established): assertion failed: (!conn->connect_succeeded)
Hello,
after migrating from self-compiled Dovecot 2.3.3 to Dovecot 2.3.8 from the repository (Ubuntu 18.04 LTS "Bionic" packages) I have issues with the submission service. If I send an email, it will not be forwarded and I get the following error message:
Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Panic: file smtp-client-connection.c: line 1212 (smtp_client_connection_established): assertion failed: (!conn->connect_succeeded) Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xe7f7e) [0x7f64b1f76f7e] -> /usr/lib/dovecot/libdovecot.so.0(+0xe8021) [0x7f64b1f77021] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f64b1ecfaf4] -> /usr/lib/dovecot/libdovecot.so.0(+0x50ec8) [0x7f64b1edfec8] -> /usr/lib/dovecot/libdovecot.so.0(+0x51078) [0x7f64b1ee0078] -> /usr/lib/dovecot/libdovecot.so.0(+0x541f4) [0x7f64b1ee31f4] -> /usr/lib/dovecot/libdovecot.so.0(smtp_client_command_input_reply+0x1f8) [0x7f64b1edb738] -> /usr/lib/dovecot/libdovecot.so.0(+0x54a93) [0x7f64b1ee3a93] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f) [0x7f64b1f909af] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x13c) [0x7f64b1f9237c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7f64b1f90abc] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f64b1f90cd8] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f64b1eff053] -> dovecot/submission hativ@example.com fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e GREETING [0x55dcc748fec1] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f64b1abfb97] -> dovecot/submission hativ@example.com fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e GREETING [0x55dcc749009a]
Does somebody has any idea? The problem has been taking me months, now I want to finally update to the current version.
Full debug log: Oct 11 09:29:00 srv2 dovecot: submission-login: Login: user=< hativ@example.com>, method=PLAIN, rip=fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e, lip=fec0:4f8:1c0c:8099::1, mpid=15819, TLS, session=<XFnLeJ2U0rgqAoEMwMAIoDQqhHgB7k+O> Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Loading modules from directory: /usr/lib/dovecot/modules Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_mail_crypt_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_quota_clone_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_replication_plugin.so Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Added userdb setting: plugin/mail_crypt_private_password=<hidden> Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Added userdb setting: plugin/mail_crypt_save_version=0 Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0 Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Effective uid=998, gid=998, home=/srv/mail/example.com/hativ Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Quota root: name= backend=count args= Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Quota rule: root= mailbox=* bytes=0 messages=0 Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Quota grace: root= bytes=0 (10%) Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Namespace INBOX: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=sdbox:~/ Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: fs: root=/srv/mail/example.com/hativ, index=, indexpvt=, control=, inbox=, alt= Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl: initializing backend with data: vfile Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl: acl username = hativ@example.com Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl: owner = 1 Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl vfile: Global ACLs disabled Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: Namespace Shared: type=shared, prefix=Shared/%u/, sep=, inbox=no, hidden=no, list=children, subscriptions=yes location=sdbox:%h/:INDEXPVT=~/shares/%u Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl: initializing backend with data: vfile Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl: acl username = hativ@example.com Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl: owner = 0 Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: acl vfile: Global ACLs disabled Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: quota: quota_over_flag check: quota_over_script unset - skipping Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-server: conn [fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e]:47314 [1]: Server accepted connection (fd=7) Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-server: conn [fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e]:47314 [1]: Connection created Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 [1]: Connection created Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 [1]: Looking up IP address Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 [1]: DNS lookup successful; got 2 IPs Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-server: conn [fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e]:47314 [1]: Sent: 235 2.7.0 Logged in. Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 [1]: Connecting to 10.46.163.91:25 Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Connecting Oct 11 09:29:00 srv2 postfix/smtpd[15229]: connect from srv2[10.46.163.91] Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Waiting for connect (fd=8) to finish for max 0 msecs Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Client connected (fd=8) Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Connected to server (from 10.46.163.91:60230) Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Received greeting from server: 220 mta2.example.com ESMTP Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Sending EHLO handshake Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command EHLO: Submitted with priority Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command EHLO: Sent: EHLO mda1-2.example.com Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command EHLO: Got reply (1/1): 250 mta2.example.com PIPELINING SIZE 51200000 ETRN STARTTLS AUTH DIGEST-MD5 CRAM-MD5 NTLM XCLIENT NAME ADDR PROTO HELO REVERSE_NAME PORT LOGIN DESTADDR DESTPORT ENHANCEDSTATUSCODES 8BITMIME SMTPUTF8 (1 commands pending, 0 commands queued) Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Received handshake reply Oct 11 09:29:00 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Received server capabilities Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Starting TLS Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command STARTTLS: Submitted with priority Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command EHLO: Destroy (0 commands pending, 1 commands queued) Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command STARTTLS: Sent: STARTTLS Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: command STARTTLS: Got reply (1/1): 220 2.0.0 Ready to start TLS (1 commands pending, 0 commands queued) Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Received STARTTLS reply: 220 2.0.0 Ready to start TLS Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: Starting SSL handshake Oct 11 09:29:01 srv2 postfix/smtpd[15229]: Anonymous TLS connection established from srv2[10.46.163.91]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Debug: smtp-client: conn mta2.example.com:25 (10.46.163.91:25) [1]: SSL handshake successful Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Panic: file smtp-client-connection.c: line 1212 (smtp_client_connection_established): assertion failed: (!conn->connect_succeeded) Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xe7f7e) [0x7f64b1f76f7e] -> /usr/lib/dovecot/libdovecot.so.0(+0xe8021) [0x7f64b1f77021] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f64b1ecfaf4] -> /usr/lib/dovecot/libdovecot.so.0(+0x50ec8) [0x7f64b1edfec8] -> /usr/lib/dovecot/libdovecot.so.0(+0x51078) [0x7f64b1ee0078] -> /usr/lib/dovecot/libdovecot.so.0(+0x541f4) [0x7f64b1ee31f4] -> /usr/lib/dovecot/libdovecot.so.0(smtp_client_command_input_reply+0x1f8) [0x7f64b1edb738] -> /usr/lib/dovecot/libdovecot.so.0(+0x54a93) [0x7f64b1ee3a93] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f) [0x7f64b1f909af] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x13c) [0x7f64b1f9237c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7f64b1f90abc] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f64b1f90cd8] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f64b1eff053] -> dovecot/submission hativ@example.com fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e GREETING [0x55dcc748fec1] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f64b1abfb97] -> dovecot/submission hativ@example.com fec0:810c:c0c0:8a0:342a:8478:1ee:4f8e GREETING [0x55dcc749009a] Oct 11 09:29:01 srv2 postfix/smtpd[15229]: lost connection after STARTTLS from srv2[10.46.163.91] Oct 11 09:29:01 srv2 postfix/smtpd[15229]: disconnect from srv2[10.46.163.91] ehlo=1 starttls=1 commands=2 Oct 11 09:29:01 srv2 dovecot: submission(hativ@example.com)<15819><XFnL eJ2U0rgqAoEMwMAIoDQqhHgB7k+O>: Fatal: master: service(submission): child 15819 killed with signal 6 (core dumped)
Best regards
Hativ
On 11.10.2019 10.50, Hativ via dovecot wrote:
Hello,
after migrating from self-compiled Dovecot 2.3.3 to Dovecot 2.3.8 from the repository (Ubuntu 18.04 LTS "Bionic" packages) I have issues with the submission service. If I send an email, it will not be forwarded and I get the following error message:
snip...
Best regards
Hativ
Can you provide doveconf -n?
Also, are you having this problem in 2.3.3 or just 2.3.8?
Aki
Hello Aki, I have this problem just with 2.3.8, my self-compiled 2.3.3 works fine. I have previously tried to update from 2.3.3 to higher versions (possibly 2.3.5 or so), but always had this error, which is why I am always back to 2.3.3. Configuration is exactly the same. Here my output from "doveconf -n": # 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf# Pigeonhole version 0.5.8 (b7b03ba2)# OS: Linux 4.15.0-65-generic x86_64 Ubuntu 18.04.3 LTS # Hostname: srv2auth_mechanisms = plain logindefault_login_user = dovecot-logindefault_vsz_limit = 1 Gdict { quota = mysql:/etc/dovecot/dovecot-quota.conf.ext}doveadm_password = # hidden, use -P to show itdoveadm_port = 12345haproxy_trusted_networks = 10.201.29.33 fec0:4f8:1c1c:3440::1 10.46.163.91 fec0:4f8:1c17:4548::1 10.216.147.248 fec0:4f9:c010:bec::1hostname = mda1- 2.example.comimap_capability = +XLISTimap_id_send = imap_idle_notify_interval = 30 minslisten = 10.46.163.91, fec0:4f8:1c17:4548::1lmtp_rcpt_check_quota = yesmail_attribute_dict = file:%h/dovecot-attributesmail_debug = yesmail_gid = dovecot- mailmail_home = /srv/mail/%d/%nmail_location = sdbox:~/mail_max_userip_connections = 20mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication"mail_uid = dovecot- mailmail_vsize_bg_after_count = 100managesieve_notify_capability = mailtomanagesieve_sieve_capability = fileinto reject envelope encoded- character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve vnd.dovecot.imapsievenamespace INBOX { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = }namespace Shared { list = children location = sdbox:%%h/:INDEXPVT=~/shares/%%u prefix = Shared/%%u/ subscriptions = yes type = shared}passdb { args = /etc/dovecot/dovecot-auth.conf.ext driver = sql}plugin { acl = vfile acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db imapsieve_mailbox1_before = file:/etc/dovecot/sieve/report-spam.sieve imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_name = Junk imapsieve_mailbox2_before = file:/etc/dovecot/sieve/report-ham.sieve imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_from = Junk imapsieve_mailbox2_name = INBOX mail_crypt_curve = secp521r1 mail_crypt_save_version = 0 mail_log_events = copy delete expunge flag_change mailbox_create mailbox_delete mailbox_rename undelete save mail_log_fields = uid box msgid size from subject mail_replica = tcps:mda1-1.example.com quota = count quota_clone_dict = proxy::quota quota_rule = *:bytes=0 quota_vsizes = yes sieve = file:~/sieve;active=~/.dovecot.sieve sieve_after = /etc/dovecot/sieve- after sieve_before = /etc/dovecot/sieve-before sieve_global_extensions = +vnd.dovecot.pipe sieve_pipe_bin_dir = /usr/bin/ sieve_plugins = sieve_extprograms sieve_imapsieve}postmaster_address = postmaster@example.comprotocols = imap lmtp sieve submissionservice aggregator { fifo_listener replication-notify-fifo { user = $mail_uid } unix_listener replication-notify { user = $mail_uid }}service doveadm { inet_listener { port = 12345 ssl = yes }}service imap-login { inet_listener imap { port = 0 } inet_listener imaps { haproxy = yes }}service lmtp { inet_listener lmtp { address = $listen port = 24 }}service managesieve-login { inet_listener sieve { haproxy = yes ssl = yes }}service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0600 user = $mail_uid }}service submission-login { inet_listener submission { haproxy = yes port = 465 ssl = yes }}ssl = requiredssl_alt_cert = </etc/ssl/private/example.com.pemssl_alt_key = # hidden, use -P to show itssl_cert = </etc/ssl/private/example.com- ecc.pemssl_cipher_list = TLS-CHACHA20-POLY1305-SHA256:ECDHE-ECDSA- CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:TLS-AES-256-GCM- SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:TLS- AES-128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256ssl_client_ca_file = /etc/ssl/certs/ca-certificates.crtssl_curve_list = X25519:secp521r1:secp384r1ssl_key = # hidden, use -P to show itssl_min_protocol = TLSv1.2ssl_options = no_ticketssl_prefer_server_ciphers = yessubmission_client_workarounds = whitespace-before-pathsubmission_max_mail_size = 50000 ksubmission_relay_host = mta2.example.comsubmission_relay_ssl = starttlssubmission_relay_trusted = yesuserdb { driver = prefetch}userdb { args = /etc/dovecot/dovecot-auth.conf.ext driver = sql}verbose_proctitle = yesprotocol imap { mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication imap_acl imap_quota imap_sieve imap_zlib"}protocol lmtp { mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication sieve"}
Am Freitag, den 11.10.2019, 10:55 +0300 schrieb Aki Tuomi:
On 11.10.2019 10.50, Hativ via dovecot wrote:
Hello, after migrating from self-compiled Dovecot 2.3.3 to Dovecot 2.3.8 fromthe repository (Ubuntu 18.04 LTS "Bionic" packages) I have issues withthe submission service. If I send an email, it will not be forwardedand I get the following error message: snip...
Best regards Hativ
Can you provide doveconf -n? Also, are you having this problem in 2.3.3 or just 2.3.8? Aki Best regards Hativ
On 11/10/2019 10:06, Hativ via dovecot wrote:
Hello Aki,
I have this problem just with 2.3.8, my self-compiled 2.3.3 works fine. I have previously tried to update from 2.3.3 to higher versions (possibly 2.3.5 or so), but always had this error, which is why I am always back to 2.3.3.
This bug was already known. It is tracked internally as DOV-3600. Looks like it will be put through somewhat soon.
Regards,
Stephan.
Configuration is exactly the same.
Here my output from "doveconf -n":
# 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.8 (b7b03ba2) # OS: Linux 4.15.0-65-generic x86_64 Ubuntu 18.04.3 LTS # Hostname: srv2 auth_mechanisms = plain login default_login_user = dovecot-login default_vsz_limit = 1 G dict { quota = mysql:/etc/dovecot/dovecot-quota.conf.ext } doveadm_password = # hidden, use -P to show it doveadm_port = 12345 haproxy_trusted_networks = 10.201.29.33 fec0:4f8:1c1c:3440::1 10.46.163.91 fec0:4f8:1c17:4548::1 10.216.147.248 fec0:4f9:c010:bec::1 hostname = mda1-2.example.com imap_capability = +XLIST imap_id_send = imap_idle_notify_interval = 30 mins listen = 10.46.163.91, fec0:4f8:1c17:4548::1 lmtp_rcpt_check_quota = yes mail_attribute_dict = file:%h/dovecot-attributes mail_debug = yes mail_gid = dovecot-mail mail_home = /srv/mail/%d/%n mail_location = sdbox:~/ mail_max_userip_connections = 20 mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication" mail_uid = dovecot-mail mail_vsize_bg_after_count = 100 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve vnd.dovecot.imapsieve namespace INBOX { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = } namespace Shared { list = children location = sdbox:%%h/:INDEXPVT=~/shares/%%u prefix = Shared/%%u/ subscriptions = yes type = shared } passdb { args = /etc/dovecot/dovecot-auth.conf.ext driver = sql } plugin { acl = vfile acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db imapsieve_mailbox1_before = file:/etc/dovecot/sieve/report-spam.sieve imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_name = Junk imapsieve_mailbox2_before = file:/etc/dovecot/sieve/report-ham.sieve imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_from = Junk imapsieve_mailbox2_name = INBOX mail_crypt_curve = secp521r1 mail_crypt_save_version = 0 mail_log_events = copy delete expunge flag_change mailbox_create mailbox_delete mailbox_rename undelete save mail_log_fields = uid box msgid size from subject mail_replica = tcps:mda1-1.example.com quota = count quota_clone_dict = proxy::quota quota_rule = *:bytes=0 quota_vsizes = yes sieve = file:~/sieve;active=~/.dovecot.sieve sieve_after = /etc/dovecot/sieve-after sieve_before = /etc/dovecot/sieve-before sieve_global_extensions = +vnd.dovecot.pipe sieve_pipe_bin_dir = /usr/bin/ sieve_plugins = sieve_extprograms sieve_imapsieve } postmaster_address = postmaster@example.com <mailto:postmaster@example.com> protocols = imap lmtp sieve submission service aggregator { fifo_listener replication-notify-fifo { user = $mail_uid } unix_listener replication-notify { user = $mail_uid } } service doveadm { inet_listener { port = 12345 ssl = yes } } service imap-login { inet_listener imap { port = 0 } inet_listener imaps { haproxy = yes } } service lmtp { inet_listener lmtp { address = $listen port = 24 } } service managesieve-login { inet_listener sieve { haproxy = yes ssl = yes } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0600 user = $mail_uid } } service submission-login { inet_listener submission { haproxy = yes port = 465 ssl = yes } } ssl = required ssl_alt_cert = </etc/ssl/private/example.com.pem ssl_alt_key = # hidden, use -P to show it ssl_cert = </etc/ssl/private/example.com-ecc.pem ssl_cipher_list = TLS-CHACHA20-POLY1305-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:TLS-AES-256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:TLS-AES-128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256 ssl_client_ca_file = /etc/ssl/certs/ca-certificates.crt ssl_curve_list = X25519:secp521r1:secp384r1 ssl_key = # hidden, use -P to show it ssl_min_protocol = TLSv1.2 ssl_options = no_ticket ssl_prefer_server_ciphers = yes submission_client_workarounds = whitespace-before-path submission_max_mail_size = 50000 k submission_relay_host = mta2.example.com submission_relay_ssl = starttls submission_relay_trusted = yes userdb { driver = prefetch } userdb { args = /etc/dovecot/dovecot-auth.conf.ext driver = sql } verbose_proctitle = yes protocol imap { mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication imap_acl imap_quota imap_sieve imap_zlib" } protocol lmtp { mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication sieve" }
Best regards Hativ
Am Freitag, den 11.10.2019, 10:55 +0300 schrieb Aki Tuomi:
On 11.10.2019 10.50, Hativ via dovecot wrote:
Hello, after migrating from self-compiled Dovecot 2.3.3 to Dovecot 2.3.8 from the repository (Ubuntu 18.04 LTS "Bionic" packages) I have issues with the submission service. If I send an email, it will not be forwarded and I get the following error message: snip... Best regards Hativ Can you provide doveconf -n? Also, are you having this problem in 2.3.3 or just 2.3.8? Aki
Is this (DOV-3600) fixed in 2.3.9? Best regards Hativ Am Montag, den 14.10.2019, 09:44 +0200 schrieb Stephan Bosch:
On 11/10/2019 10:06, Hativ via dovecot wrote:
Hello Aki, I have this problem just with 2.3.8, my self-compiled 2.3.3 works fine. I have previously tried to update from 2.3.3 to higher versions (possibly 2.3.5 or so), but always had this error, which is why I am always back to 2.3.3. This bug was already known. It is tracked internally as DOV-3600. Looks like it will be put through somewhat soon. Regards, Stephan. Configuration is exactly the same. Here my output from "doveconf -n": # 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf# Pigeonhole version 0.5.8 (b7b03ba2)# OS: Linux 4.15.0-65-generic x86_64 Ubuntu 18.04.3 LTS# Hostname: srv2auth_mechanisms = plain logindefault_login_user = dovecot-logindefault_vsz_limit = 1 Gdict { quota = mysql:/etc/dovecot/dovecot-quota.conf.ext}doveadm_password = # hidden, use -P to show itdoveadm_port = 12345haproxy_trusted_networks = 10.201.29.33 fec0:4f8:1c1c:3440::1 10.46.163.91 fec0:4f8:1c17:4548::1 10.216.147.248 fec0:4f9:c010:bec::1hostname = mda1-2.example.comimap_capability = +XLISTimap_id_send =imap_idle_notify_interval = 30 minslisten = 10.46.163.91, fec0:4f8:1c17:4548::1lmtp_rcpt_check_quota = yesmail_attribute_dict = file:%h/dovecot-attributesmail_debug = yesmail_gid = dovecot-mailmail_home = /srv/mail/%d/%nmail_location = sdbox:~/mail_max_userip_connections = 20mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication"mail_uid = dovecot-mailmail_vsize_bg_after_count = 100managesieve_notify_capability = mailtomanagesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve vnd.dovecot.imapsievenamespace INBOX { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix =}namespace Shared { list = children location = sdbox:%%h/:INDEXPVT=~/shares/%%u prefix = Shared/%%u/ subscriptions = yes type = shared}passdb { args = /etc/dovecot/dovecot-auth.conf.ext driver = sql}plugin { acl = vfile acl_shared_dict = file:/var/lib/dovecot/db/shared- mailboxes.db imapsieve_mailbox1_before = file:/etc/dovecot/sieve/report-spam.sieve imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_name = Junk imapsieve_mailbox2_before = file:/etc/dovecot/sieve/report- ham.sieve imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_from = Junk imapsieve_mailbox2_name = INBOX mail_crypt_curve = secp521r1 mail_crypt_save_version = 0 mail_log_events = copy delete expunge flag_change mailbox_create mailbox_delete mailbox_rename undelete save mail_log_fields = uid box msgid size from subject mail_replica = tcps:mda1- 1.example.com quota = count quota_clone_dict = proxy::quota quota_rule = *:bytes=0 quota_vsizes = yes sieve = file:~/sieve;active=~/.dovecot.sieve sieve_after = /etc/dovecot/sieve-after sieve_before = /etc/dovecot/sieve-before
sieve_global_extensions = +vnd.dovecot.pipe sieve_pipe_bin_dir = /usr/bin/ sieve_plugins = sieve_extprograms sieve_imapsieve}postmaster_address = postmaster@example.com <mailto:postmaster@example.com>protocols = imap lmtp sieve submissionservice aggregator { fifo_listener replication-notify- fifo { user = $mail_uid } unix_listener replication-notify { user = $mail_uid }}service doveadm { inet_listener { port = 12345 ssl = yes }}service imap-login { inet_listener imap { port = 0 } inet_listener imaps { haproxy = yes }}service lmtp { inet_listener lmtp { address = $listen port = 24 }}service managesieve-login { inet_listener sieve { haproxy = yes ssl = yes }}service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0600 user = $mail_uid }}service submission-login { inet_listener submission { haproxy = yes port = 465 ssl = yes }}ssl = requiredssl_alt_cert = </etc/ssl/private/example.com.pemssl_alt_key = # hidden, use -P to show itssl_cert = </etc/ssl/private/example.com-ecc.pemssl_cipher_list = TLS- CHACHA20-POLY1305-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA- CHACHA20-POLY1305:TLS-AES-256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM- SHA384:ECDHE-RSA-AES256-GCM-SHA384:TLS-AES-128-GCM-SHA256:ECDHE- ECDSA-AES128-GCM-SHA256ssl_client_ca_file = /etc/ssl/certs/ca- certificates.crtssl_curve_list = X25519:secp521r1:secp384r1ssl_key = # hidden, use -P to show itssl_min_protocol = TLSv1.2ssl_options = no_ticketssl_prefer_server_ciphers = yessubmission_client_workarounds = whitespace-before- pathsubmission_max_mail_size = 50000 ksubmission_relay_host = mta2.example.comsubmission_relay_ssl = starttlssubmission_relay_trusted = yesuserdb { driver = prefetch}userdb { args = /etc/dovecot/dovecot-auth.conf.ext driver = sql}verbose_proctitle = yesprotocol imap { mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication imap_acl imap_quota imap_sieve imap_zlib"}protocol lmtp { mail_plugins = " acl mail_crypt mail_log notify quota quota_clone replication sieve"} Best regardsHativ Am Freitag, den 11.10.2019, 10:55 +0300 schrieb Aki Tuomi:On 11.10.2019 10.50, Hativ via dovecot wrote:
Hello,after migrating from self-compiled Dovecot 2.3.3 to Dovecot 2.3.8 fromthe repository (Ubuntu 18.04 LTS "Bionic" packages) I have issues withthe submission service. If I send an email, it will not be forwardedand I get the following error message: snip... Best regardsHativ Can you provide doveconf -n?Also, are you having this problem in 2.3.3 or just 2.3.8?Aki
-- Freundliche Grüße
Pascal
participants (3)
-
Aki Tuomi
-
Hativ
-
Stephan Bosch