[Dovecot] Can't get sieve/managedsieve working
Hi,
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . Now I wanted to add sieve to filter mails. Unfortunately most tutorials are for dovecot 1.x but I'm running dovecot 2 on debian wheezy. I could upload some scripst with sieve-connect, checked and activated them. When I try to edit filters with thunderbird sieve plugin 0.2.2 nothing happens. If I try to edit filters with roundcube managesieve plugin nothing happens, too, but I get some errors in logfile:
roundcube: "Authentication failed." (3) roundcube: Not currently in AUTHORISATION stata (1): Can someone help me, to get it running?
# 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.6.11+ armv6l Debian 7.2 auth_debug = yes auth_debug_passwords = yes auth_verbose = yes auth_verbose_passwords = plain lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * mail_location = mbox:~/mail:INBOX=/var/mail/%u managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace { inbox = yes location = mailbox { special_use = \Drafts name = Drafts } mailbox { special_use = \Junk name = Junk } mailbox { special_use = \Sent name = Sent } mailbox { special_use = \Sent name = Sent Messages } mailbox { special_use = \Trash name = Trash } prefix = name = inbox } passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } postmaster_address = stefan@localhost protocols = " imap sieve" service replication-notify-fifo { name = aggregator } service anvil-auth-penalty { name = anvil } service auth-worker { name = auth-worker } service auth-client { name = auth } service config { name = config } service dict { name = dict } service login/proxy-notify { name = director } service dns-client { name = dns_client } service doveadm-server { name = doveadm } service imap { name = imap-login } service login/imap { name = imap } service indexer-worker { name = indexer-worker } service indexer { name = indexer } service ipc { name = ipc } service lmtp { name = lmtp } service log-errors { name = log } service { inet_listener { port = 4190 name = sieve } name = managesieve-login } service login/sieve { name = managesieve } service pop3 { name = pop3-login } service login/pop3 { name = pop3 } service replicator { name = replicator } service login/ssl-params { name = ssl-params } service stats-mail { name = stats } ssl_cert =
Am 08.11.2013 22:19, schrieb Alter Depp:
Hi,
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . Now I wanted to add sieve to filter mails. Unfortunately most tutorials are for dovecot 1.x but I'm running dovecot 2 on debian wheezy. I could upload some scripst with sieve-connect, checked and activated them. When I try to edit filters with thunderbird sieve plugin 0.2.2 nothing happens. If I try to edit filters with roundcube managesieve plugin nothing happens, too, but I get some errors in logfile:
roundcube: "Authentication failed." (3) roundcube: Not currently in AUTHORISATION stata (1): Can someone help me, to get it running? An wild guess but it may help if you define mail_home as well.
Am 2013-11-08 22:31, schrieb Achim Gottinger:
Am 08.11.2013 22:19, schrieb Alter Depp:
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . An wild guess but it may help if you define mail_home as well.
Does this setting exist in dovecot 2? Where should I set it and to what?
Stefan
Am 09.11.2013 14:01, schrieb Stefan Liebl:
Am 2013-11-08 22:31, schrieb Achim Gottinger:
Am 08.11.2013 22:19, schrieb Alter Depp:
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . An wild guess but it may help if you define mail_home as well.
Does this setting exist in dovecot 2? Where should I set it and to what?
Stefan I had to let mail_home point to an different folder that mail_location, but i use virtual users and dovecot runs as user vmail only. http://wiki2.dovecot.org/VirtualUsers/Home. The thunderbird sieve addon works here with plaintext passwords over imap or imaps. It does not work with kerberos authetication and may have an problem with tls as well. You said you can upload scipts with sieve-connect, do they apply to incoming mails? I'd go through the manual login and upload tests described here as well http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Troubleshooting?highlight=%28sieve%29|%28telnet%29
achim~
Hi Alter,
On Fri, Nov 8, 2013 at 3:19 PM, Alter Depp Alter.Depp@gmx.de wrote:
Hi,
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . Now I wanted to add sieve to filter mails. Unfortunately most tutorials are for dovecot 1.x but I'm running dovecot 2 on debian wheezy. I could upload some scripst with sieve-connect, checked and activated them. When I try to edit filters with thunderbird sieve plugin 0.2.2 nothing happens. If I try to edit filters with roundcube managesieve plugin nothing happens, too, but I get some errors in logfile:
roundcube: "Authentication failed." (3) roundcube: Not currently in AUTHORISATION stata (1):
Can someone help me, to get it running?
I've a similar design with Dovecot 2.1.7 and Roundcube 0.9.x. I'm using the SieveRules plugin from JohnDoh and Pigeonhole in Dovecot.
I followed the wiki and everything worked fine, maybe this can help you: http://wiki2.dovecot.org/Pigeonhole/
For example, my configs look something like: #[...] protocols = imap lmtp sieve protocol lmtp { mail_plugins = $mail_plugins sieve } service managesieve-login { inet_listener sieve { port = 4190 } service_count = 1 } #[...]
Regards, Manuel Delgado
*Usuario Linux* *#520940 http://counter.li.org/*
Bach. Computación e Informática Universidad de Costa Rica
Am 2013-11-08 22:58, schrieb Manuel Delgado:
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . I've a similar design with Dovecot 2.1.7 and Roundcube 0.9.x. I'm using
On Fri, Nov 8, 2013 at 3:19 PM, Alter Depp Alter.Depp@gmx.de wrote: the SieveRules plugin from JohnDoh and Pigeonhole in Dovecot.
I have tried the managesieve plugin shipped with roundcube git and now switched to SieveRules. But it still can't connect to server.
I followed the wiki and everything worked fine, maybe this can help you: http://wiki2.dovecot.org/Pigeonhole/
I'm a little confused about this guide because it says:
The only thing you need to do to activate the ManageSieve protocol support in Dovecot is to add sieve to the protocols= configuration line in your dovecot.conf. I thought, the 'protocols=' isn't used anymore in dovecot 2.
For example, my configs look something like: #[...] protocols = imap lmtp sieve
So I installed dovecot-lmtp. But no difference.
Stefan
Hi
with modern Thunderbird Versions you will need to use the daily snapshot of the Thunderbird SIEVE extension, since 0.2.2 doesn't work any more.
Regards Daniel
Am 2013-11-08 22:19, schrieb Alter Depp:
I am running dovecot 2.1.7 for a while, with roundcube webmail frontend 0.9.5 . Now I wanted to add sieve to filter mails. I could upload some scripst with sieve-connect, checked and activated them. When I try to edit filters with thunderbird sieve plugin 0.2.2 nothing happens. If I try to edit filters with roundcube managesieve plugin nothing happens, too, but I get some errors in logfile:
roundcube: "Authentication failed." (3) roundcube: Not currently in AUTHORISATION stata (1):
After some debugging sessions I found the solution in file 10-auth.conf:
disable_plaintext_auth = no
Stefan
participants (5)
-
Achim Gottinger
-
Alter Depp
-
Daniel Parthey
-
Manuel Delgado
-
Stefan Liebl