[Dovecot] dovecot-lda, sieve, maildir

Peter Fern dovecot at obfusc8.org
Mon Jul 3 04:56:00 EEST 2006


Frank Cusack wrote:
> I'm unable to get dovecot-lda with sieve filtering to deliver into
> maildir folders.  The examples on the wiki explicitly say "mbox", so
> I'm wondering, does the dovecot-lda sieve implementation not support
> filtering into maildir folders?
>
> -frank
Maildirs work fine, example:

require "fileinto";

# SPAM
if header :comparator "i;ascii-casemap" :is "X-DSPAM-Result" "Spam"  {
    fileinto "SPAM";
    stop;
}

# Subfolder
if address :all :comparator "i;ascii-casemap" :contains "From"
"someone at example.com"  {
    fileinto "INBOX.Somefolder";
    stop;
}



More information about the dovecot mailing list