doveadm migration to server with no root access

jon rose jon at webbox.co.za
Fri Jul 26 16:13:58 EEST 2019


Hi

I am trying to do mailbox migrations using doveadm to a server that I do not
have root access on without success. Is this possible?

What I have done and results:

ssh to server with mailboxes to copy and then su
cp /etc/dovecot/dovecot.conf  /root/tmp/dovecot_new.conf
append text below** to end of dovecot_new.conf
try to copy mail 3 different ways (all fail see error messages)

doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never sync -1 -u
test at propertyzone.co.za pop3c:
fail with: Error: Mailbox INBOX.Archive sync: mailbox_set_subscribed failed:
Subscriptions not supported

doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never sync -u
test at propertyzone.co.za pop3c:
fail with: Error: Can't create mailbox INBOX.Archive: POP3 mailbox creation
isn't supported

doveadm -D -v -c /root/tmp/dovecot_new.conf -o mail_fsync=never backup -u
test at propertyzone.co.za pop3c:
fail with: dsync(test at propertyzone.co.za): Panic: file
mailbox-list-delete.c: line 473 (mailbox_list_delete_symlink_default):
assertion failed: (ret > 0)


** append at end of dovecot_new.conf                                                                                                                                                                                                                                          
pop3c_host = dedi225.jnb3.host-h.net
pop3c_user = test at propertyzone.co.za
pop3c_password = *****
namespace inbox {
  inbox = yes
}
namespace {
  prefix = POP3-MIGRATION-NS/
  location = pop3c:
  list = no
  hidden = yes
}
protocol doveadm {
  mail_plugins = $mail_plugins pop3_migration
}
plugin {
  pop3_migration_mailbox = POP3-MIGRATION-NS/INBOX





--
Sent from: http://dovecot.2317879.n4.nabble.com/


More information about the dovecot mailing list