From 94a68b17739770c20e10e3af00360c90ca98df3d Mon Sep 17 00:00:00 2001 From: Jennifer Davis Date: Mon, 15 May 2017 09:55:05 -0700 Subject: [PATCH] Fixes Issue #135 (use_relay_restrictions_maps fix) Signed-off-by: Jennifer Davis --- attributes/default.rb | 2 +- recipes/_attributes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index 897e4bb..d467072 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -395,6 +395,6 @@ default['postfix']['aliases'] = case node['platform'] {} end -if node['postfix']['use_relay_restirictions_maps'] +if node['postfix']['use_relay_restrictions_maps'] default['postfix']['main']['smtpd_relay_restrictions'] = "hash:#{node['postfix']['relay_restrictions_db']}, reject" end diff --git a/recipes/_attributes.rb b/recipes/_attributes.rb index 129f0c8..f3ffe6e 100644 --- a/recipes/_attributes.rb +++ b/recipes/_attributes.rb @@ -58,7 +58,7 @@ if node['postfix']['use_virtual_aliases_domains'] node.default_unless['postfix']['main']['virtual_alias_domains'] = ["#{node['postfix']['virtual_alias_domains_db_type']}:#{node['postfix']['virtual_alias_domains_db']}"] end -if node['postfix']['use_relay_restirictions_maps'] +if node['postfix']['use_relay_restrictions_maps'] default['postfix']['main']['smtpd_relay_restrictions'] = "hash:#{node['postfix']['relay_restrictions_db']}, reject" end