10 May
2011
10 May
'11
5:58 p.m.
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 }