On 19/03/2020 13:24 Alessio Cecchi alessio@skye.it wrote:
Il 19/03/20 02:01, John Stoffel ha scritto:
Alessio> ### user_query for vpopmail Alessio> user_query = SELECT pw_dir AS home, 89 AS uid, 89 AS gid, Alessio> concat('*:backend=', pw_shell) AS quota_rule FROM vpopmail Alessio> WHERE pw_name = '%n' AND pw_domain = '%d'
Careful! You need to explain that 89 is the UID and GID of the vpopmail user account? Or some other account? I don't use either of these auth methods, but this just struck me a a little magical.
Hi John,
what you said is true but historically in vpopmail environments uid and gid are usually hardcoded at 89
Anyone can check their uid and gid with "id vpopmail" command from shell and update as necessary.
-- Alessio Cecchi
You can also replace 89 with 'vpopmail' and let dovecot resolve the number.
Aki