Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imap-migration doesn't work properly. #3004

Open
lolhunter121 opened this issue May 12, 2023 · 9 comments
Open

imap-migration doesn't work properly. #3004

lolhunter121 opened this issue May 12, 2023 · 9 comments
Labels
Milestone

Comments

@lolhunter121
Copy link

Impacted versions

  • OS Type: Debian/Ubuntu, Centos/Redhat, Arch, Gentoo, Slack, ...
  • OS Version: Number or Name
  • Database Type: PostgreSQL / MySQL
  • Database version: X.y
  • Modoboa: 2.1.2
  • installer used: Yes ?
  • Webserver: Nginx/Apache

Steps to reproduce

Current behavior

Expected behavior

Video/Screenshot link (optional)

@Spitfireap
Copy link
Member

Hi, can you elaborate ?

@lolhunter121
Copy link
Author

lolhunter121 commented Jun 21, 2023

Hi, can you elaborate ?

Hmm. Comment lost.
I've added new domain.
Then added imap migration to it.
Logged in with imap account of old domain.
New user singed in - it work. Imap migration show new user.
Webmail doesn't work. No folders on disk made for new user.
Imap migration doesn't start - seems like new user stucked in "non-made" situation, or rights of made-by-hands folders are not right. So emails doesn't sync.
Maybe something not finished in scripts, witch made users by imap-migration login

@JustusW
Copy link

JustusW commented Aug 14, 2023

Hi, can you elaborate ?

I'd love to add my elaboration, but I haven't found anything that I could elaborate on? Like... What's the procedure?

  1. I entered my old domain and server details on the IMAP Migration Providers Section.
  2. The Connection test yields 2 green checkmarks on the button but no other visible sign of success.
  3. I tried logging in via the webinterface and imap with no success.
  4. I created the domain and then the user with no success.
  5. I manually toyed around with a few offlineimap configurations to no avail.

No idea what to do here.

EDIT
I should note that the documentation is very confusing here. It clearly states that certain capabilities are only available in the new UI, but it very definitely exists in the old UI as well.
EDIT2
My old mailserver doesn't even show a login attempt, so clearly something isn't working as expected, I certainly can't see how this is supposed to work:
"Migrations are automatically handled when providers have been configured. Users use their old credential to log and the account is automatically created."

@lolhunter121
Copy link
Author

You should open web interface with login/password from account you push.
For exmaple you had mail on gmail.
[email protected] : 1111111
So you add gmail imap as imap migration and try to login to new web with [email protected] : 1111111
As I understand - it try to login on old server. After that it should make a cron task to get mails from it.
But when I login - no maildir made and no cron tast made too.

@Spitfireap Spitfireap added this to the 2.2.1 milestone Aug 29, 2023
@tonioo tonioo modified the milestones: 2.2.1, 2.2.2, 2.3.0 Oct 13, 2023
@mateyelative
Copy link

Hi, I am experiencing the same problem. IMAP does not sync...
Any news/updates on this issue/bug?

Thank you.
I appreciate all your hard work.

@lolhunter121
Copy link
Author

Hi, I am experiencing the same problem. IMAP does not sync... Any news/updates on this issue/bug?

Thank you. I appreciate all your hard work.

I've used imapsync on vps and synced all mails.

@mateyelative
Copy link

Hi, I am experiencing the same problem. IMAP does not sync... Any news/updates on this issue/bug?
Thank you. I appreciate all your hard work.

I've used imapsync on vps and synced all mails.

Oh. wouw... I owe you a lunch or something... 🤗💜
Thank you. That was awesome suggestion.

https://imapsync.lamiral.info/X/

I wish you all the best.

@michalhana99
Copy link

michalhana99 commented Dec 26, 2023

The problem persists even in version 2.2.3, synchronization of mailboxes does not start and cannot be started even manually.

I followed the instructions: https://modoboa.readthedocs.io/en/latest/moving.html

But basically I end up already at "python manage.py generate_offlineimap_config"
Do you have any news, it is possible that I am doing something wrong, we are running modoboa on debian 12 and python3 is installed and it was done using automatic installation.

Can you help?

I can't force users to enter data into an external email interface for migration

Please help

@lolhunter121
Copy link
Author

The problem persists even in version 2.2.3, synchronization of mailboxes does not start and cannot be started even manually.

I followed the instructions: https://modoboa.readthedocs.io/en/latest/moving.html

But basically I end up already at "python manage.py generate_offlineimap_config" Do you have any news, it is possible that I am doing something wrong, we are running modoboa on debian 12 and python3 is installed and it was done using automatic installation.

Can you help?

I can't force users to enter data into an external email interface for migration

Please help

You can setup imapsync locally.
https://imapsync.lamiral.info/#install
I setup it on clean LXC container and start by bash scripts.
For modoboa - didn't checked.

tonioo added a commit that referenced this issue May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants