You have been subscribed to a public bug:
There are several users and groups established by the "out-of-box" apt-
get dovecot system that need some work. When I install dovecot and
postfix, the following users are created in my /etc/passwd:
postfix:x:105:113::/var/spool/postfix:/bin/false
dovecot:x:106:115:Dovecot mail server,,,:/usr/lib/dovecot:/bin/false
dovenull:x:107:116:Dovecot login user,,,:/nonexistent:/bin/false
Also created are the following groups in my /etc/group file:
postfix:x:113:
postdrop:x:114:
dovecot:x:115:
dovenull:x:116:
When I attempted to get my mail off my server from my /var/log/dovecot
reported the following:
2015-03-09 21:27:16 pop3-login: Error: auth: connect(login) in directory /
failed: Permission denied (euid=106(<getpwuid() error>) egid=115(<getgrgid()
error>) missing +x perm: /, we're not in group 116, dir owned by 0:116
mode=0750)
2015-03-09 21:27:16 pop3-login: Error: auth: connect(login) in directory /
failed: Permission denied (euid=106(<unknown>) egid=115(<unknown>) missing +x
perm: /, we're not in group 116, dir owned by 0:116 mode=0750)
2015-03-09 21:27:16 pop3-login: Error: connect(ssl-params) failed: Permission
denied
In order for me to fix this I had to run the following shell command to
find the hidden files:
find / -group dovenull
This reported that the following files needed to be have their ownership
adjusted, specifically:
/run/dovecot/login
specifically:
sudo chown -R dovecot:root /run/dovecot/login
I realize that this is a brute force approach to the problem, but it got
my email server up and running.
There needs to be a document explaining which user/group settings should
be adjusted, an explanation of what these users/groups do, what files
and directories should be owned by whom, and how to keep your system
secure. I did not have a problem with version 13 dovecot/postfix when I
copied my local configuration files over to the new server. Version 14
broke something.
** Affects: ubuntu
Importance: Undecided
Status: New
--
dovecot default user settings causes access issues
https://bugs.launchpad.net/bugs/1431643
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs