postfix: run behind ovpns

this gives us a static IPv4 IP address which has an unblocked SMTP port.
This commit is contained in:
Colin 2022-05-03 00:44:15 +00:00
parent 1bc5af002a
commit 6688b3bc00

View File

@ -26,4 +26,9 @@
# selectors can be used to disambiguate sender machines.
# keeping this the same as the hostname seems simplest
services.opendkim.selector = "mx";
systemd.services.postfix.serviceConfig = {
# run this behind the OVPN static VPN
NetworkNamespacePath = "/run/netns/ovpns";
};
}