hello,
having some bother getting managesieve plugin to work.
worked with previous install of roundcube, was called managesieve in
webpage settings/filters
now is called roundcube.
Is writing filter rules to ~/sieve/roundcube.sieve but emails are not
moved.
is Roundcube Webmail 1.3.5. Debian testing. dovecot --version 2.2.35
(b1cb664)
is just for local network.
I don't know what is the problem. Probably something dumb.
did these things from various destructions on internet
apt-get install dovecot-sieve dovecot-managesieved
---
in /etc/dovecot/conf.d/20-lmtp.conf we add this:
protocol lmtp {
postmaster_address = [email protected]
mail_plugins = $mail_plugins sieve
}
(didn't have 20-lmtp.conf but installed it just in case that was the
problem)
apt install dovecot-lmtpd
----
edit /etc/dovecot/conf.d/90-sieve.conf and inside “plugin”
configuration add:
sieve = ~/.dovecot.sieve
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/lib/dovecot/sieve/
(left this bit alone as
sieve = file:~/sieve;active=~/.dovecot.sieve
was already there, there is a link in ~/ to ~/sieve/roundcube.sieve)
----
edit /etc/dovecot/conf.d/20-managesieve.conf for enable listing on port
4190, >this should be >the top of config file:
##
## ManageSieve specific settings
##
protocols = $protocols sieve
# Service definitions
service managesieve-login {
inet_listener sieve {
port = 4190
}
(can't remember if this was there or not but is now )
----
service dovecot restart
----
If you try to telnet 4190 it should answer as follow
root@server:/# telnet 127.0.0.1 4190
( this works get
# telnet 127.0.0.1 4190 Trying
127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot (Debian) Pigeonhole"
"SIEVE" "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"
"NOTIFY" "mailto"
"SASL" "PLAIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready." )
----
Activate the plugin in roundcube config file
roundcube_folder/config/config.inc.php:
$rcmail_config['plugins'] = array(......, 'sieverules');
don't have sieverules plugin have managesieve
and is $config['plugins'] not rcmail_config
----------
# telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE START TLS AUTH=PLAIN] Dovecot ready.
mick
--
Key ID 4BFEBB31
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users