Commit de52e342 authored by Andreas Jaggi's avatar Andreas Jaggi Committed by Marc Fournier
Browse files

Make mynetworks configurable

parent 596e6732
...@@ -42,11 +42,15 @@ class postfix::mta { ...@@ -42,11 +42,15 @@ class postfix::mta {
default: {} default: {}
} }
case $::postfix_mynetworks {
"": { $postfix_mynetworks = "127.0.0.0/8" }
}
include postfix include postfix
postfix::config { postfix::config {
'mydestination': value => $::postfix_mydestination; 'mydestination': value => $::postfix_mydestination;
'mynetworks': value => '127.0.0.0/8'; 'mynetworks': value => $::postfix_mynetworks;
'relayhost': value => $::postfix_relayhost; 'relayhost': value => $::postfix_relayhost;
'virtual_alias_maps': value => 'hash:/etc/postfix/virtual'; 'virtual_alias_maps': value => 'hash:/etc/postfix/virtual';
'transport_maps': value => 'hash:/etc/postfix/transport'; 'transport_maps': value => 'hash:/etc/postfix/transport';
......
Supports Markdown
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