On Sat, 04 Sep 2010 15:27:26 +0200 Patrick Westenberg pw@wk-serv.de articulated:
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@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@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@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@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?
This looks very much like a permissions problem. Please post the output of 'dovecot -n' and the "user/group" & modes set on "/var/mail/steulerfliesen.de/mail/mdbox/mailboxes/Spamverdacht" & "/var/mail/steulerfliesen.de/mail/mdbox/mailboxes/INBOX.Spamverdacht".
-- Jerry ✌ Dovecot.user@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
To get something clean, one has to get something dirty. To get something dirty, one does not have to get anything clean.