23 May
2019
23 May
'19
9:11 a.m.
Maybe, one should drop the automatic at all and let the user specify the commands manually like with the userdb/passwd. Hence, the generic SQL preparation code is already present. There could/should/would be documented lots of "best practice" settings for various backends.
In fact, this approach would better fit into the open and more "general" base idea Dovecot uses in other places, IMHO.
Kind regards,
-- Steffen Kaiser
Hi!
You can write completely custom last_login plugin by using mail-lua plugin, by having functions
mail_user_created(user)
and
mail_user_deinit(user)
in your Lua script.
This of course requires v2.3.4 or later.
Aki