[Dovecot] MySQL Auth and default_mail_env
David S. Madole
david at madole.net
Tue Mar 9 17:11:10 EET 2004
> From: <dovecot at technicalabuse.com>
> Sent: Tuesday, March 09, 2004 4:49 AM
> Well I got the env to work with leaving an empty
> default_mail_env =
> In the conf and using the full path in the db.
> IE: mbox:/var/spool/mail/domain/imap/user/
If you don't want to actually define it in the database, then why not just
use a query like like:
user_query = SELECT 'mbox:/var/spool/mail/%d/imap/%n/' as mail, home, uid,
gid FROM users WHERE username = '%n' AND domainname = '%d'
And let mySQL do the substitution bit?
This message is spam and virus free. Filtering solutions by http://omd3.com
Expert computer system support and development by http://baysidenetworks.com
More information about the dovecot