postfix: run behind ovpns
this gives us a static IPv4 IP address which has an unblocked SMTP port.
This commit is contained in:
@@ -26,4 +26,9 @@
|
|||||||
# selectors can be used to disambiguate sender machines.
|
# selectors can be used to disambiguate sender machines.
|
||||||
# keeping this the same as the hostname seems simplest
|
# keeping this the same as the hostname seems simplest
|
||||||
services.opendkim.selector = "mx";
|
services.opendkim.selector = "mx";
|
||||||
|
|
||||||
|
systemd.services.postfix.serviceConfig = {
|
||||||
|
# run this behind the OVPN static VPN
|
||||||
|
NetworkNamespacePath = "/run/netns/ovpns";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user