[PR #577] [MERGED] Update postfixadmin migration code #1969

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

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa/pull/577
Author: @carragom
Created: 6/26/2014
Status: Merged
Merged: 8/24/2014
Merged by: @tonioo

Base: 1.1.xHead: 1.1.x


📝 Commits (1)

  • e678e8d Update postfixadmin migration code

📊 Changes

1 file changed (+76 additions, -43 deletions)

View changed files

📝 modoboa/tools/pfxadmin_migrate/migrate.py (+76 -43)

📄 Description

The code to migrate from postfixadmin is not working at all in the current version of modoboa. This patch makes the migration script works, it was tested against a 2.3 version of postfixadmin. There are other tricks needed to make it work besides this patch but I'm not sure where would be the right place to fix those. For example all references to the SQLHandler logger need to be commented on the settings.py file for the script to run but no idea why. Or how to actually fix it. Let me know know what you think of this. Pay special attention to how the permissions are handled, not sure if it's correct. Advices are always welcome.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa/pull/577 **Author:** [@carragom](https://github.com/carragom) **Created:** 6/26/2014 **Status:** ✅ Merged **Merged:** 8/24/2014 **Merged by:** [@tonioo](https://github.com/tonioo) **Base:** `1.1.x` ← **Head:** `1.1.x` --- ### 📝 Commits (1) - [`e678e8d`](https://github.com/modoboa/modoboa/commit/e678e8d1a3f16dde1a312d65c821e9d060b80a6d) Update postfixadmin migration code ### 📊 Changes **1 file changed** (+76 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `modoboa/tools/pfxadmin_migrate/migrate.py` (+76 -43) </details> ### 📄 Description The code to migrate from postfixadmin is not working at all in the current version of modoboa. This patch makes the migration script works, it was tested against a 2.3 version of postfixadmin. There are other tricks needed to make it work besides this patch but I'm not sure where would be the right place to fix those. For example all references to the `SQLHandler` logger need to be commented on the `settings.py` file for the script to run but no idea why. Or how to actually fix it. Let me know know what you think of this. Pay special attention to how the permissions are handled, not sure if it's correct. Advices are always welcome. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 11:20:23 +03:00
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#1969
No description provided.