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
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/