Displaying 8 results from an estimated 8 matches for "mail_user_created".
2014 May 24
4
Plugin mail-filter tangles
...d to Postfix : one copy is delivered outside, the
other is passed to Dovecot via LMTP for user2 & user3 @dovecot
Dovecot is handling the final delivery, through mail-filter plugin as
follow :
1. both users contexts are created from user_db queries
2. mail-filter plugin is init for user2
3. /mail_user_created/ for user2
4. mai-filter plugin arguments are parsed for user2
5. ???/mail_allocated/ then /mail_save_begin/ for user2 (at this stage,
the email is encrypted with users2 params)
6. Dovecot tells to LMTP that mail for user2 is delivered
7. then, ??? we are still in user2 context ???, an othe...
2019 Oct 05
1
Home Directory Creation
...e 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-lu...
2019 Oct 04
2
Home Directory Creation
...eply.
>
> We're just using a SQL backend to store user info. How does this get done with LDAP? Perhaps we can do the same with a SQL backend.
>
> Asai
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
2014 Jun 05
1
Plugin mail-filter tangles
...-BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 24 May 2014, Stanislas SABATIER wrote:
> Dovecot is handling the final delivery, through mail-filter plugin as
> follow :
>
> 1. both users contexts are created from user_db queries
> 2. mail-filter plugin is init for user2
> 3. /mail_user_created/ for user2
> 4. mai-filter plugin arguments are parsed for user2
> 5. ???/mail_allocated/ then /mail_save_begin/ for user2 (at this stage,
> the email is encrypted with users2 params)
> 6. Dovecot tells to LMTP that mail for user2 is delivered
> 7. then, ??? we are still in user2...
2019 Oct 04
2
Home Directory Creation
> On 4 Oct 2019, at 0.47, Asai via dovecot <dovecot at dovecot.org> wrote:
>
> One thing Timo mentioned in this post (https://dovecot.org/list/dovecot/2013-May/090397.html) is: "You could also change your new user creation to trigger mkdiring the user's home."
>
> Does anyone know where I can find any documentation on this, or has anyone done this?
>
It
2019 Oct 05
0
Home Directory Creation
> 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...
2011 May 09
1
Post-login scripting with mail_drop_priv_before_exec in dovecot2
Hi,
I'm in the process of upgrading from dovecot v1.1 to dovecot 2. We fetch
uid/gid user information from a database and also use post-login
scripting with mail_drop_priv_before_exec = yes which means the
postlogin script is executed with the permissions of the user we have
found in the database.
According to the dovecot2 wiki page, to get this behaviour in version 2
we have to set the
2019 May 22
3
Dict issue with PostgreSQL for last_login plugin (duplicate key)
On 21/05/2019 15:45, mabi via dovecot wrote:
> ??????? Original Message ???????
> On Monday, May 20, 2019 12:37 AM, John Fawcett via dovecot
> <dovecot at dovecot.org> wrote:
>
>> So looking into this with a postgresql databse to work with: the
>> above query does not work. You have to specify either the column name
>> or the constraint name that you expect to