Topic: Migrate emails using Dovecot Master User n Password
============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS Linux release 7.2.1511 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? : Yes
- Related log if you're reporting an issue: Dovecot
====
Hi,
I would like to migrate my all user's emails using imap over internet by using dovecot master user ID password (Which is default created by installation script of SOGO) using imapsync tool.
If anyone can help:
Below is simple imapsnc code that I am using:
imapsync --nosyncacls --subscribe --syncinternaldates --nofoldersizes --skipsize --fast \
--host1 primary-server --user1 "${USER}+sogo_sieve_master@not-exist.com" --passfile1 /etc/master --tls1 \
--host2 backup-server --user2 dovecot-master-user --passfile2 /etc/1234 --tls2
dovecot log shows:
Nov 07 13:38:52 auth: Error: userdb(root@mydomain.com,172.16.1.74,<XCz8JLZAkACsEAFK>): user not found from userdb ldap
Nov 07 13:38:52 imap: Error: Authenticated user not found from userdb, auth lookup id=2448687105 (client-pid=3564 client-id=1)
Nov 07 13:38:52 imap-login: Info: Internal login failure (pid=3564 id=1) (internal failure, 1 successful auths): user=<root@mydomain.com>, method=PLAIN, rip=172.16.1.74, lip=10.0.0.41, mpid=3568, TLS, session=<XCz8JLZAkACsEAFK>
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.