[Dovecot] Fileinto to a maildir with sieve

Nicolas Letellier nicolas at nicoelro.net
Wed Mar 12 11:04:02 EET 2008


Hello,

Is it possible to specify a maildir to a fileinto rule in a sieve file? 
A simple:

require "fileinto";

if header :contains "X-Spam-Flag" "YES" {
         fileinto ".Junk";
}

does'nt work becaise .Junk is a directoty, not a mailbox... See my 
dovecot-deliver log:

Couldn't open mailbox .Junk: Invalid mailbox name
Mar 12 09:52:38 helm deliver(nicolas at nicoelro.net): sieve runtime error: 
Fileinto: Generic Error

Is it possible to specify a directory (maildir)?

Thanks.

- Nicolas.


More information about the dovecot mailing list