Sieve question

Stephan Bosch stephan at rename-it.nl
Wed Feb 10 09:55:03 UTC 2016



Op 10-2-2016 om 10:30 schreef @lbutlr:
> On Feb 10, 2016, at 12:18 AM, A.L.E.C <alec at alec.pl> wrote:
>> require ["copy"]
>> if header :contains “from” “test at example.com” {
>>    redirect :copy “user1 at example.com”;
>>    redirect “user2 at example.com”;
>> }
> <sound of penny dropping>
>
> Ah, right, that makes sense. Thanks.

The copy extension is not needed here. The redirect action is explicit 
and will not be affected by cancellation of the implicit keep in the 
absence of ":copy".

Just keep in mind that the total number of redirects is limited (subject 
to configuration).

Regards,

Stephan.


More information about the dovecot mailing list