Correct attribute line for use_relay_restrictions_maps
Signed-off-by: Tom Parker <palfrey@tevp.net>
This commit is contained in:
parent
f7c66b9de3
commit
daca56f8c9
@ -59,7 +59,7 @@ if node['postfix']['use_virtual_aliases_domains']
|
||||
end
|
||||
|
||||
if node['postfix']['use_relay_restrictions_maps']
|
||||
default['postfix']['main']['smtpd_relay_restrictions'] = "hash:#{node['postfix']['relay_restrictions_db']}, reject"
|
||||
node.default_unless['postfix']['main']['smtpd_relay_restrictions'] = "hash:#{node['postfix']['relay_restrictions_db']}, reject"
|
||||
end
|
||||
|
||||
if node['postfix']['master']['maildrop']['active']
|
||||
|
Loading…
x
Reference in New Issue
Block a user