[Dovecot] sieve script

Lampa lampacz at gmail.com
Mon Feb 1 12:09:27 EET 2010


2010/1/29 Steffen Kaiser <skdovecot at smail.inf.fh-brs.de>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 29 Jan 2010, Lampa wrote:
>
>> My script:
>> ---------------
>> if header :contains "from" ["user at domain1.tld", "user2 at domain2.tld",
>> "user3 at domain3.tld"] {
>>       redirect "foo1 at bar.tld";
>>       redirect "foo2 at bar.tld";
>> ....
>>       redirect "foo20 at bar.tld";
>> } else {
>>       keep;
>> }
>
> either add "stop;" after redirects or remove the else branch, because after
> the redirects you'll have the implict "keep", as far as I know.
>

Negative. I must specify keep after redirect to keep copy & redirect.

It's about implementation ?


-- 
Lampa


More information about the dovecot mailing list