[Dovecot] Run command when moving messages
20 Apr
2008
20 Apr
'08
7:59 p.m.
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
23 Apr
23 Apr
12:05 a.m.
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:
6224
Age (days ago)
6225
Last active (days ago)
2 comments
3 participants
participants (3)
-
Alexander Prinsier
-
Johannes Berg
-
Juan Asensio Sánchez