Adding functionality to restrict 'rcpt to' domains
This commit is contained in:
committed by
Thom May
parent
aebec52404
commit
2cbe7c42b4
11
templates/default/relay_restrictions.erb
Normal file
11
templates/default/relay_restrictions.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# This file is generated by Chef for <%= node['fqdn'] %>
|
||||
#
|
||||
# Local changes will be overwritten
|
||||
#
|
||||
# Attribute name is the domain name, Attribute value is either OK or REJECT
|
||||
|
||||
<% node['postfix']['relay_restrictions'].each do |name, value| %>
|
||||
<%= name %> <%= value %>
|
||||
<% end unless node['postfix']['relay_restrictions'].nil? %>
|
||||
* REJECT
|
||||
Reference in New Issue
Block a user