Imap folders sync

Thanks Nikolas. Looking forward to your response. And more than glad to help with any information or testing too, as needed.

Hello @Tamer
Please provide us with additional information about your usage scenario of imap-upload app:

  • user@mydomain.com - is this a mailbox added to our mail server on the Mail Server tab?
  • have you used --ssl flag?
  • for --host=localhost > did you specify it as localhost or did you specify the domain name?

If itā€™s possible, please provide us with the exact command that you used (just hide your login and password).

Hello @Alexandre

  1. Yes, user@mydomain.com is a mailbox added to OnlyOffice mail server.

  2. with --ssl flag, imap_upload.py failed to connect properly. So what I did, inside the onlyoffice-mail-server container, I edited /etc/dovecot/dovecot.conf as follows:

# Allow plain text password per IP address/net
remote 172.26.0.0/24 {
   ssl=yes
   disable_plaintext_auth = no
}

and restarted dovecot (or the onlyoffice-mail-server container), of course.

  1. for --host flag, I specified it as localhost only. Exactly as I wrote the command in first reply in this thread. Note that in the change I made above to dovecot.conf, I specified the class B network of the docker compose network (onlyoffice network).

The images and versions used are (or were) the latest as of the time of original posting:

onlyoffice/mailserver:1.6.75
onlyoffice/controlpanel:3.5.2.530
image: onlyoffice/communityserver:12.6.0.1900

Thank you, we are looking into it.

Hello @Tamer
We have run a few tests and so far all things are OK. Could you please clarify at which step you faced an issue with with synchronization, and what the current status of this process is? Did it sync after all?

Hi @Alexandre
I am not sure I understand your question about ā€œwhich stepā€? Synchronization happens automaticallyā€¦ And I already posted weeks after the initial report and it was at the same.

Dear @Tamer
Sorry for the length of the situation. We are still working on this scenario. I will update this thread once we have something to share.

My suggestion is to use other open source mail server like mailcow , it will sort the issue out and its rock solid with almost all the facilities and available on docker

Dear @pioneer
I understand your concerns and I assure you that we will resolve mentioned situations as soon as possible. We will keep this thread updated and immediately contact you when we have something to share.

Alexandre, could you please explain to me what is the reason behind mail aggregator? I really donā€™t see any benefit. It is a performance killer, makes the backup huge and renders imap account out of sync. If I were an employee and connected my personal email to the portal just for convenience, I would not be happy to know that my personal mail is replicated to the company space. I cannot find any good reason for this implementation. Please help me understandā€¦

Hello @druhboruch
You can exclude backing up Mail on the ā€˜Backupā€™ page. It should reduce the size of the final backup file. As for the mail aggregator in general, this guide might be helpful: ONLYOFFICE Mail. How it works - ONLYOFFICE
In simple words, the mail aggregator collects email messages so a user can work with them in the Mail module on the portal with an external Mail server, while the Mail Server is the app that allows to send and receive these messages themselves.
If I misunderstood your request, please clarify it.

hello @Alexandre ,
If I may kindly ask: Any update?

Hello @Tamer
Please accept our sincere apologies for the length of the situation. We are still looking into the described scenario. I will update this thread once we have something to share.

Hi @Alexandre
Any update? itā€™s been 4 months since I first posted in this thread about the issue at hand.

Dear @Tamer
We are still investigating the situation. I do understand your concerns, but we need more time. I will update this thread immediately when we have something to share.

Dear @Tamer
Unfortunately, thereā€™s nothing we can do on our side. In this case, youā€™re using a third-party solution (GitHub - rgladwell/imap-upload: Python script for uploading a local mbox file to IMAP4 server.) that hasnā€™t been well tested. It seems the issue is related to the scriptā€™s functionality, and we are unable to troubleshoot it properly as this isnā€™t our script.
Please accept our sincere apologies.

can you propose a supported tool or method to transfer existing mailboxes from Google Workspace to OnlyOffice Workspace MailServer?

Unfortunately, thereā€™s no tool that we can recommend at the moment.
Please accept our apologies for the situation.

I will try to use a 3rd party OSS webmail configured with IMAP to connect to the dovecot server in the MailServer of OO, since I am quite certain the issue is not with the script or method of mail transfer, but with the OO MailAggregator Webmail app double-syncing & discrepancies result issue.

Ok, please keep us posted of any additional information. However, please note, that we arenā€™t able to fully check third-party tools properly.