{{ message }}
Re-implementation of the multiple server feature#954
Open
Janfred wants to merge 1 commit into
Open
Conversation
DavidGoodwin
reviewed
Jan 1, 2026
Member
There was a problem hiding this comment.
why are there different functions for mysql + pgsql and sqlite? The SQL looks almost the same to me? (unless 'server' is a reserved word for sqlite?)
Member
|
(Yes, I'd merge this) |
|
@Janfred: Thanks for your new PR, after this long time! :) |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a re-implementation of the multiple server feature ( #12 ) based on postfixadmin v4.
Useful for hot standby or backup systems with replicated databases.
The main problem is that, if you want to have a backup mx, you need to copy all mailbox setting changes you make on the first system to the second one.
With this new feature you can just replicate your database and use it for both, the primary and the secondary mailserver.
You can also do load balancing by sending one domain to the first and an other domain to the second mailserver as primary.
Most notable change from the last #12 version: Removed the post-create/post-delete scripts, as they may not be that useful after all.
TODO-List before merge:
DOCUMENTS/BACKUP_MX.txtDOCUMENTS/to describe this featureDOCUMENTS/POSTFIX_CONF.txtI will get to the TODO list if there is a response that this is a useful feature and will be merged.