[Dovecot] Sieve & auto_create mail_home
Hello
In my setup I have the following in dovecot.conf (dovecot 2.0.12)
mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n
My problem is with the autocreation of mail_home. We are using roundcube+sieve plugin and the first time a user tries to use sieve fails with this:
May 9 12:13:52 buzon dovecot: managesieve(a_poor_user@mydomain): Error: sieve-storage: open(/buzones/my_domain/0a/94/javierdemiguel/home_usuario/sieve//tmp/roundcube-1304936032.M335644P23819.mydomain.sieve) failed: No such file or directory
In the second attempt works without problems, the folder "home_usuario" is created after failing the first. How can I fix this?
Regards
Maria
Le lundi 9 mai 2011 12:19, Maria Arrea a écrit :
Hello
In my setup I have the following in dovecot.conf (dovecot 2.0.12)
mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices /%2.26Hn/%2.200Hn/%n
My problem is with the autocreation of mail_home. We are using roundcube+sieve plugin and the first time a user tries to use sieve fails with this:
May 9 12:13:52 buzon dovecot: managesieve(a_poor_user@mydomain): Error: sieve-storage: open(/buzones/my_domain/0a/94/javierdemiguel/home_usuario/sieve//tmp/roundc ube-1304936032.M335644P23819.mydomain.sieve) failed: No such file or directory
In the second attempt works without problems, the folder "home_usuario" is created after failing the first. How can I fix this?
Regards
Maria
this setting work well on a simple config with /home/user/Maildir
sieve + autocreate
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7 gpg --keyserver pgp.mit.edu --recv-key 092164A7
On Mon, 2011-05-09 at 10:19 +0000, Maria Arrea wrote:
mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n
May 9 12:13:52 buzon dovecot: managesieve(a_poor_user@mydomain): Error: sieve-storage: open(/buzones/my_domain/0a/94/javierdemiguel/home_usuario/sieve//tmp/roundcube-1304936032.M335644P23819.mydomain.sieve) failed: No such file or directory
I guess normally this won't show up because normally mail directory is under home dir, not vice versa.
But I couldn't reproduce this myself anyway. The sieve/tmp/ dir is created at startup and I can't really think of where that open() error is coming from if it's done earlier. Stephan?
Op 10-5-2011 17:54, Timo Sirainen schreef:
On Mon, 2011-05-09 at 10:19 +0000, Maria Arrea wrote:
mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n
May 9 12:13:52 buzon dovecot: managesieve(a_poor_user@mydomain): Error: sieve-storage: open(/buzones/my_domain/0a/94/javierdemiguel/home_usuario/sieve//tmp/roundcube-1304936032.M335644P23819.mydomain.sieve) failed: No such file or directory I guess normally this won't show up because normally mail directory is under home dir, not vice versa.
But I couldn't reproduce this myself anyway. The sieve/tmp/ dir is created at startup and I can't really think of where that open() error is coming from if it's done earlier. Stephan?
Strange, it looks as though auto-creation is skipped for some reason. Could you enable mail_debug and show the (debug) log lines preceding the error?
Regards,
Stephan.
participants (4)
-
fakessh
-
Maria Arrea
-
Stephan Bosch
-
Timo Sirainen