[Dovecot] Problems with dovecot 2.0, sieve and mdbox

Patrick Westenberg pw at wk-serv.de
Sat Sep 4 16:27:26 EEST 2010


Hi guys,

I tried to use a global sieve skript to sort spam mails into
a subfolder of INBOX. I´m using mdbox.

The log shows that the script is called and executed but it is
not able to find or create the mailbox:

Sep  4 15:18:55 mercury dovecot: lmtp(6237, mail at steulerfliesen.de): 
Debug: Namespace : Permission lookup failed from 
/var/mail/steulerfliesen.de/mail/mdbox/mailboxes/Spamverdacht
Sep  4 15:18:55 mercury dovecot: lmtp(6237, mail at steulerfliesen.de): 
Debug: Namespace : Using permissions from 
/var/mail/steulerfliesen.de/mail/mdbox: mode=0700 gid=-1

Sep  4 15:22:37 mercury dovecot: lmtp(6261, mail at steulerfliesen.de): 
Debug: Namespace : Permission lookup failed from 
/var/mail/steulerfliesen.de/mail/mdbox/mailboxes/INBOX.Spamverdacht
Sep  4 15:22:37 mercury dovecot: lmtp(6261, mail at steulerfliesen.de): 
Debug: Namespace : Using permissions from 
/var/mail/steulerfliesen.de/mail/mdbox: mode=0700 gid=-1

My skript looks like this:

require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
   fileinto "Spamverdacht";
}

I also tried:

require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
   fileinto "INBOX.Spamverdacht";
}

How can I fix this?

Regards
Patrick


More information about the dovecot mailing list