[Dovecot] sieve forward/redirect to multiple addresses

Anil replicase at gmail.com
Fri Aug 29 17:11:23 EEST 2008


How can I do this with Sieve?
I have a script like this:

if header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"] ["25"]
{
        discard;
        stop;
}
elsif header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"] ["5"]
{
        fileinto "Junk";
        stop;
}
else
{
        redirect "user at test.com";
        redirect "user at example.com";
        keep;
}


Only the first redirect seems to be honored, the 2nd is not.

The only other alternative I see is that I have to create an alias
that contains those two addresses,
and then I redirect to that alias -- but I would prefer if I can do
this through sieve itself.

Thanks very much, sorry this is not Dovecot question... but this is on
a Dovecot mail server. :)


More information about the dovecot mailing list