On Sep 16, 2009, at 1:11 PM, John Dubchak wrote:

 passdb:
   driver: sql
   args: /etc/dovecot-sql.conf
 userdb:
   driver: prefetch

I am using PostgreSQL for a database backend.

I guess my real question, then, is how do I use the new mail_location
when I want it to point to /var/spool/virtual_mailboxes/%h?

mail_location = maildir:%h

and change your SQL query to return something like:

password_query = select .., '/var/spool/virtual_mailboxes/' || maildir_path as userdb_home, ..

Reply via email to