Ian Castle wrote:
>
> On Fri, 2001-11-09 at 14:52, Dave McCracken wrote:
> >
> > I have a question, though. If a sieve script does a 'fileinto' to redirect
> > mail to another folder, does the sieve script for that folder get run?
> > Intuitively I think it should, but what are the implications?
>
> Interesting. That would probably require quite a big change to the
> "deliver" mechanism - as the message would have to be reintroduced into
> the process flow... Currently, it is a single "arrives + sieved + stored
> in mailbox"....
>
> ... An alternative approach might be to implement the "redirect" feature
> in sieve. So that 'fileinto "some.folder"' wouldn't do any extra
> processing, but 'redirect "bb+some.folder@localhost"' would cause the
> mail to be reintroduced to lmtpd, where it would be processed by the
> script for the folder. Potentially, there is more processing overhead -
> but the script writer gets to have explicit control of the processing
> behaviour, and it would probably be easier to implement - and a bit
> easier to understand any "side effects" of the message processing flow.
CMU Sieve already has the 'redirect' action as described in RFC3028.
The message will go back out to your mail relayer which will in turn
will spawn lmtpd .... So the capabilties that you describe above
already exist.
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