Hi, The easiest way to do this seems to me is adapting the dspam backend of the antispam plugin to a generic "exec" backend, that calls some program.
The antispam plugin was designed to do exactly this, monitoring moving messages, so you better make use of it ;) Alexander Juan Asensio Sánchez wrote: > Hi > > Is it possible to run a command when a message is moved from a folder > to another? I want this to simulate the antispam plugin, so one script > would be ran when a message is moved to/from the spam folder, so the > sa-learn command would be called. > > Thanks
