[Dovecot] protocols and privileges
hi,
protocols = pop3 but when starting the service, output tells about imap. when mua fetches mails ~/mail/.imap/INDEX is created.
i have some users uid=500 .. 505. src in /var/mail/%u, owner is <user>.mail and home-directories /home/<user> - owner is <user>.users
when dovecot tries to create directory /home/<user>/mail then it tells for user xyz (uid = 502)
euid=502(xyz) egid=100(users) missing +w permission /home/xyz , euid is not dir owner.
but /home/xyz is owned by xyz.users and mod = 0700 ( drwx------ )
same environment for uid = 501 works great !
thanks in advance andreas
? permission lookup from /home/xyz/mail failed do i have to create that mail directory manually ?
On 14.5.2013, at 16.41, andreas graeper <agraeper@googlemail.com> wrote:
- protocols = pop3 but when starting the service, output tells about imap. when mua fetches mails ~/mail/.imap/INDEX is created.
It should have originally been named .dovecot instead of .imap, but it's way too late to change now.
- i have some users uid=500 .. 505. src in /var/mail/%u, owner is <user>.mail and home-directories /home/<user> - owner is <user>.users
when dovecot tries to create directory /home/<user>/mail then it tells for user xyz (uid = 502)
euid=502(xyz) egid=100(users) missing +w permission /home/xyz , euid is not dir owner.
but /home/xyz is owned by xyz.users and mod = 0700 ( drwx------ )
same environment for uid = 501 works great !
Do you have multiple xyz users with different UID numbers? Check with ls -lnd /home/xyz
Other than that, maybe SELinux issue.
participants (2)
-
andreas graeper
-
Timo Sirainen