Trouble configuring managesive plugin for roundcube

Austin Witmer austin96 at
Sun Jul 10 04:31:04 UTC 2022

Hello all!

I’ve got a bit of a problem that I would like some help with. So, I have two servers, one is my mail server running postfix, dovecot etc. I have a second server setup as my roundcube server. Both servers are running on the same LAN network.

I have sieve scripts setup in dovecot in my mail server and they are working great! My trouble is that I can’t seem to make my roundcube talk correctly to managesieve on my mail server.

Here is the mail.log file from the mail server when I try to create a sievescript from roundcube webmail:

Jul 10 04:11:45 mail dovecot: managesieve-login: Disconnected: Too many invalid commands. (no auth attempts in 0 secs): user=<>, rip=, lip=, session=<cZMzomvjyNgKdAAD> 

And here is my managesieve configuration from my roundcube server. /var/www/roundcube/plugins/managesieve/


$config['managesieve_port'] = 4190;

$config['managesieve_host'] = 'ssl://';

$config['managesieve_auth_type'] = null;

$config['managesieve_auth_cid'] = null;

$config['managesieve_auth_pw'] = null;

$config['managesieve_usetls'] = false;

$config['managesieve_conn_options'] = array(
        'ssl' => array(
            'verify_peer'       => false,
            'allow_self_signed' => true,

$config['managesieve_default'] = 'var/lib/dovecot/sieve/default.sieve';

$config['managesieve_script_name'] = 'default.sieve';

$config['managesieve_mbox_encoding'] = 'UTF-8';

$config['managesieve_replace_delimiter'] = '';

$config['managesieve_disabled_extensions'] = [];

$config['managesieve_debug'] = true;

$config['managesieve_kolab_master'] = false;

$config['managesieve_filename_extension'] = '.sieve';

$config['managesieve_filename_exceptions'] = [];

$config['managesieve_domains'] = [];

$config['managesieve_default_headers'] = ['Subject', 'From', 'To'];

$config['managesieve_vacation'] = 0;

$config['managesieve_forward'] = 0;

$config['managesieve_vacation_interval'] = 0;

$config['managesieve_vacation_addresses_init'] = false;

$config['managesieve_vacation_from_init'] = false;

$config['managesieve_notify_methods'] = ['mailto'];

$config['managesieve_raw_editor'] = true;

$config['managesieve_disabled_actions'] = [];

$config['managesieve_allowed_hosts'] = null;

Does anybody have any clue why roundcube isn’t able to login in to managesieve on my mail server?

Are there more logs/configs you would like to see?

Thanks in advance for your help and suggestions!

Austin Witmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dovecot mailing list