mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[GH-ISSUE #3245] offlineIMAP migration configfile configuration and generation #1814
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1814
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @olaf7 on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3245
Manual installation (not using installer) on Debian Stable.
In any v2 version the IMAPmigration lacks the possibility to configure what needs to be configured for migration resulting in the creation of a near empty .offlineimparc file which in turn errors the migration process.
I am going to add some screenshots v1 panel and v2 panel and comment below.
Problems:
Resulting .offlineimaprc :
[general] accounts =@tonioo commented on GitHub (May 14, 2024):
@olaf7 The synchronization issue is pretty strange and I don't reproduce it...
About offlineimap settings, once you have enabled the feature, you need to create at least one provider (gmail.com for example) where you'll be able to fill-in connection parameters and more.
@olaf7 commented on GitHub (May 14, 2024):
As in editing the almost empty config file provided by hand to suit my needs? Or will I be able to edit and or select anything from Modoboa/GUI once the config file is provided with a provider? A webform to supply details/parameters would be nice as now the configfile is not much more than a placeholder/marker.
As you can see my generated config file is far off from the template as provided by https://github.com/modoboa/modoboa/blob/master/modoboa/imap_migration/templates/imap_migration/offlineimap.conf
@tonioo commented on GitHub (May 16, 2024):
Have you defined a provider and a migration yet?
@olaf7 commented on GitHub (May 16, 2024):
Please note: effectively this issue should be split into two issues imho. My bad. 1. mismatch settings v1/v2 and 2. IMAP migration
Also: can you comment on how I can help debug this as clearly something is wrong (as can be seen by screenshots), but you cannot reproduce.
To answer your question regarding the imap_sync issue: I created a .offlineimaprc based on the template, but it fails for a couple of reasons:
After creation of the file nothing has changed to the GUI, so the screenshots provided here are still as it is. So editing is not possible. I assume this is by design?
Also note (more an OfflineIMAP issue, and something not easily to be avoided): passwords will be stored unencrypted in a file on disk.
@Spitfireap commented on GitHub (May 16, 2024):
Please create another issue for the sync issue and keep this one for generation.
@xinomilo commented on GitHub (Oct 17, 2025):
(sorry for the noize, but maybe the issue title and OP needs to change? this issue is about offlineimap, not imapsync., completely different things)
@tonioo commented on GitHub (Nov 13, 2025):
@olaf7 Now that v1 is not there anymore, could you review the content of this issue and maybe create a new one?