Triggering a server action on a specific event

Posted by Oli on Server Fault See other posts from Server Fault or by Oli
Published on 2009-09-28T08:50:25Z Indexed on 2010/04/01 1:03 UTC
Read the original article Hit count: 284

Filed under:
|

I would like to launch a specific command [1] on a mail server whenever a message is moved from one folder into another folder.

For example, a Thunderbird user moves a message from folder A to Folder B. I'd like to catch this move and launch a specific script on the server.

Is it possible ?

I'm using qmail with courier-imap.

[1] bash or python script, ...

© Server Fault or respective owner

Related posts about qmail

Related posts about imap