[Dovecot] imap process uid mapping question

Chris Lea chl at chrislea.com
Thu Apr 13 08:46:18 EEST 2006


Hi all. I'm new to dovecot. I promise I've looked over the docs and
lists for an answer to this, but I didn't find anything. If I missed
something I apologize.

I'm running dovecot 1.0.beta2 on debian testing.

It's almost working, I'm getting permissions errors when the imap server
actually goes to read the messages out of the cur Maildir directory. The
logs spit these out:

dovecot: 2006-04-12 22:32:39 Error: imap(chl at iaminla.com):
open(/var/vmail/iaminla.com/chl/cur/1144905139.V306I31c02bM482275.chldebian.chrislea.com:2,) failed: Permission denied

The ls of that directory looks like this:

chldebian:/etc/dovecot# ls -al /var/vmail/iaminla.com/chl/cur/
total 12
drwxrwsr-x 2 vmail vmail 4096 2006-04-12 22:12 .
drwxrwsr-x 5 vmail vmail 4096 2006-04-12 22:13 ..
-rw------- 1 vmail vmail 1098 2006-04-12 22:12
1144905139.V306I31c02bM482275.chldebian.chrislea.com:2,

I have this line in my dovecot.conf

mail_extra_groups = vmail

so I assume that the process is running as some other user. My full
dovecot.conf is here

http://www.chrislea.com/dovecot.conf

I'd really appreciate it if anyone has any ideas. Again, I apologize if
this was already covered and I missed it. Thanks!

- chl

-- 
---------------------------------------------------------------
        "When moderate to highly intelligent people get bored,
                 bad things happen." -- Ann Moreno
(310) 709-4021                          http://www.chrislea.com
---------------------------------------------------------------



More information about the dovecot mailing list