The Hermit Hacker wrote:
> 
> How would one do a redirect *and* a keep?
> 
> Basically, we want to do the equivalent of:
> 
> \user,user@domain
> 
> first thought was, by Vince, was:
> 
> if true {
>         keep;
>         redirect "user@domain";
> }
> 
> gave errors ...
> 
> how about something like:
> 
> if true {
>         keep && redirect "user@domain";
> }

Simply do:

redirect "user@domain";
keep;


The reason that you need the explicit 'keep' is because the 'redirect'
cancels the implicit 'keep'.  Check the sieve draft for details.

Ken
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to