> On Aug 10, 2019, at 10:55 AM, Aki Tuomi <[email protected]> wrote:
>
>
>> On 10/08/2019 15:51 Coy Hile via dovecot < [email protected]> wrote:
>>
>>
>>> Did you check your logs?
>>>
>> that’s just it. There’s nothing in syslog (which is logging at mail.debug).
>> Not just nothing useful, absolutely _nothing_ logged when I run that. All I
>> see is this (printed, I presume to STDERR):
>>
>> doveadm backup -D -A -R -f ssh -i id_rsa.dsync imap01.coyhile.com
>> /opt/local/bin/doveadm dsync-server -A
>> Error: User listing returned failure
>> doveadm: Error: Failed to iterate through some users
>> dsync-local( [email protected])<gCspG6m8Tl3bJQEAxHAMlw>: Error: read(remote)
>> failed: EOF (version not received)
>>
>> The last line makes sense given the earlier failure.
>>
>> Should this log somewhere else besides syslog? And is there some way I can
>> isolate and test _just_ the user iteration and enumeration code to prove out
>> that the query is correct? Clearly, from output above, it should be.
>>
>> Thanks,
>> -c
>
> Can you try doveadm -Dv backup ...
>
> note the -Dv goes before backup
>
Ok, that explains why I didn’t get anything useful as debug output. Right now,
there’s only one user on either side (namely, me), so all of this seems to look
sane to my (admittedly untrained) eye:
doveadm([email protected])<63392><>: Debug: auth USER input: [email protected]
password=<hidden> home=/var/mail/vmail/coyhile.com/hile uid=1000 gid=1000
doveadm([email protected])<63392><>: Debug: Added userdb setting:
plugin/password=<hidden>
doveadm([email protected]): Debug: Effective uid=1000, gid=1000,
home=/var/mail/vmail/coyhile.com/hile
doveadm([email protected]): Debug: acl: No acl setting - ACLs are disabled
doveadm([email protected]): Debug: Namespace inbox: type=private, prefix=, sep=,
inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox
doveadm([email protected]): Debug: fs:
root=/var/mail/vmail/coyhile.com/hile/mdbox, index=, indexpvt=, control=,
inbox=, alt=
doveadm([email protected]): Debug: brain M: Namespace has location mdbox:~/mdbox
doveadm([email protected]): Debug: Namespace : Using permissions from
/var/mail/vmail/coyhile.com/hile/mdbox: mode=0700 gid=default
Error: User listing returned failure
doveadm: Error: Failed to iterate through some users