Additional postfix config options (smtpd_relay_restrictions)
We need to add a specific smtpd_relay_restrictions value to our /etc/postfix/main.cf file - the value is “permit_mynetworks permit_sasl_authenticated reject_unauth_destination” but there is no smtpd_relay_restrictions specific option for the module, nor a raw prepend/append option that would allow us to set this value. At the moment, the module just wipes this line if we’ve manually added it and I cannot find a way to make the module set the value, or, just leave it alone if it’s manually set (I guess this would mean needing to use file_line and a regex on the values it IS looking to manage, instead of setting the entire file contents.
Comments (4)
-
-
Version 0.3.0 has been released and includes the smptd_relay_restrictions settings. Please let me know if you find any issues but hopefully this solves this task.
-
- changed status to resolved
-
reporter Thank you so much for the quick action. We implemented this yesterday and it worked exactly as needed.
- Log in to comment
Thank you for the issue. I will add this setting (should be easy enough). Hopefully i can do this today.