On Sun, 22 Dec 2024, Leonardo Boselli via Exim-users wrote:
On Sun, 22 Dec 2024, Jeremy Harris via Exim-users wrote:
It is enough after installing exim4 [both have same version 4.96 from
bookworm] on server B to copy all configuration files to the new server?
The secondary can then be running well in advance of any primary outage,
planned or not, and will merely queue if needed (and deliver eventually
on queue-runs once the primary reappears).
This is exactly what currently host A does, and the new B should do the same
thing (it would get also the relevant IP addresses ...)
My question was if were possible, after installing exim4, just copy
/etc/exim4/ into the new host, without having to make all adjustment I had to
do in the previous one.
Essentially yes, but there are caveats:
-- 1 --
Check all config files for hostnames; these will probably need changing
...
-- 2--
On my Ubuntu machine,
exim4 -bV
output includes:
Configuration file search path is
/etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
so you might want /var/lib/exim4 as well as /etc/exim4/exim4.conf
-- 3 --
If you have built exim with the option
CONFIGURE_FILE_USE_NODE
(in src/Local/Makefile "THINGS YOU ALMOST NEVER NEED TO MENTION")
you will need to check these config files ...
-- 4 --
/etc/exim4/update-exim4.conf.conf
says
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
so check /etc/mailname too.
- end -
--
Andrew C. Aitchison Kendal, UK
and...@aitchison.me.uk
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/