[Dovecot] MySQL Auth and default_mail_env

dovecot at technicalabuse.com dovecot at technicalabuse.com
Mon Mar 8 03:15:10 EET 2004


Hi 

Not sure how much support you guys can offer but when I use 

default_mail_env =
mbox:/var/spool/mail/%d/imap/%n/:INBOX=/var/spool/mail/%d/%n

I get the login error .. 

Fatal: Failed to create storage with data:
mbox:/var/spool/mail/DOMAIN/imap/USER/:INBOX=/var/spool/mail/DOMAIN/USER

It is grabbing the right values for %d and %n from the mysql query 

65 Query       SELECT password FROM users WHERE username = 'USER' AND
domainname = 'DOMAIN'
65 Query       SELECT home, uid, gid FROM users where username = 'USER' AND
domainname = 'DOMAIN'

Anyone have the same experience.

Any help is appreciated.

Gary
TechnicalAbuse.com




More information about the dovecot mailing list