Following up on my own message.
Actually replication is working (mostly). Here are two issues at present:
(1) Because doveadm user ?*? returns ?submit?, replication is constantly trying
to dsync for an account called ?submit:
Oct 25 00:36:20 auth: Error: od[getpwnam_ext](submit): No record for user
Oct 25 00:41:21 auth: Error: od[getpwnam_ext](submit): No record for user
Oct 25 00:46:21 auth: Error: od[getpwnam_ext](submit): No record for user
Is there an easy way to suppress replication from trying to sync the ?submit?
user?
(2) The home directory field is empty for each user:
# doveadm user 'mary'
field value
uid 214
gid 6
home
mail maildir:/Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
quota maildir:User quota:noenforcing
quota_rule *:storage=0
mail_location
maildir:/Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
sieve
/Library/Server/Mail/Data/rules/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F/dovecot.sieve
sieve_dir /Library/Server/Mail/Data/rules/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
sieve_storage
/Library/Server/Mail/Data/rules/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
?and because of this, replication complains because it has nowhere to save a
lock file:
Oct 25 00:19:07 dsync-local(mary): Error: User has no home directory
Oct 25 00:19:07 dsync-local(mary): Error: Remote command returned error 75
I believe this should be an easy fix. I added the following in the userdb block
in auth-od,conf.ext:
default_fields = home=/Library/Server/Mail/Data/mail/%u
However, this expands to:
# doveadm user 'mary?
[?]
home /Library/Server/Mail/Data/mail/mary
mail_location
maildir:/Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
[?]
...and not...
# doveadm user 'mary'
[?]
home /Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
mail_location
maildir:/Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F
[?]
?as desired.
I see that the dovecot documentation states that %u expands to the user?s short
name, but then why does the following in 10-mail.conf:
mail_location = maildir:/Library/Server/Mail/Data/mail/%u
...expand to the user?s GUID?
Thanks for any insight,
Rusty