8 Nov
2006
8 Nov
'06
2:38 p.m.
On Wed, 2006-11-08 at 12:07 +0100, Egbert Jan wrote:
Hi again.
I hace Dovecot rc12 working on Mandriva 2007.0 now for system accounts and virtual accounts both imap and imaps can be used. Th problem now is that I cannot use both types of user at the same time. The 'mail_location = ' strings are very different: Real system users have their Maildir in /home/%u/Maildir/ but virtual users have their maildir in /home/virtual/%d/%n/. How can tell dovecot to use the first for pam clients and second for mysql authenticated clients?
mail_location = system users location
For virtual users change the dovecot-sql.conf to return "mail" in the user_query. Like:
user_query = select 'maildir:/home/virtual/%d/%n' as mail, ...