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

Make mynetworks configurable

parent 596e6732
Loading
Loading
Loading
Loading
+5 −1
Changes for manifests/mta.pp: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -42,11 +42,15 @@ class postfix::mta {
    default: {}
  }

  case $::postfix_mynetworks {
    "": { $postfix_mynetworks = "127.0.0.0/8" }
  }

  include postfix

  postfix::config {
    'mydestination':       value => $::postfix_mydestination;
    'mynetworks':          value => '127.0.0.0/8';
    'mynetworks':          value => $::postfix_mynetworks;
    'relayhost':           value => $::postfix_relayhost;
    'virtual_alias_maps':  value => 'hash:/etc/postfix/virtual';
    'transport_maps':      value => 'hash:/etc/postfix/transport';