Hi all,
I have 2 list servers (lists4 and lists5) in an HA configuration. Both share a CNAME (lists.framail.de) in DNS. In case of failover, the postgresql server on the peer becomes master and the CNAME is updated to point at the peer. Both database servers are kept à jour by replication. What else must be synced (by rsync)?
Currently (the CNAME points at mailman 2.1 server at the peer.
While creating a domain, what should I enter into the fields?
Mail Host lists.framail.de (currently lists5.lrau.net) Alias Domain listsl.framail.de Web Host lists.framail.de (currently lists5.lrau.net)
Any help appreciated, Axel
PGP-Key: CDE74120 ☀ computing @ chaos claudius
On 1/16/22 9:09 AM, Axel Rau wrote:
What else must be synced (by rsync)?
Aside from the database, there are multiple directories containing
Mailman mutable data. Where these directories are depends on Mailman's
layout configuration. For all layouts except fhs
they are all in a
single directory, but for fhs
they are split. See
https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/config/mailman....
Depending on exactly what's going on between the two servers, you need to decide what needs to be synced.
For example, you probably don't want to sync .pid files or or the locks directory. You probably should sync archives/, cache/, data/, etc/, lists/, messages/, templates/, public_suffix_list.dat and the search engine's (Whoosh, Xapian, whatever) index files.
Syncing Mailman's queue files is problematic. They are very dynamic and it isn't practical to rsync them. The same is true to a lesser extent with messages/
While creating a domain, what should I enter into the fields?
Mail Host lists.framail.de (currently lists5.lrau.net)
Mail Host is the FQDN of the host's email address.
Alias Domain listsl.framail.de
Alias Domain is a special case to handle situations where Mail Host is a Postfix virtual domain rather than a local destination. It is normally None (not set), and if requires would never be the same as Mail Host. See https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht...
Web Host lists.framail.de (currently lists5.lrau.net)
Web Host is the host name of the web web server, i.e., the host in the URL that accesses the web UI
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for your answer, Mark.
Am 17.01.2022 um 04:37 schrieb Mark Sapiro <mark@msapiro.net <mailto:mark@msapiro.net>>:
While creating a domain, what should I enter into the fields? Mail Host lists.framail.de <http://lists.framail.de/> (currently lists5.lrau.net <http://lists5.lrau.net/>)
Mail Host is the FQDN of the host's email address.
I would prefer the entering the alias pointing at the mailhost here, because the alias stays the same after failover and so configuration data stays valid. Is this supported by mailman?
Axel
PGP-Key: CDE74120 ☀ computing @ chaos claudius
On 1/17/22 12:58 AM, Axel Rau wrote:
Thanks for your answer, Mark.
Am 17.01.2022 um 04:37 schrieb Mark Sapiro <mark@msapiro.net <mailto:mark@msapiro.net>>:
Mail Host is the FQDN of the host's email address.
I would prefer the entering the alias pointing at the mailhost here, because the alias stays the same after failover and so configuration data stays valid. Is this supported by mailman?
What you want in that field is the domain part of the email addresses that are used to send mail to Mailman. I.e. the list posting address and the various listname-*@ addresses. It doesn't matter if it's an actual A or MX domain or a CNAME as long as that's the domain you want to use.
So yes, I think the alias pointing to the actual host is what you want.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Axel Rau
-
Mark Sapiro