Re-implementation of the multiple server feature by Janfred · Pull Request #954 · postfixadmin/postfixadmin · GitHub
Skip to content

Re-implementation of the multiple server feature#954

Open
Janfred wants to merge 1 commit into
postfixadmin:masterfrom
Janfred:MultipleServerSetupV2
Open

Re-implementation of the multiple server feature#954
Janfred wants to merge 1 commit into
postfixadmin:masterfrom
Janfred:MultipleServerSetupV2

Conversation

@Janfred

@Janfred Janfred commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

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:

  • Add hint in DOCUMENTS/BACKUP_MX.txt
  • Add a new document in DOCUMENTS/ to describe this feature
  • Modify example postfix scripts in DOCUMENTS/POSTFIX_CONF.txt

I will get to the TODO list if there is a response that this is a useful feature and will be merged.

Comment thread public/upgrade.php

@DavidGoodwin DavidGoodwin Jan 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?)

@DavidGoodwin

Copy link
Copy Markdown
Member

(Yes, I'd merge this)

@Neustradamus

Copy link
Copy Markdown

@Janfred: Thanks for your new PR, after this long time! :)

@knofte

knofte commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants