I have been using system users (/etc/passwd). I recently started using, in addition, passwd-file with a separate dovecot password database so that I could have user@domainname users with a different password as their shell login password.
This means I have dovecot authenticating on users in both /etc/passwd and /etc/dovecot/users.
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. Dovecot does not seem to like this very much. I am seeing many errors like this:
Error: Mailbox INBOX: Sync failed for mbox: UID inserted in the middle of mailbox (4315358 > 4312144, seq=1, idx_msgs=3212)
I think I'm causing this by having 2 users that are in fact the same user and dovecot is stepping on itself.
Is it possible to tell Dovecot that these 2 users are in fact the same, as in like an alias user? Or is it possible to tell dovecot not to process mail for say for 'joe' the system user?
Michael Grant