> On 28/02/2023 03:54 EET James Brown <[email protected]> wrote: > > > I’m moving from an old mail server to a new one. > > On the new one, trying to transfer mailboxes from the old machine using > doveadm. It fails saying it can’f find doveadm: > > % sudo doveadm -Dv backup -R -u [email protected] remote:mail.bordo.com.au > Password: > Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm > Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: > dlopen(/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so, 0x000A): > symbol not found in flat namespace > '_acl_backend_nonowner_lookups_iter_deinit' (this is usually intentional, so > just ignore this message) > Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: > dlopen(/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so, 0x000A): > symbol not found in flat namespace '_quota_get_resource' (this is usually > intentional, so just ignore this message) > Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: > dlopen(/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so, 0x000A): > symbol not found in flat namespace '_fts_backend_lookup' (this is usually > intentional, so just ignore this message) > Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: > dlopen(/usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so, > 0x000A): symbol not found in flat namespace > '_mail_crypt_acl_secure_sharing_enabled' (this is usually intentional, so > just ignore this message) > Feb 28 12:42:02 Debug: Loading modules from directory: > /usr/local/lib/dovecot/doveadm > Feb 28 12:42:02 Debug: Skipping module doveadm_acl_plugin, because dlopen() > failed: dlopen(/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so, > 0x000A): symbol not found in flat namespace > '_acl_backend_nonowner_lookups_iter_deinit' (this is usually intentional, so > just ignore this message) > Feb 28 12:42:02 Debug: Skipping module doveadm_quota_plugin, because dlopen() > failed: dlopen(/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so, > 0x000A): symbol not found in flat namespace '_quota_get_resource' (this is > usually intentional, so just ignore this message) > Feb 28 12:42:02 Debug: Skipping module doveadm_fts_plugin, because dlopen() > failed: dlopen(/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so, > 0x000A): symbol not found in flat namespace '_fts_backend_lookup' (this is > usually intentional, so just ignore this message) > Feb 28 12:42:02 Debug: Skipping module doveadm_mail_crypt_plugin, because > dlopen() failed: > dlopen(/usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so, > 0x000A): symbol not found in flat namespace > '_mail_crypt_acl_secure_sharing_enabled' (this is usually intentional, so > just ignore this message) > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: auth-master: > userdb lookup([email protected]): Started userdb lookup > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: auth-master: > conn unix:/usr/local/var/run/dovecot/auth-userdb: Connecting > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: auth-master: > conn unix:/usr/local/var/run/dovecot/auth-userdb (uid=0): Client connected > (fd=9) > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: auth-master: > userdb lookup([email protected]): auth USER input: [email protected] > home=/usr/local/virtual/bordo.com.au/myuser > mail=maildir:/usr/local/virtual/bordo.com.au/myuser uid=102 gid=102 > quota=*:storage=0 > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: auth-master: > userdb lookup([email protected]): Finished userdb lookup > ([email protected] home=/usr/local/virtual/bordo.com.au/myuser > mail=maildir:/usr/local/virtual/bordo.com.au/myuser uid=102 gid=102 > quota=*:storage=0) > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: Added userdb > setting: mail=maildir:/usr/local/virtual/bordo.com.au/myuser > Feb 28 12:42:02 doveadm([email protected])<76814><>: Debug: Added userdb > setting: plugin/quota=*:storage=0 > Feb 28 12:42:02 doveadm([email protected]): Debug: Effective uid=102, > gid=102, home=/usr/local/virtual/bordo.com.au/myuser > Feb 28 12:42:02 doveadm([email protected]): Debug: open(/proc/self/stat) > failed: No such file or directory > Feb 28 12:42:02 doveadm([email protected]): Debug: open(/proc/self/io) > failed: No such file or directory > Feb 28 12:42:02 doveadm([email protected]): Debug: Namespace inbox: > type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, > subscriptions=yes location=maildir:/usr/local/virtual/bordo.com.au/myuser > Feb 28 12:42:02 doveadm([email protected]): Debug: maildir++: > root=/usr/local/virtual/bordo.com.au/myuser, index=, indexpvt=, control=, > inbox=/usr/local/virtual/bordo.com.au/myuser, alt= > Feb 28 12:42:02 doveadm([email protected]): Debug: brain M: Namespace has > location maildir:/usr/local/virtual/bordo.com.au/myuser > Feb 28 12:42:02 doveadm([email protected]): Debug: Mailbox INBOX: Couldn't > open mailbox in list index: Mailbox not found > Feb 28 12:42:02 doveadm([email protected]): Debug: Namespace : Using > permissions from /usr/local/virtual/bordo.com.au/myuser: mode=0700 gid=default > ([email protected]) Password: > sh: doveadm: command not found > Feb 28 12:42:06 dsync-local([email protected])<SJq/Iepb/WMOLAEAiJz6GQ>: > Error: read(mail.bordo.com.au) failed: EOF (version not received) > Feb 28 12:42:06 dsync-local([email protected])<SJq/Iepb/WMOLAEAiJz6GQ>: > Error: Remote command returned error 127: ssh mail.bordo.com.au doveadm > dsync-server [email protected] -U > Feb 28 12:42:06 dsync-local([email protected])<SJq/Iepb/WMOLAEAiJz6GQ>: > Debug: User session is finished > Feb 28 12:42:06 dsync-local([email protected])<SJq/Iepb/WMOLAEAiJz6GQ>: > Debug: auth-master: conn unix:/usr/local/var/run/dovecot/auth-userdb (uid=0): > Disconnected: Connection closed (fd=9) > > Does this mean the remote machine can’t fine doveadm? > > (Both machines are running macOS) > > I could probably transfer the mailboxes using rsync, but I thought that > doveadm was a better way. > > Thanks, > > James.
Yeah, it means it can't find doveadm on the remote machine. Please see https://doc.dovecot.org/admin_manual/migrating_mailboxes/ Aki
