[Dovecot] copy LDA rule

Nicolas Letellier nicolas at nicoelro.net
Wed Dec 24 12:50:36 EET 2008


Hi dovecot at .

I use the last dovecot (1.1.7) with sieve-plugin. All works perfectly.
However, I would like to use a "copy" function. All mail sent by "toto at domain.tld" have to be copied in a folder (copy, and not move).

So, I don't want to use a fileinto rule.

I see in http://wiki.dovecot.org/LDA/Sieve there is a copy function (1.1 only).

A rule like:

if header :contains "From" "toto at domain.tld" {
        copy "test";
        stop;
}

does not work. I have nothing into my deliver or dovecot log. However, if I replace copy by fileinto, it works. But I want to copy the email, not move it. I don't find any examples in the Internet or the wiki.

Could you help me?

Thanks!

-- 
 -Nicolas.


More information about the dovecot mailing list