On 05/10/2019 05:20 Asai via dovecot < dovecot@dovecot.org> wrote:


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

And of course you could also use a postlogin script.  See https://doc.dovecot.org/admin_manual/post_login_scripting/
---
Aki Tuomi