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 myuser@bordo.com.au 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(myuser@bordo.com.au)<76814><>: Debug: auth-master: userdb lookup(myuser@bordo.com.au): Started userdb lookup
Feb 28 12:42:02 doveadm(myuser@bordo.com.au)<76814><>: Debug: auth-master: conn unix:/usr/local/var/run/dovecot/auth-userdb: Connecting
Feb 28 12:42:02 doveadm(myuser@bordo.com.au)<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(myuser@bordo.com.au)<76814><>: Debug: auth-master: userdb lookup(myuser@bordo.com.au): auth USER input: myuser@bordo.com.au 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(myuser@bordo.com.au)<76814><>: Debug: auth-master: userdb lookup(myuser@bordo.com.au): Finished userdb lookup (username=myuser@bordo.com.au 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(myuser@bordo.com.au)<76814><>: Debug: Added userdb setting: mail=maildir:/usr/local/virtual/bordo.com.au/myuser
Feb 28 12:42:02 doveadm(myuser@bordo.com.au)<76814><>: Debug: Added userdb setting: plugin/quota=*:storage=0
Feb 28 12:42:02 doveadm(myuser@bordo.com.au): Debug: Effective uid=102, gid=102, home=/usr/local/virtual/bordo.com.au/myuser
Feb 28 12:42:02 doveadm(myuser@bordo.com.au): Debug: open(/proc/self/stat) failed: No such file or directory
Feb 28 12:42:02 doveadm(myuser@bordo.com.au): Debug: open(/proc/self/io) failed: No such file or directory
Feb 28 12:42:02 doveadm(myuser@bordo.com.au): 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(myuser@bordo.com.au): 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(myuser@bordo.com.au): Debug: brain M: Namespace has location maildir:/usr/local/virtual/bordo.com.au/myuser
Feb 28 12:42:02 doveadm(myuser@bordo.com.au): Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found
Feb 28 12:42:02 doveadm(myuser@bordo.com.au): Debug: Namespace : Using permissions from /usr/local/virtual/bordo.com.au/myuser: mode=0700 gid=default
(root@mail.bordo.com.au) Password:
sh: doveadm: command not found
Feb 28 12:42:06 dsync-local(myuser@bordo.com.au)
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.