[Dovecot] Moving a mail between folders and post-processing ?

Jerry Nicholls Jeremy.Nicholls at zeninternet.co.uk
Thu Aug 16 14:56:12 EEST 2007


Hi,

Within Dovecot is there a way of spotting a change to a folder and
running a post-processing script on the email that was moved ? I'm
specifically after a way of seeing either an email entering or leaving a
folder - preferably running a different post-process script depending on
the direction. Essentially if an email enters or is moved out of a
'spam' folder I'd like to mark it as 'spam'/'ham' in the Bayesian
filters respectively.

Is there any such mechanism, or should I start looking at how to write a
plugin to achieve this ? If it's the plugin route is there any good
documentation on the plugin APIs etc ?

Thanks,
Jerry.
-- 
Jerry Nicholls                       E: Jerry.Nicholls at zeninternet.co.uk
Core Systems & Networks Manager      W:            http://www.zen.co.uk/
Zen Internet Ltd.                    T:                    0845 058 9000
                                     F:                    0845 058 9005



More information about the dovecot mailing list