Hi,
I've reported this some month ago before (without response), but still I have no clue what is going wrong.
Our installation is LDAP based (for virtual hosting) and up to I think alpha2 or 3 everything was working as expected. The trouble I have is that dovecot does not correctly use the information it gets about mailLocation.
This is what is stored in the MailMessageStore attribute for a user "f.someone":
mbox:/virtual/oeush.at/var/mail/f.someone:INBOX=/virtual/oeush.at/var/mail/f.someone
now despite of this setting, this user is unable to fetch any mail, because dovecot partially ignores this setting:
---------CUT--------- dovecot: Feb 04 12:20:42 Info: pop3(f.someone.oeush.at): Effective uid=200, gid=4000 dovecot: Feb 04 12:20:42 Info: pop3(f.someone.oeush.at): mbox: data=/virtual/oeush.at/home/f.someone/mail/:INBOX=/var/mail/f.someone.oeush.at dovecot: Feb 04 12:20:42 Info: pop3(f.someone.oeush.at): mbox: root=/virtual/oeush.at/home/f.someone/mail, index=/virtual/oeush.at/home/f.someone/mail, inbox=/var/mail/f.someone.oeush.at ---------CUT---------
As you can see, dovecot uses /virtual/oeush.at/... both for data and index but not for inbox, where it uses /var/mail/...
My LDAP configuration for the mailLocation settings looks like this:
---------CUT--------- # User attributes in order: # Virtual user name (user@domain) # Home directory # MAIL environment # System user name (for getting user's groups from /etc/group) # - For virtual users you don't want to use this, so this defaults to none. # System UID # System GID user_attrs = uid,homeDirectory,MailMessageStore,,uidNumber,gidNumber ---------CUT---------
So where am I wrong?
Udo Rader
-- BestSolution.at EDV Systemhaus GmbH http://www.bestsolution.at