Action on move to folder

Adam Tauno Williams awilliam at
Thu Sep 2 16:27:26 EDT 2010

On Thu, 2010-09-02 at 22:17 +0200, Julien Vehent wrote:
> Hello cyrus folks,
> I would like to find a solution to easily feed dspam, and I was 
> wondering if there would be an elegant way to trigger an action when a 
> message is moved to a specific folder. ie:
> move message 'm' to folder 'spam' triggers 'send m to 
> spam at' (or even better, launch an external program with 'm' 
> as an argument).
> Can imapd do that ? Sieve maybe ?

I haven't found a way.  

It would be great; we use RabbitAMQ extensively and I've looked for a
way to *reliably* pop a message append-to-folder-XYZ into the queue.
You can scrape the logs or fad the filesystem folder, but neither ends
up being terribly *reliable*.

Adam Tauno Williams <awilliam at> LPIC-1, Novell CLA
OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba

More information about the Info-cyrus mailing list