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. Ian.