On Tue, 2006-02-07 at 17:06 +0200, Timo Sirainen wrote:
On Sat, 2006-02-04 at 13:47 +0100, Udo Rader wrote:
> 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/...

That's probably from default_mail_env?

Hmm, sorry, I saw your response only today ... 

Yes, our default_mail_env looks like this:

default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u

INBOX is not set to /virtual/... per default, because we have non-virtual 
users as well, so I need to have both choices.


> user_attrs = uid,homeDirectory,MailMessageStore,,uidNumber,gidNumber

Try this:

user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,MailMessageStore=mail

I do now have set user_attrs like you suggested, yet that doesn't change 
anything:

-------CUT-------
dovecot: Feb 12 16:34:13 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-------

So inbox still points to /var/mail/f.someone instead of /virtual/oeush.at/var/mail/

Looks like a bug to me ...

regards

Udo Rader
-- 
BestSolution.at EDV Systemhaus GmbH
http://www.bestsolution.at