<br><br><div><span class="gmail_quote">2007/3/11, Erdenebat Gantomor <<a href="mailto:rklogin@gmail.com">rklogin@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In Postfix+Postfixadmin+Dovecot+SASL+MySQL case what is the best and<br>compact MySQL database structure for storing all configuration? What<br>will you suggest me guys? I've already installed postfixadmin and I'm
<br>confusing (actually my experience is not enough) extending and<br>organizing my database for postfix+dovecot. Please give me some quick tips.<br>--<br><div>In /etc/dovecot/dovecot-sql.conf you can see the sample structure with the minimum required fields:
<br><br># CREATE TABLE users (<br>#     userid VARCHAR(128) NOT NULL,<br>#     password VARCHAR(64) NOT NULL,<br>#     home VARCHAR(255) NOT NULL,<br>#     uid INTEGER NOT NULL,<br>#     gid INTEGER NOT NULL,<br>#     active CHAR(1) DEFAULT 'Y' NOT NULL
<br># );<br><br>In my case I changed to use always the same userid and
groupid, so that fields are not needed,  and if you plan to use virtual
domains, you will need to split userid to separate into id and domain.<br><br>
</div>Cheers <br><br><br>Best regards,<br><br> Erdenebat Guntomor/                   /mailto:<a href="mailto:RkLogin@gmail.com">RkLogin@gmail.com</a><br><br></blockquote></div><br>