mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 17:36:01 +03:00
[GH-ISSUE #2979] can't get manage.py generate_offlineimap_config to generate any accounts in .offlineimaprc #1543
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#1543
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 @louis-eyond on GitHub (Apr 5, 2021).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2979
I have tried logging in with a couple of new accounts for modoboa, existing accounts on the old server. The accounts get created (the first account creating the Domain entry), but they don't seem to create the migration script. Each time I run the manage.py generate_offlineimap_config cron script, it come back with an .offlineimaprc that is empty:
[general]
accounts =
pythonfile = ~/.offlineimap.py
I've tried deleting the accounts and logging in again; I've also tried deleting the domain and logging in with the accounts again.
@tonioo commented on GitHub (Apr 6, 2021):
Did you create accounts manually? Or were they created by the authentication backend?
@louis-eyond commented on GitHub (Apr 6, 2021):
Created by the backend... I had 2 email addresses at different domains, e.g. test@one.com and test@two.com. one.com was a migrating domain, while two.com was not. Once I removed test@two.com and deleted then recreated test@one.com, the IMAP Migration entry was correctly made.
I am looking at modoboa_imap_migration/auth_backends.py, perhaps it isn't taking into account the same address at 2 different domains?
@stale[bot] commented on GitHub (Jul 15, 2023):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.