25 Nov
2023
25 Nov
'23
3:26 p.m.
- Michael Grant via dovecot:
If I have a user in /etc/passwd, for example 'joe' and a user in /etc/dovecot/users, joe@example.org, and both of these users are in fact the same user but different password. They use the same inbox and the same mail files.
Do these two share a single user ID, or do they use separate IDs? Think about file/directory ownership and permissions. If user IDs 123 and 234 attempt use the same directory, things will break. User 123 should not be able to delete a file owned by user 234, for example.
Perhaps have a look at your setup, and verify that you are matching multiple logins to a single OS user ID only. For example, you can use LDAP login to map an arbitrary login name to a given UID. This works nicely with Dovecot.
-Ralph