On Mon, Oct 5, 2009 at 6:40 PM, jean-francois <[email protected]> wrote:
> Ok. I tried the dovecot-sql-example.conf. Is that a mistake ?
> If the password is a complete sentence, how to handle it ? with
> password='password is yet another sentence' or maybe with "" ?
> That's another point where I could not find much detailed answer to in
> the Dovecot project documentation.

Here's one working for me, this is not however on a *BSD system but a
Linux one, still, i believe this is valid documentation since you are
already out of topic :)

driver = mysql
connect = host=127.0.0.1 dbname=emails user=email password=email_password
default_pass_scheme = MD5-CRYPT
password_query = SELECT pass FROM mbox WHERE user = '%u'
user_query = SELECT maildir, 10000 AS uid, 10000 AS gid FROM mbox
WHERE user = '%u'

This is on a production server.
Cheers,
Steph

Reply via email to