[Dovecot] Dovecot Maildir ownership/permission problem
Timo Sirainen
tss at iki.fi
Tue May 10 17:58:58 EEST 2011
On Mon, 2011-05-09 at 07:16 -0700, ikevinjp wrote:
> I think what I would like is to make Dovecot access each individual's
> mailbox using the user's own account and group. How do I do this? I am using
> Passwd-file scheme.
..
> --- Some entries on my passwd-file would be:
>
> username:{CRAM-MD5}efaa8bbe8fb0d28a55f7595c3420791990f25cc536f0e23c46cb392cb2b058e2:1001:1001::/home/username::
> peter:{CRAM-MD5}512b3e383d95a191d9481e1914cc4caad70cd57029706ec5c3db8ef3039ef405:2001:2001::/home/peter::
Looks like you're almost there since you have uid/gid also specified in
the file. So the only thing you need to add is:
userdb {
driver = passwd-file
args = username_format=%n /usr/local/etc/dovecot/dovecot.users
}
More information about the dovecot
mailing list