Fix postfix relay sending (on newer Ubuntu versions)
Requires relay restrictions to be configured explicitly
This commit is contained in:
@@ -21,5 +21,6 @@ node.default["postfix"]["sasl"] = {
|
|||||||
node.default["postfix"]["main"]["relayhost"] = smtp_credentials["relayhost"]
|
node.default["postfix"]["main"]["relayhost"] = smtp_credentials["relayhost"]
|
||||||
node.default["postfix"]["main"]["smtp_sasl_auth_enable"] = "yes"
|
node.default["postfix"]["main"]["smtp_sasl_auth_enable"] = "yes"
|
||||||
node.default["postfix"]["main"]["smtp_sasl_security_options"] = "noanonymous"
|
node.default["postfix"]["main"]["smtp_sasl_security_options"] = "noanonymous"
|
||||||
|
node.default["postfix"]["main"]["smtpd_relay_restrictions"] = "permit_mynetworks, reject"
|
||||||
|
|
||||||
include_recipe "postfix::default"
|
include_recipe "postfix::default"
|
||||||
|
|||||||
Reference in New Issue
Block a user