1 Nov
2004
1 Nov
'04
4:20 p.m.
On 28.10.2004, at 01:25, Adam Pordzik wrote:
is it possible to intercept user's action whe he renames a folder? My goal is to adjust shell-scripts or procmailrc to the new name.
It should be possible by creating a plugin to do so, but there are no examples yet so you'd have to look into that yourself.. Probably works if you just create your own RENAME-handler, copy&pasted from the src/imap/cmd-rename.c but with an extra system() call.
http://dovecot.org/patches/namespace.c has an example how to hook commands.