[Dovecot] Junk folder

mouss mouss at netoyen.net
Fri Mar 7 15:41:53 EET 2008


tomzu at buu.lv wrote:
> Hi,
>
> I'm using delivery like Postifx->Amavis->Dovecot LDA
> Is there a possibility to deliver mail marked as spam (Subject, header) to
> Junk folder?
>   

do not hijack threads. compose a new message instead of replying to an 
unrelated one.

you need dovecot-sieve. then use something like:

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




More information about the dovecot mailing list