<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thank you Aleksander.</pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I changed the code like it is described on the PR, and it works, but shouldn’t it work with TLS? I tested TLS with openssl towards dovecot, and got no error, why using tis:// didn’t work? </pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Best,</pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Francis </pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">> On 08.09.2022 12:34, Francis Augusto Medeiros-Logeay wrote:
><i> Yes, it works. I guess it must be Roundcube, after its update. I need to figure out if the configuration has > > changed.
</i>> 
> <a href="https://github.com/roundcube/roundcubemail/pull/8670">https://github.com/roundcube/roundcubemail/pull/8670</a>
</pre><br class="Apple-interchange-newline" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><div><br><blockquote type="cite"><div>On 8 Sep 2022, at 12:34, Francis Augusto Medeiros-Logeay <r_f@med-lo.eu> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=us-ascii"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Yes, it works. I guess it must be Roundcube, after its update. I need to figure out if the configuration has changed.</pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thanks!</pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Best,</pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Francis</pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></pre><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">> Well, you have configured it to speak SSL. Does openssl s_client -connect host:port work?

> Aki

><i> On 08/09/2022 12:44 EEST Francis Augusto Medeiros-Logeay <<a href="https://dovecot.org/mailman/listinfo/dovecot">r_f at med-lo.eu</a>> wrote:
</i>><i> 
</i>><i>  
</i>><i> Here it is
</i>><i> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
</i>><i> # Pigeonhole version 0.5.7.2 ()
</i>><i> # OS: Linux 5.4.0-109-generic x86_64 Ubuntu 20.04.4 LTS nfs
</i>><i> # Hostname: d0ba5bb19b6b
</i>><i> auth_mechanisms = plain login
</i>><i> default_vsz_limit = 1 G
</i>><i> doveadm_password = # hidden, use -P to show it
</i>><i> doveadm_port = REDACTED
</i>><i> first_valid_uid = 5000
</i>><i> haproxy_trusted_networks = 172.18.0.0/16
</i>><i> last_valid_uid = 5000
</i>><i> log_path = /var/log/dovecot.log
</i>><i> mail_gid = vmail
</i>><i> mail_location = maildir:/var/mail/vmail/%d/%n:INDEX=/var/mail/vmail-index/index/%d/%n:CONTROL=/var/mail/vmail-index/control/%d/%n
</i>><i> mail_plugins = quota notify replication fts fts_solr
</i>><i> mail_privileged_group = mail
</i>><i> mail_uid = vmail
</i>><i> managesieve_notify_capability = mailto
</i>><i> 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
</i>><i> namespace inbox {
</i>><i>   inbox = yes
</i>><i>   location =
</i>><i>   mailbox Drafts {
</i>><i>     special_use = \Drafts
</i>><i>   }
</i>><i>   mailbox Junk {
</i>><i>     special_use = \Junk
</i>><i>   }
</i>><i>   mailbox Sent {
</i>><i>     special_use = \Sent
</i>><i>   }
</i>><i>   mailbox "Sent Messages" {
</i>><i>     special_use = \Sent
</i>><i>   }
</i>><i>   mailbox Spam {
</i>><i>     auto = subscribe
</i>><i>     special_use = \Junk
</i>><i>   }
</i>><i>   mailbox Trash {
</i>><i>     special_use = \Trash
</i>><i>   }
</i>><i>   prefix =
</i>><i> }
</i>><i> passdb {
</i>><i>   args = /etc/dovecot/dovecot-sql.conf.ext
</i>><i>   driver = sql
</i>><i> }
</i>><i> plugin {
</i>><i>   fts = solr
</i>><i>   fts_autoindex = yes
</i>><i>   fts_solr = url=<a href="http://172.18.0.16:8983/solr/dovecot/">http://172.18.0.16:8983/solr/dovecot/</a>
</i>><i>   imapsieve_mailbox1_before = file:/var/mail/vmail/mail/sieve/global/report-spam.sieve
</i>><i>   imapsieve_mailbox1_causes = COPY
</i>><i>   imapsieve_mailbox1_name = Spam
</i>><i>   imapsieve_mailbox2_before = file:/var/mail/vmail/mail/sieve/global/report-ham.sieve
</i>><i>   imapsieve_mailbox2_causes = COPY
</i>><i>   imapsieve_mailbox2_from = *
</i>><i>   imapsieve_mailbox2_name = Archive
</i>><i>   mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
</i>><i>   mail_log_fields = uid box msgid size
</i>><i>   mail_replica = tcp:REDACTED
</i>><i>   setting_name = value
</i>><i>   sieve = file:/var/mail/vmail/mail/sieve/%d/%n/scripts;active=/var/mail/vmail/mail/sieve/%d/%n/active-script.sieve
</i>><i>   sieve_before = /var/mail/vmail/mail/sieve/global/spam-global.sieve
</i>><i>   sieve_execute_bin_dir = /usr/bin
</i>><i>   sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
</i>><i>   sieve_pipe_bin_dir = /var/mail/vmail/mail/sieve/global/scripts
</i>><i>   sieve_plugins = sieve_imapsieve sieve_extprograms
</i>><i> }
</i>><i> protocols = " imap lmtp sieve pop3"
</i>><i> replication_max_conns = 300
</i>><i> service aggregator {
</i>><i>   fifo_listener replication-notify-fifo {
</i>><i>     mode = 0666
</i>><i>     user = vmail
</i>><i>   }
</i>><i>   unix_listener replication-notify {
</i>><i>     mode = 0666
</i>><i>     user = vmail
</i>><i>   }
</i>><i> }
</i>><i> service auth-worker {
</i>><i>   user = vmail
</i>><i> }
</i>><i> service auth {
</i>><i>   unix_listener /var/spool/postfix/private/auth {
</i>><i>     group = postfix
</i>><i>     mode = 0666
</i>><i>     user = postfix
</i>><i>   }
</i>><i>   unix_listener auth-userdb {
</i>><i>     group = vmail
</i>><i>     mode = 0600
</i>><i>     user = vmail
</i>><i>   }
</i>><i> }
</i>><i> service config {
</i>><i>   unix_listener config {
</i>><i>     user = vmail
</i>><i>   }
</i>><i> }
</i>><i> service dict {
</i>><i>   unix_listener dict {
</i>><i>     group = vmail
</i>><i>     mode = 0660
</i>><i>     user = vmail
</i>><i>   }
</i>><i> }
</i>><i> service doveadm {
</i>><i>   client_limit = 1
</i>><i>   idle_kill = 0
</i>><i>   inet_listener {
</i>><i>     port = REDACTED
</i>><i>     ssl = no
</i>><i>   }
</i>><i>   process_limit = 0
</i>><i>   process_min_avail = 0
</i>><i>   user = vmail
</i>><i> }
</i>><i> service lmtp {
</i>><i>   unix_listener /var/spool/postfix/private/dovecot-lmtp {
</i>><i>     group = postfix
</i>><i>     mode = 0600
</i>><i>     user = postfix
</i>><i>   }
</i>><i> }
</i>><i> service managesieve-login {
</i>><i>   inet_listener sieve {
</i>><i>     address = 172.18.0.10
</i>><i>     port = 4190
</i>><i>     ssl = yes
</i>><i>   }
</i>><i> }
</i>><i> service managesieve {
</i>><i>   process_limit = 1024
</i>><i> }
</i>><i> service replicator {
</i>><i>   client_limit = 0
</i>><i>   drop_priv_before_exec = no
</i>><i>   idle_kill = 4294967295 secs
</i>><i>   process_limit = 1
</i>><i>   process_min_avail = 0
</i>><i>   service_count = 0
</i>><i>   unix_listener replicator-doveadm {
</i>><i>     group = vmail
</i>><i>     mode = 0666
</i>><i>     user = dovecot
</i>><i>   }
</i>><i>   vsz_limit = 8 G
</i>><i> }
</i>><i> ssl = required
</i>><i> ssl_cert = </etc/letsencrypt/live/mail.med-lo.eu/fullchain.pem
</i>><i> ssl_cipher_list = EECDH+AES:EDH+AES+aRSA
</i>><i> ssl_client_ca_dir = /etc/ssl/certs
</i>><i> ssl_key = # hidden, use -P to show it
</i>><i> ssl_prefer_server_ciphers = yes
</i>><i> userdb {
</i>><i>   args = /etc/dovecot/dovecot-sql.conf.ext
</i>><i>   driver = sql
</i>><i> }
</i>><i> protocol lmtp {
</i>><i>   mail_plugins = quota notify replication fts fts_solr sieve
</i>><i>   postmaster_address = <a href="https://dovecot.org/mailman/listinfo/dovecot">postmaster at med-lo.eu</a>
</i>><i> }
</i>><i> protocol imap {
</i>><i>   mail_plugins = quota notify replication fts fts_solr imap_quota imap_sieve
</i>><i> }
</i>><i> protocol sieve {
</i>><i>   managesieve_implementation_string = Dovecot Pigeonhole
</i>><i>   managesieve_max_line_length = 65536
</i>><i> }
</i>><i> 
</i>><i> Thanks,
</i>><i> 
</i>><i> Francis 
</i>><i> > On 8 Sep 2022, at 11:29, Francis Augusto Medeiros-Logeay <<a href="https://dovecot.org/mailman/listinfo/dovecot">r_f at med-lo.eu</a>> wrote:
</i>><i> > 
</i>><i> > Hi,
</i>><i> > 
</i>><i> > I am running dovecot 2.3.7.2 on ubuntu, and have a replication setup.
</i>><i> > 
</i>><i> > I noticed that managesieve doesn't seem to be working. On my backup MX, doing a telnet to 4190 gets me the proper greetings, but doing the same on my main server just gave me the normal telnet "Escape character is..."
</i>><i> > 
</i>><i> > I get the following info on the server:
</i>><i> > 
</i>><i> > <a href="https://dovecot.org/mailman/listinfo/dovecot">root at d0ba5bb19b6b</a>:/# doveadm service status managesieve
</i>><i> > name: managesieve
</i>><i> > process_count: 0
</i>><i> > process_avail: 0
</i>><i> > process_limit: 1024
</i>><i> > client_limit: 1
</i>><i> > throttle_secs: 0
</i>><i> > exit_failure_last: 0
</i>><i> > exit_failures_in_sec: 0
</i>><i> > last_drop_warning: 0
</i>><i> > listen_pending: n
</i>><i> > listening: y
</i>><i> > doveadm_stop: n
</i>><i> > 
</i>><i> > But when attempting to connect, it doesn't work.
</i>><i> > 
</i>><i> > Any advice?
</i>><i> > 
</i>><i> > Best,
</i>><i> > Francis 
</i>><i> >
</i></pre><br class="Apple-interchange-newline" style="caret-color: rgb(0, 0, 0);"></div></div></blockquote></div><br></body></html>