fix(test): use specific ip to workaround centos bug

Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
This commit is contained in:
Felipe Zipitria 2020-06-07 00:49:02 -03:00
parent 2a61498fa4
commit 273caf9b6f
No known key found for this signature in database
GPG Key ID: A5D3A8FAF97BF212
3 changed files with 5 additions and 3 deletions

View File

@ -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('mynetworks') { should cmp '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128' }
its('mailbox_size_limit') { should cmp '0' } its('mailbox_size_limit') { should cmp '0' }
its('recipient_delimiter') { should cmp '+' } 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('inet_protocols') { should cmp 'all' }
its('message_size_limit') { should cmp '41943040' } its('message_size_limit') { should cmp '41943040' }
its('smtpd_recipient_restrictions') do its('smtpd_recipient_restrictions') do

View File

@ -45,7 +45,8 @@ postfix:
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit: 0 mailbox_size_limit: 0
recipient_delimiter: + recipient_delimiter: +
inet_interfaces: all # using all has problems in centos with ipv6
inet_interfaces: 127.0.0.1
inet_protocols: all inet_protocols: all
# Alias # Alias

View File

@ -50,7 +50,8 @@ postfix:
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit: 0 mailbox_size_limit: 0
recipient_delimiter: + recipient_delimiter: +
inet_interfaces: all # using all has problems in centos with ipv6
inet_interfaces: 127.0.0.1
inet_protocols: all inet_protocols: all
# Alias # Alias