[Dovecot] Upgrade Question about mail_location

Timo Sirainen tss at iki.fi
Wed Sep 16 18:12:04 EEST 2009


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, ..



More information about the dovecot mailing list