Topic: Migrating from Zimbra to iRedmail issues
- iRedMail version: 1.2.1
- Deployed with iRedMail downloadable installer
- Ubuntu 18.04
- Store mail accounts in which backend: LDAP
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro? No
I'm trying to migrate from Zimbra (opensource 8.8.8GA) using imapsync. Trying to use an admin account, so I don't need to hassle with passwords for each user. Command I'm using:
imapsync --host1 my.zimbra.server --host2 my.iredmail.server --user1 'user1@my.domain' --authuser1 'adminaccount@my.domain' --password1 'supersecretpassword' --user2 'mytestaccount@my.domain' --authuser2 'adminaccount@my.domain' --password2 'supersecretpassword' --ssl1 --ssl2 --authmech1 PLAIN --authmech2 PLAIN
This properly logs into the zimbra server, but fails when trying it to Redmail - even though it says it supports "PLAIN"
Host1: success login on [my.zimbra.server] with user [user1@my.domain] auth [PLAIN]
Host2: connecting and login on host2 [my.iredmail.server] port [993] with user [mytestaccount@my.domain]
Host2 IP address: 123.123.123.12
Host2 banner: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
Host2 capability before authentication: IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN AUTH
Host2: my.iredmail.server says it has CAPABILITY for AUTHENTICATE PLAIN
Host2 info: authmech [PLAIN] user [mytestaccount@my.domain] authuser [adminaccount@my.domain] IsUnconnected []
Host2 failure: Error login on [my.iredmail.server] with user [mytestaccount@my.domain] auth [PLAIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed.
Exiting with return value 16 (EXIT_AUTHENTICATION_FAILURE) 1/50 nb_errors/max_errors
Disconnecting from host1 my.zimbra.server user1 user1@my.domain
Any help appreciated....
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.