[Dovecot] dovecot and virtual mailbox - suggestions please
Johannes Berg
johannes at sipsolutions.net
Sun Dec 25 17:29:49 EET 2005
On Sun, 2005-12-25 at 10:13 -0500, David Bain wrote:
> What would the query look like in my dovecot-pgsql.conf file to retrieve the appropriate INBOX information?
>
> mine currently looks like this.
> user_query = SELECT '/var/spool/virtual_mailboxes/'||home AS home, uid, gid FROM users WHERE userid = '%u'
never mind my question. What does the userid field in the database look
like? The full email address? Then this default_mail_env should work:
default_mail_env = maildir:/var/spool/virtual_mailboxes/%d/%u/
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051225/828021d2/attachment.pgp
More information about the dovecot
mailing list