5 Oct
2019
5 Oct
'19
5:20 a.m.
As experiment, you could maybe use mail_lua plugin to create the user directory on demand,
make a lua script with
function mail_user_created(user) -- create directory for user:home end
See https://doc.dovecot.org/plugin-settings/mail-lua-plugin/ and https://wiki.dovecot.org/Design/Lua
Aki
Thanks, Aki.
I've tried it out and it looks promising. The only issue is debugging, and the documentation isn't entirely clear to me. I need to figure out how to output some debug data to some kind console or file.
Asai