[Dovecot] Problem with a sieve file
Hello,
I use a simple sieve file like: require "fileinto";
if header :contains ["From"] ["root"] { redirect "test@domain.com"; }
When I send an email with root to this user, I have this error in my deliver log: Mar 12 09:43:18 helm deliver(user@domain.net): open(~/.temp.hostname.net.53398.23c1b1a363c2c4e8) failed: No such file or directory Mar 12 09:43:18 helm deliver(user@domain.net): msgid=<20080312084317.C01BD37FEC13@hostname.com>: forwarded to <test@domain.com>
Why I have this error? I don't understand it.
I use dovecot with Postfix (2.4) and FreeBSD (6.2) : dovecot-1.0.12 Secure and compact IMAP and POP3 servers dovecot-sieve-1.0.2 A sieve plugin for the Dovecot LDA called 'deliver'
See my config a sieve in my dovecot.conf:
mail_plugins = cmusieve quota (in protocol lda) sieve = /var/mail/vmail/%u/sieve (in plugin)
Thanks for your help.
- Nicolas.
Nicolas Letellier a écrit :
Hello,
I use a simple sieve file like: require "fileinto";
if header :contains ["From"] ["root"] { redirect "test@domain.com"; }
When I send an email with root to this user, I have this error in my deliver log: Mar 12 09:43:18 helm deliver(user@domain.net): open(~/.temp.hostname.net.53398.23c1b1a363c2c4e8) failed: No such file or directory Mar 12 09:43:18 helm deliver(user@domain.net): msgid=<20080312084317.C01BD37FEC13@hostname.com>: forwarded to <test@domain.com>
Why I have this error? I don't understand it.
I use dovecot with Postfix (2.4) and FreeBSD (6.2) : dovecot-1.0.12 Secure and compact IMAP and POP3 servers dovecot-sieve-1.0.2 A sieve plugin for the Dovecot LDA called 'deliver'
See my config a sieve in my dovecot.conf:
mail_plugins = cmusieve quota (in protocol lda) sieve = /var/mail/vmail/%u/sieve (in plugin)
Thanks for your help.
- Nicolas.
I re-send the message. With a vacation/redirect rule, I have this error in my deliver log. Is it normal? How solve it?
Thanks.
- Nicolas.
Nicolas Letellier a écrit :
I re-send the message. With a vacation/redirect rule, I have this error in my deliver log. Is it normal? How solve it?
Ok, I found. To fix this problem, userdb must return a home directory. More, this home directory *must be* an absolute path. Not a relative. Hope this could help somebody.
- Nicolas.
participants (1)
-
Nicolas Letellier