1

Topic: Problem with imapcopy and iRedMail

======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.6
- Linux/BSD distribution name and version: Debian 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

When I try to import mailboxes using imapcopy, the process fails to access the IMAP server iRedmail

This is the error message:
Log on as user1 failed DestinationServer

How can I resolve this error?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem with imapcopy and iRedMail

Imapcopy (the version that comes with Debian) supports neither StartTLS nor SSL. Please try out to disable (temporarily) StartTLS and SSL by setting disable_plaintext_auth=no AND ssl=no in dovecot.conf. Don't forget to restore the original settings when imapcopying is done.

jose.2rcv wrote:

======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.6
- Linux/BSD distribution name and version: Debian 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

When I try to import mailboxes using imapcopy, the process fails to access the IMAP server iRedmail

This is the error message:
Log on as user1 failed DestinationServer

How can I resolve this error?

3

Re: Problem with imapcopy and iRedMail

Didn't use imapcopy before, maybe you can try imapsync?

4

Re: Problem with imapcopy and iRedMail

ZhangHuangbin wrote:

Didn't use imapcopy before, maybe you can try imapsync?

I have not used imapsync because I could not install it.


Disable "Start TLS and SSL" in the dovecot. dovecot and postfix restart and the problem continues.
Any other suggestions


Sorry for my bad English, I speak spanish

5

Re: Problem with imapcopy and iRedMail

jose.2rcv wrote:

I have not used imapsync because I could not install it.

Please follow its document, it should be easy. i did this days ago.
https://github.com/imapsync/imapsync

6

Re: Problem with imapcopy and iRedMail

The problem was that for the target server must put user@domain and was only putting the user

Problem solved