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.
On 12.03.2008 12:04, Nicolas Letellier wrote:> > 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"; > } >try fileinto "Junk"; -- WBR, Anton Yuzhaninov