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@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?
Regards Patrick