"sh: doveadm: command not found" with doveadm -Dv backup -R

James Brown jlbrown at bordo.com.au
Tue Feb 28 01:54:37 UTC 2023


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 at 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 at bordo.com.au)<76814><>: Debug: auth-master: userdb lookup(myuser at bordo.com.au): Started userdb lookup
Feb 28 12:42:02 doveadm(myuser at bordo.com.au)<76814><>: Debug: auth-master: conn unix:/usr/local/var/run/dovecot/auth-userdb: Connecting
Feb 28 12:42:02 doveadm(myuser at 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 at bordo.com.au)<76814><>: Debug: auth-master: userdb lookup(myuser at bordo.com.au): auth USER input: myuser at 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 at bordo.com.au)<76814><>: Debug: auth-master: userdb lookup(myuser at bordo.com.au): Finished userdb lookup (username=myuser at 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 at bordo.com.au)<76814><>: Debug: Added userdb setting: mail=maildir:/usr/local/virtual/bordo.com.au/myuser
Feb 28 12:42:02 doveadm(myuser at bordo.com.au)<76814><>: Debug: Added userdb setting: plugin/quota=*:storage=0
Feb 28 12:42:02 doveadm(myuser at bordo.com.au): Debug: Effective uid=102, gid=102, home=/usr/local/virtual/bordo.com.au/myuser
Feb 28 12:42:02 doveadm(myuser at bordo.com.au): Debug: open(/proc/self/stat) failed: No such file or directory
Feb 28 12:42:02 doveadm(myuser at bordo.com.au): Debug: open(/proc/self/io) failed: No such file or directory
Feb 28 12:42:02 doveadm(myuser at 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 at 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 at bordo.com.au): Debug: brain M: Namespace  has location maildir:/usr/local/virtual/bordo.com.au/myuser
Feb 28 12:42:02 doveadm(myuser at bordo.com.au): Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found
Feb 28 12:42:02 doveadm(myuser at bordo.com.au): Debug: Namespace : Using permissions from /usr/local/virtual/bordo.com.au/myuser: mode=0700 gid=default
(root at mail.bordo.com.au) Password:
sh: doveadm: command not found
Feb 28 12:42:06 dsync-local(myuser at bordo.com.au)<SJq/Iepb/WMOLAEAiJz6GQ>: Error: read(mail.bordo.com.au) failed: EOF (version not received)
Feb 28 12:42:06 dsync-local(myuser at bordo.com.au)<SJq/Iepb/WMOLAEAiJz6GQ>: Error: Remote command returned error 127: ssh mail.bordo.com.au doveadm dsync-server -umyuser at bordo.com.au -U
Feb 28 12:42:06 dsync-local(myuser at bordo.com.au)<SJq/Iepb/WMOLAEAiJz6GQ>: Debug: User session is finished
Feb 28 12:42:06 dsync-local(myuser at bordo.com.au)<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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20230228/8f3a95fa/attachment-0001.htm>


More information about the dovecot mailing list