<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 05/10/2019 05:20 Asai via dovecot <
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
As experiment, you could maybe use mail_lua plugin to create the user directory on demand,
</div>
</blockquote>
<blockquote type="cite">
<div>
make a lua script with
</div>
</blockquote>
<blockquote type="cite">
<div>
function mail_user_created(user)
</div>
<div>
-- create directory for user:home
</div>
<div>
end
</div>
</blockquote>
<blockquote type="cite">
<div>
See
<a href="https://doc.dovecot.org/plugin-settings/mail-lua-plugin/" rel="noopener" target="_blank">https://doc.dovecot.org/plugin-settings/mail-lua-plugin/</a> and
<a href="https://wiki.dovecot.org/Design/Lua" rel="noopener" target="_blank">https://wiki.dovecot.org/Design/Lua</a>
</div>
</blockquote>
<blockquote type="cite">
<div>
Aki
</div>
</blockquote>
<div>
Thanks, Aki.
</div>
<div>
<br>
</div>
<div>
I've tried it out and it looks promising. The only issue is debugging,
</div>
<div>
and the documentation isn't entirely clear to me. I need to figure out
</div>
<div>
how to output some debug data to some kind console or file.
</div>
<div>
<br>
</div>
<div>
Asai
</div>
</blockquote>
<div>
<br>
</div>
<div>
And of course you could also use a postlogin script. See https://doc.dovecot.org/admin_manual/post_login_scripting/
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>