Adding functionality to restrict 'rcpt to' domains

This commit is contained in:
Joris van Lieshout
2015-04-29 13:42:25 +02:00
committed by Thom May
parent aebec52404
commit 2cbe7c42b4
7 changed files with 80 additions and 1 deletions

View 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