libsieve and :copy extension
Ken Murchison
ken at oceana.com
Mon Jul 11 21:44:45 EDT 2005
Eric Berggren wrote:
>>>Any current efforts to add RFC3894 (the ":copy" extension) to libsieve ?
>
>
>>Ken added this to the 2.3 CVS branch a few months back (yep, I wanted it
>>as well :)
>
>
> Cool.
>
> Though, I thought that "fileinto" is a terminal action (unless one
> specifies "keep", processing stops there).
No. The Sieve scripts will always continue to execute to the end unless
it hits a 'stop' or an error. The only side effect of the other actions
(fileinto, redirect, etc) is that they cancel the implicit keep.
> But,
>
> if allof (address :contains ["From"] ".") {
> fileinto "INBOX.incoming-current";
> }
> if allof (address :contains ["From"] ".") {
> fileinto "INBOX.incoming-current2";
> }
>
> Results in article being delivered to both - likewise with "discard". In
> which case what's "copy" for then ? ?:/
>
>
> -ericb
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
--
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
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list