Re: [Postfixadmin-devel] Backup MX with Postfixadmin
Brought to you by:
christian_boltz,
gingerdog
From: Janfred <pos...@ri...> - 2023-02-27 20:36:29
|
Hi, (I'm not a postfixadmin maintainer, just an interested user) I had a quite similar use case, actually with the additional requirement that my mail servers were a proxy for some domains, so we had to forward all incoming mail for specific domains to external hosts. For this usecase I patched posfixadmin manually, I have since created a pull request, but would need to work on that to see if it would work with the current version, my initial patch is some years old now. The basic idea was to introduce the possibility to define a primary mail server for each domain and only the primary would then deliver mails to local mailboxes. The secondary mail server(s) would behave to the outside world exactly like the primary, including resolving aliases and doing forwards, but every mail that needs to be delivered to a local mailbox would get forwarded to the primary. If you have input on that, please feel free to reach out to me or review the pull request. Any feedback is appreciated. Cheers, Janfred On 27.02.23 20:24, Fongaboo wrote: > > I have my primary mail server running postfix with MySQL backend and > PostfixAdmin front-end. Works as advertised. > > For years my backup MX has just been configured to accept all mail for > configured domains, and store-and-forward. But we know that hasn't been > a good practice for a long time. > > I have finally set up my backup MX with the same > postfix/MySQL/postfixadmin stack as the primary. I see you can check off > Backup MX as an option in Domains. > > But I want to populate the backup MX with valid users so that anything > else gets denied. How do you do that in a Postfixadmin setting? > > Do aliases have to be created pointing to the same destination as is set > on the primary? > > How are addresses that are actual POP/IMAP mailboxes on the primary > handled? Do you have to make an actual mailbox on the secondary? Or can > you just make a matching alias? If the latter, what to point the aliases > to? > > Should I be planning to migrate the entire MySQL database as-is to the > secondary server, but then have some script that sets backupmx=1? > > > TIA > > > _______________________________________________ > Postfixadmin-devel mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel |