9 Mar
2004
9 Mar
'04
5:11 p.m.
From: dovecot@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?
David
This message is spam and virus free. Filtering solutions by http://omd3.com Expert computer system support and development by http://baysidenetworks.com