Let's say I have a sieve script for a given zimbra account that puts some mail into a folder named "new_folder". Is there a way to trigger some outside process every time a new message is put into "new_folder"? Like, say, Every time a condition to put a mail into "new_folder" is true, the sieve script calls some function to put that same mail piece into a system wide directory on the system (say "/usr/var/anything"). Or maybe sieve can do it itself without any help from outside functions (which I doubt it can).
Any help appreciated.