[Dovecot] managesieve problem
Hi,
I'm using roundcube in combination with postfix (2.6.6), dovecot (2.0.9) and pigeonhole (2.0.9). All works well except sieve. I've already posted on the roundcube forum (http://www.roundcubeforum.net/index.php/topic,9690.0.html ) but was told I should ask here since it's more likely a dovecot issue rather than roundcube.
The problem is that if I want to manage sieve filters from roundcube, I get this error in maillog:
Sep 5 12:55:39 emperor dovecot: managesieve-login: Login: user=leon@EXAMPLE.COM, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=1575, secured Sep 5 12:55:39 emperor dovecot: managesieve(leon@EXAMPLE.COM): Error: sieve-storage: stat((null)) failed: Bad address Sep 5 12:55:39 emperor dovecot: managesieve(leon@EXAMPLE.COM): Error: sieve-storage: stat((null)) failed: Bad address Sep 5 12:55:39 emperor dovecot: managesieve(leon@EXAMPLE.COM): Fatal: Failed to open Sieve storage
The managesieve daemon is listening though:
emperor ~ # netstat -tlpne | grep dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:*
LISTEN 0 1275042 362/dovecot
tcp 0 0 0.0.0.0:2000 0.0.0.0:*
LISTEN 0 1275037 362/dovecot
tcp 0 0 0.0.0.0:4190 0.0.0.0:*
LISTEN 0 1275035 362/dovecot
tcp 0 0 0.0.0.0:993 0.0.0.0:*
LISTEN 0 1275044 362/dovecot
tcp 0 0 :::143 :::*
LISTEN 0 1275043 362/dovecot
tcp 0 0 :::2000 :::*
LISTEN 0 1275038 362/dovecot
tcp 0 0 :::4190 :::*
LISTEN 0 1275036 362/dovecot
tcp 0 0 :::993 :::*
LISTEN 0 1275045 362/dovecot
emperor ~ # telnet localhost 4190 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Dovecot Pigeonhole" "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date spamtest spamtestplus" "NOTIFY" "mailto" "SASL" "PLAIN" "STARTTLS" "VERSION" "1.0" OK "Dovecot ready."
Before I paste any configuration files, I wanted to ask first if this is a common/known issue. Else, please let me know what additional information I should provide.
Thanks in advance!
kind regards,
Léon
Op 9/5/2012 1:00 PM, Léon Keijser schreef:
Hi,
I'm using roundcube in combination with postfix (2.6.6), dovecot (2.0.9) and pigeonhole (2.0.9). All works well except sieve. I've already posted on the roundcube forum (http://www.roundcubeforum.net/index.php/topic,9690.0.html ) but was told I should ask here since it's more likely a dovecot issue rather than roundcube. [...] Before I paste any configuration files, I wanted to ask first if this is a common/known issue. Else, please let me know what additional information I should provide.
The issue does look familiar and most likely it is already solved. But, the latest release of Dovecot v2.0 is v2.0.21, making your version ancient.
Upgrade first.
Regards,
Stephan.
Hi Stephan,
On Wed, 2012-09-05 at 13:16 +0200, Stephan Bosch wrote:
Op 9/5/2012 1:00 PM, Léon Keijser schreef:
Hi,
I'm using roundcube in combination with postfix (2.6.6), dovecot (2.0.9) and pigeonhole (2.0.9). All works well except sieve. I've already posted on the roundcube forum (http://www.roundcubeforum.net/index.php/topic,9690.0.html ) but was told I should ask here since it's more likely a dovecot issue rather than roundcube. [...] Before I paste any configuration files, I wanted to ask first if this is a common/known issue. Else, please let me know what additional information I should provide.
The issue does look familiar and most likely it is already solved. But, the latest release of Dovecot v2.0 is v2.0.21, making your version ancient.
Upgrade first.
Upgraded to 2.0.21. Now I get this error:
Sep 5 14:34:29 emperor dovecot: managesieve(leon@EXAMPLE.COM): Error: sieve-storage: userdb(leon@EXAMPLE.COM) didn't return a home directory for substitition in storage root directory (sieve_dir=~/sieve) Sep 5 14:34:29 emperor dovecot: managesieve(leon@EXAMPLE.COM): Fatal: Failed to open Sieve storage.
regards,
Léon
On Wed, 2012-09-05 at 14:49 +0200, Léon Keijser wrote:
Upgraded to 2.0.21. Now I get this error:
Sep 5 14:34:29 emperor dovecot: managesieve(leon@EXAMPLE.COM): Error: sieve-storage: userdb(leon@EXAMPLE.COM) didn't return a home directory for substitition in storage root directory (sieve_dir=~/sieve) Sep 5 14:34:29 emperor dovecot: managesieve(leon@EXAMPLE.COM): Fatal: Failed to open Sieve storage.
I should probably mention that I have virtual domains/users, all located in /home/vmail/EXAMPLE.COM/<username>. Usually the virtual user is not a real user on the box.
regards,
Léon
Op 9/5/2012 3:26 PM, Léon Keijser schreef:
On Wed, 2012-09-05 at 14:49 +0200, Léon Keijser wrote:
Upgraded to 2.0.21. Now I get this error:
Sep 5 14:34:29 emperor dovecot: managesieve(leon@EXAMPLE.COM): Error: sieve-storage: userdb(leon@EXAMPLE.COM) didn't return a home directory for substitition in storage root directory (sieve_dir=~/sieve) Sep 5 14:34:29 emperor dovecot: managesieve(leon@EXAMPLE.COM): Fatal: Failed to open Sieve storage.
I should probably mention that I have virtual domains/users, all located in /home/vmail/EXAMPLE.COM/<username>. Usually the virtual user is not a real user on the box.
This should provide all the info you need on that:
http://wiki2.dovecot.org/VirtualUsers/Home
Regards,
Stephan.
On Wed, 2012-09-05 at 15:29 +0200, Stephan Bosch wrote:
I should probably mention that I have virtual domains/users, all located in /home/vmail/EXAMPLE.COM/<username>. Usually the virtual user is not a real user on the box.
This should provide all the info you need on that:
Works like a charm now, thanks! :)
regards,
Léon
participants (2)
-
Léon Keijser
-
Stephan Bosch