Problem with mail_uid
ratatouille
ratatouille at bitclusive.de
Mon Mar 23 21:09:53 EET 2020
Aki Tuomi <aki.tuomi at open-xchange.com> schrieb am 23.03.20 um 19:52:58 Uhr:
> > On 23/03/2020 19:43 ratatouille <ratatouille at bitclusive.de> wrote:
> >
> >
> > Hello!
> >
> > I have problems fetching mail for a system user. In use is a passwd-file.
> >
> > If I set (for virtual users)
> > mail_uid = vmail
> > mail_gid = vmail
> > in 10-mail.conf, I get permission denied.
> >
> > 2020-03-23 18:39:23 imap(andreas at dualbit.de): Error: chdir(/home/andreas/Maildir/) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/andreas/Maildir, dir owned by 5006:5006 mode=0700)
> >
> > The mailbox has permissions drwx------. 9 andreas susers
> > If I don't set mail_uid I get an error because of missing mail_uid.
>
> Can you send output of
>
> doveadm user andreas at dualbit.de
Or even, which is the only solution that works for now.
# doveadm user andreas at dualbit.de
field value
uid 5006
gid vmail
home /home/andreas/Maildir
mail maildir:~/
Andreas
More information about the dovecot
mailing list