<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <pre class="tw-data-text tw-text-large tw-ta" data-placeholder="Übersetzung" id="tw-target-text" style="text-align:left" dir="ltr"><span lang="en">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(<a class="moz-txt-link-abbreviated" href="mailto:debian@firstmail.locallan">debian@firstmail.locallan</a>): 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


</span>
<span lang="en"><span lang="en">---> 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
}
</span>


---> 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 = <a class="moz-txt-link-freetext" href="file:/var/vmail/sieve/%u;active=/var/vmail/sieve/%u/active-script.sieve">file:/var/vmail/sieve/%u;active=/var/vmail/sieve/%u/active-script.sieve</a>
    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 = <a class="moz-txt-link-freetext" href="file:/var/vmail/sieve/global/report-spam.sieve">file:/var/vmail/sieve/global/report-spam.sieve</a>

    imapsieve_mailbox2_name = *
    imapsieve_mailbox2_from = Spam
    imapsieve_mailbox2_causes = COPY
    imapsieve_mailbox2_before = <a class="moz-txt-link-freetext" href="file:/var/vmail/sieve/global/report-ham.sieve">file:/var/vmail/sieve/global/report-ham.sieve</a>

    sieve_pipe_bin_dir = /usr/bin
    sieve_global_extensions = +vnd.dovecot.pipe
}


---> 90-sieve-extprograms.conf

plugin {

}




</span></pre>
  </body>
</html>