modoboa / modoboa-imap-migration

An extension to ease the migration between 2 IMAP servers using offlineimap
ISC License
16 stars 12 forks source link

Problems Generate .offlineimaprc #31

Closed carbans closed 6 years ago

carbans commented 6 years ago

Hi I installed Imap-migration, I configure without problems, but doesn't work. When I manually execute the script (with vmail user):

/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py generate_offlineimap_config --output  .offlineimaprc

The command only generate this:

[general]
accounts = 
pythonfile = ~/.offlineimap.py

Is it a bug?

tonioo commented 6 years ago

@carbans No. It just means no user has logged in to your system yet. This plugin automatically creates a migration operation once a user from the old system logs in to Modoboa.

carbans commented 6 years ago

What do you mean with:

user from the old system logs in to Modoboa

I create the domain and mailbox with the same password in modoboa. Do I have to do something else?

tonioo commented 6 years ago

As indicated in the README file, you only have to configure authentication, modoboa will do the rest. And do not create accounts manually otherwise no migration will be start.