[Dovecot] post-logout scripting
Hi all,
I found this (http://www.dovecot.org/list/dovecot/2010-January/045717.html) describing how to do a post-logout script. But is this valid anymore? It seems I'm getting error when trying to execute imap process in post-logout script and post logout documentation does not talk about executing imap.
I'm trying to umount (virtual) user home directory when user logs out.
Thanks, - Jouko
On 26.11.2013, at 8.44, Jouko Nikula <jonikula@gmail.com> wrote:
I found this (http://www.dovecot.org/list/dovecot/2010-January/045717.html) describing how to do a post-logout script. But is this valid anymore? It seems I'm getting error when trying to execute imap process in post-logout script and post logout documentation does not talk about executing imap.
No, doesn’t work that way anymore. You could instead use this: http://dovecot.org/patches/2.2/imap-logout-plugin.c
On Mon, Dec 9, 2013 at 4:49 AM, Timo Sirainen <tss@iki.fi> wrote:
No, doesn’t work that way anymore. You could instead use this: http://dovecot.org/patches/2.2/imap-logout-plugin.c
Thanks for your reply! This works for me. However, if I want to do the same for pop3 logout do I need a separate plugin for it or can I do both in same plugin? If I try to include both "imap-common.h" "pop3-common.h" in same plugin I get type conflicts.
participants (2)
-
Jouko Nikula
-
Timo Sirainen