mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[PR #1654] [CLOSED] [WIP] Fix Modoboa crashes when Postfix maps become modified #2280
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#2280
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?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/1654
Author: @ntninja
Created: 1/13/2019
Status: ❌ Closed
Base:
master← Head:fixes📝 Commits (3)
b6139d2Postfix map generator generate invalid map file if file integrity check fails90056e9Ignore incorrect Postfix checksum file lines810b737Do not crash if Postfix checksum does not exist in Postfix generator file📊 Changes
1 file changed (+10 additions, -6 deletions)
View changed files
📝
modoboa/core/management/commands/generate_postfix_maps.py(+10 -6)📄 Description
Description of the issue/feature this PR addresses:
Modoboa's Postfix map file generator will generate a broken
modoboa-postfix-maps.chkfile if it fails to validate the existing map files due to user changes. On next start (ie: the second start after a user map file change!) modoboa will then crash inexplicably.Explanation of each commit:
As can be seen from the commit dates these commits are rather old – it's been a while since I encountered this issue last.
Current behavior before PR:
Desired behavior after PR is merged:
Modoboa should only log message: Cannot upgrade '…' map because it has been modified.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.