Commit 3ae90782 authored by Vincent Pelletier's avatar Vincent Pelletier

stack.erp5: Accept relaying mail with addresses starting with a dash.

This simplistic mail setup does not pass address as command line arguments,
so it is not subject to the vulnerability protected against by this option.
parent 9177824c
No related merge requests found
...@@ -63,7 +63,7 @@ md5sum = 9ac81647368068a1a98a785d08074b43 ...@@ -63,7 +63,7 @@ md5sum = 9ac81647368068a1a98a785d08074b43
[template-postfix-main-cf] [template-postfix-main-cf]
filename = postfix_main.cf.in filename = postfix_main.cf.in
md5sum = 4fe9bb5225b9d7650d2916a0945821bd md5sum = 886d1b004049c8dc1f89cbbfe4f95371
[template-postfix-aliases] [template-postfix-aliases]
filename = postfix_aliases.in filename = postfix_aliases.in
......
...@@ -52,6 +52,10 @@ smtpd_relay_restrictions = ...@@ -52,6 +52,10 @@ smtpd_relay_restrictions =
permit_sasl_authenticated permit_sasl_authenticated
defer_unauth_destination defer_unauth_destination
# We do not pass mail address in command lines, so accept those starting with
# a dash.
allow_min_user = yes
# Disable local delivery # Disable local delivery
local_transport = error local_transport = error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment