Panic: file smtp-client-connection.c: line 1212 (smtp_client_connection_established): assertion failed: (!conn->connect_succeeded)

Stephan Bosch stephan at rename-it.nl
Mon Oct 14 10:44:28 EEST 2019



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 at example.com 
> <mailto:postmaster at 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



More information about the dovecot mailing list