Re: [Postfixadmin-devel] Backup MX with Postfixadmin
Brought to you by:
christian_boltz,
gingerdog
From: <pos...@fo...> - 2023-03-01 15:37:55
|
Answering over there... On Wed, 1 Mar 2023, Michael Neuffer wrote: > @Janfred I assume both your mail servers are accessing the same DB backend? > or are you replicating the information somehow from the primary to the > DB on the second mail server? > > @Janfred @Fongaboo: would you mind moving this discussion (back) to > Fongaboos posting on Github > https://github.com/postfixadmin/postfixadmin/discussions/713#discussion-4904766 > ? > I personally love mailing lists, but most users are found there. > > I believe there is a number of users interested in this topic, since > this is one feature that postfixadmin is still lacking. > > Cheers > Mike > > > On 3/1/23 01:00, Fongaboo wrote: >> >> So if you had an actual POP/IMAP box on the primary, how did it >> manifest in Postfixadmin on the secondary? >> >> >> On Mon, 27 Feb 2023, Janfred wrote: >> >>> 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 >>> >>> >>> _______________________________________________ >>> Postfixadmin-devel mailing list >>> Pos...@li... >>> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel >>> >> >> >> _______________________________________________ >> Postfixadmin-devel mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel > > > > > _______________________________________________ > Postfixadmin-devel mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel > |