Fix postfix relay sending (on newer Ubuntu versions)

Requires relay restrictions to be configured explicitly
This commit is contained in:
2026-07-06 14:50:49 +02:00
parent 21513e6d10
commit 4ce77e1a6e
@@ -21,5 +21,6 @@ node.default["postfix"]["sasl"] = {
node.default["postfix"]["main"]["relayhost"] = smtp_credentials["relayhost"]
node.default["postfix"]["main"]["smtp_sasl_auth_enable"] = "yes"
node.default["postfix"]["main"]["smtp_sasl_security_options"] = "noanonymous"
node.default["postfix"]["main"]["smtpd_relay_restrictions"] = "permit_mynetworks, reject"
include_recipe "postfix::default"