I have sieve working fine with dovecot.
I can edit the filters via ssh and they do the right thing.
My mail server is on a different IP than the Dovecot install, which makes login a bit more complicated, but login works properly for roundcube's mail access, but the same config options do not seem to work with the managesieve plugin. I've tried a few options, googled about, and figured I'd ask:
IMAP config, which works, looks like:
$config['default_host'] = 'ssl://mail.domain.tld'; $config['default_port'] = 993; $config['imap_conn_options'] = array( 'ssl' => array( 'verify_peer' => false, 'verfify_peer_name' => false, ), );
this connects generating log entries like:
Jul 13 10:56:36 imap-login: Info: Login: user=me@domain.tld, method=PLAIN, rip=10.3.69.139, lip=10.3.69.135, mpid=21055, TLS, session=<1nRXpzZUIVUKA0WL>
(all good).
Configuring the manage sieve plugin as:
$config['managesieve_port'] = 4190;
$config['managesieve_host'] = 'ssl://mail.domain.tld';
$config['managesieve_auth_type'] = plain;
$config['managesieve_auth_cid'] = '%u';
$config['managesieve_auth_pw'] = '%p';
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verfify_peer_name' => false,
),
);
$config['managesieve_conn_options'] = null;
when I select the filters icon, the logs show:
Jul 13 10:59:47 managesieve-login: Info: Disconnected: Too many invalid commands. (no auth attempts in 0 secs): user=<>, rip=10.3.69.139, lip=10.3.69.135, session=<7gnCsjZUkpoKA0WL>
Seems to be opening a connection, but not speaking the right connection languge....
Also, alas, $config['managesieve_debug'] = true;
does not result in /var/log/sieve being generated (or after being created, being populated)
Any hints very much appreciated.