mrmarkuz
(Markus Neuberger)
2
This howto explains how to setup a mail relay:
In your case it should be enough to just add the relay domain on the main MX.
Create the relay.cf file…
runagent -m mail1 podman exec -ti postfix vi main.cf.d/relay.cf
…with following content:
relay_domains = domain2.com
Reload postfix:
runagent -m mail1 systemctl --user reload postfix
I don’t think this is needed as it lets the mail app use a samba or openldap user domain, see User domains | NS8 dev manual
2 Likes