Can't connect to Managesieve Server - what´s wrong?
Hi, please excuse my bad english language. But I am not a native speaker. I have installed dovecot including sieve and managesieve on a ubuntu 18.04 lts. When I try to access the filter with roundcube (from another vm) I get the error message "Cannot connect to Managesieve-Server". If I try a "telnet myserver.dynvpn.de 4190" from the roundcube-vm I get Trying 188.194.95.63... Connected to myserver.dynvpn.de. Escape character is '^]'. "IMPLEMENTATION" "Dovecot (Ubuntu) Pigeonhole" "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparat or-i;ascii-numeric relational regex imap4flags copy include variables body enoti fy environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve vnd.dovecot.imapsieve" "NOTIFY" "mailto" "SASL" "" "STARTTLS" "VERSION" "1.0" OK "Dovecot (Ubuntu) ready." So I think that dovecot managesieve is running. In /var/log/syslog I get with sieve: ... May 13 23:56:04 firstmail dovecot: imap(debian@firstmail.locallan): Debug: Module loaded: /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so ... When I try with telnet I get: ... May 14 00:00:30 firstmail dovecot: managesieve-login: Debug: SSL: elliptic curve secp384r1 will be used for ECDH and ECDHE key exchanges May 14 00:00:30 firstmail dovecot: managesieve-login: Debug: SSL: elliptic curve secp384r1 will be used for ECDH and ECDHE key exchanges ... What can I do to get connect from Roundcube to dovecot-managemsieve? Thank you! Tony ---> 20-imap.conf protocol imap { mail_plugins = $mail_plugins imap_sieve } ---> 20-lmtp.conf protocol lmtp { postmaster_address = administrator@locallan # required mail_plugins = $mail_plugins sieve } ---> 20-managesieve.conf protocols = $protocols sieve service managesieve-login { inet_listener sieve { port = 4190 } } service managesieve { # Max. number of ManageSieve processes (connections) process_limit = 1024 } protocol sieve { } ---> 90-sieve.conf plugin { sieve_plugins = sieve_imapsieve sieve_extprograms sieve_before = /var/vmail/sieve/global/spam-global.sieve sieve = file:/var/vmail/sieve/%u;active=/var/vmail/sieve/%u/active-script.sieve sieve_default = /var/vmail/sieve/default/default.sieve sieve_global = /var/vmail/sieve/global/ imapsieve_mailbox1_name = Spam imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_before = file:/var/vmail/sieve/global/report-spam.sieve imapsieve_mailbox2_name =
- imapsieve_mailbox2_from = Spam imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_before = file:/var/vmail/sieve/global/report-ham.sieve sieve_pipe_bin_dir = /usr/bin sieve_global_extensions = +vnd.dovecot.pipe } ---> 90-sieve-extprograms.conf plugin { }
Am 14.05.2020 um 00:22 schrieb Benny Pedersen:
On 2020-05-14 00:14, Anton Blau wrote:
What can I do to get connect from Roundcube to dovecot-managemsieve?
if roundcube is installed on same server as dovecot then disable ssl in roundcube managesive plugin as same way for imap and submission/smtps
Thank you for your very fast answer.
There are two virtual machines:
dovocot (postfix, rspamd)
roundcube
On 2020-05-14 00:28, Anton Blau wrote:
Thank you for your very fast answer. There are two virtual machines:
- dovocot (postfix, rspamd)
- roundcube
then use Lets Encrypt cert-bot to make correkt ssl and configure roundcube correct with ssl use also for plugins used
do i need to show my config ? :=)
have you enabled ssl on managesive in dovecot ?
you showed it works in telnet, not openssl s_client....
On 14-05-2020 8:28, Anton Blau wrote:
Am 14.05.2020 um 00:22 schrieb Benny Pedersen:
On 2020-05-14 00:14, Anton Blau wrote:
What can I do to get connect from Roundcube to dovecot-managemsieve?
if roundcube is installed on same server as dovecot then disable ssl in roundcube managesive plugin as same way for imap and submission/smtps
Thank you for your very fast answer.
There are two virtual machines:
dovocot (postfix, rspamd)
roundcube
Doesn't appear to be a Dovecot issue. By default Roundcube's managesieve plugin connects to localhost, you may have to tinker with its configuration to specify the dovecot host *and* enable tls. See https://github.com/roundcube/roundcubemail/blob/master/plugins/managesieve/c...
Cheers,
-- Adi Pircalabu
On 2020-05-14 01:42, Adi Pircalabu wrote:
https://github.com/roundcube/roundcubemail/blob/master/plugins/managesieve/c...
this is the important lines commented
but again telnet does not support ssl/tls
and localhost is overkill for it anyway
if dovecot have ssl/tls on managesive then
https://github.com/roundcube/roundcubemail/blob/master/plugins/managesieve/c... enable tls there and still uncomment first link here
i give up if its stilll not clear
Am 14.05.2020 um 01:42 schrieb Adi Pircalabu:
On 14-05-2020 8:28, Anton Blau wrote:
Am 14.05.2020 um 00:22 schrieb Benny Pedersen:
On 2020-05-14 00:14, Anton Blau wrote:
Doesn't appear to be a Dovecot issue. By default Roundcube's managesieve plugin connects to localhost, you may have to tinker with its configuration to specify the dovecot host *and* enable tls. See https://github.com/roundcube/roundcubemail/blob/master/plugins/managesieve/c...
Cheers,
Thank you very much Adi for this good advice. That was exactly the solution. Now the access works. Tony
participants (3)
-
Adi Pircalabu
-
Anton Blau
-
Benny Pedersen