diff --git a/test/integration/default/controls/postfix_spec.rb b/test/integration/default/controls/postfix_spec.rb index 1e45a18..a2542d2 100644 --- a/test/integration/default/controls/postfix_spec.rb +++ b/test/integration/default/controls/postfix_spec.rb @@ -38,7 +38,7 @@ control 'Postfix config' do its('mynetworks') { should cmp '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128' } its('mailbox_size_limit') { should cmp '0' } its('recipient_delimiter') { should cmp '+' } - its('inet_interfaces') { should cmp 'all' } + its('inet_interfaces') { should cmp '127.0.0.1' } its('inet_protocols') { should cmp 'all' } its('message_size_limit') { should cmp '41943040' } its('smtpd_recipient_restrictions') do diff --git a/test/salt/pillar/default.sls b/test/salt/pillar/default.sls index 8fd852e..e793b5e 100644 --- a/test/salt/pillar/default.sls +++ b/test/salt/pillar/default.sls @@ -45,7 +45,8 @@ postfix: mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit: 0 recipient_delimiter: + - inet_interfaces: all + # using all has problems in centos with ipv6 + inet_interfaces: 127.0.0.1 inet_protocols: all # Alias diff --git a/test/salt/pillar/postgrey.sls b/test/salt/pillar/postgrey.sls index f127c79..602be0e 100644 --- a/test/salt/pillar/postgrey.sls +++ b/test/salt/pillar/postgrey.sls @@ -50,7 +50,8 @@ postfix: mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit: 0 recipient_delimiter: + - inet_interfaces: all + # using all has problems in centos with ipv6 + inet_interfaces: 127.0.0.1 inet_protocols: all # Alias