[Dovecot] How to call a script when an E-Mail will moved in a folder?

Andrew Roberts amr at noom.org
Thu Apr 30 20:09:58 EEST 2009


On Thu, 30 Apr 2009, Luca Bertoncello wrote:

> How can I trigger an action (script calling) based on event (E-Mail will be
> moved to a folder) in Dovecot?

If you run a recent linux kernel (>=2.6.13) configured with inotify 
support, you can set up incron to run your existing scripts, but 
triggered by a filesystem event insted of a time period.  It's worked 
well for my purposes for the last two plus years.


More information about the dovecot mailing list