[GH-ISSUE #2981] trigger migration from IMAP login? #1647

Closed
opened 2026-02-27 11:18:20 +03:00 by kerem · 3 comments
Owner

Originally created by @fmp777 on GitHub (Aug 20, 2022).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2981

Anyone have some secret sauce to add to dovecot to trigger this auto-create-account + imap migration setup just from an IMAP authentication? Sure would make automated migrations a lot easier than having to tell each person to login to the web interface

Originally created by @fmp777 on GitHub (Aug 20, 2022). Original GitHub issue: https://github.com/modoboa/modoboa/issues/2981 Anyone have some secret sauce to add to dovecot to trigger this auto-create-account + imap migration setup just from an IMAP authentication? Sure would make automated migrations a lot easier than having to tell each person to login to the web interface
kerem 2026-02-27 11:18:20 +03:00
Author
Owner

@tonioo commented on GitHub (May 9, 2023):

I think it could be possible to enable authentication from external IMAP server in dovecot and create a postlogin script to interact with modoboa API.
The only issue I see is the combination of different passdb in dovecot configuration (one for old accounts and one for Modoboa accounts). It is supposed to work but we don't know which passdb matched the authentication in postlogin scripts...

<!-- gh-comment-id:1540243601 --> @tonioo commented on GitHub (May 9, 2023): I think it could be possible to enable authentication from external IMAP server in dovecot and create a postlogin script to interact with modoboa API. The only issue I see is the combination of different passdb in dovecot configuration (one for old accounts and one for Modoboa accounts). It is supposed to work but we don't know which passdb matched the authentication in postlogin scripts...
Author
Owner

@lolhunter121 commented on GitHub (May 12, 2023):

it work, but... Mailfolder didn't make. And imapmigration didn't start

<!-- gh-comment-id:1545914465 --> @lolhunter121 commented on GitHub (May 12, 2023): it work, but... Mailfolder didn't make. And imapmigration didn't start
Author
Owner

@Spitfireap commented on GitHub (Aug 29, 2023):

it seems to be a duplicate of #3004 according to the last comment. We'll try to fix it for a next release :)

<!-- gh-comment-id:1697610393 --> @Spitfireap commented on GitHub (Aug 29, 2023): it seems to be a duplicate of #3004 according to the last comment. We'll try to fix it for a next release :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1647
No description provided.