<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Il 19/03/20 02:01, John Stoffel ha
scritto:<br>
</div>
<blockquote type="cite"
cite="mid:24178.50307.332392.9902@quad.stoffel.home">Alessio>
### user_query for vpopmail
<pre class="moz-quote-pre" wrap="">
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.
</pre>
</blockquote>
<p>Hi John,</p>
<p>what you said is true but historically in vpopmail environments
uid and gid are usually hardcoded at 89</p>
<p>Anyone can check their uid and gid with "id vpopmail" command
from shell and update as necessary.<br>
</p>
<pre class="moz-signature" cols="72">--
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a></pre>
</body>
</html>