Skip to content

Commit

Permalink
Add postfix_network_listening_disabled test scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
mildas committed Mar 16, 2021
1 parent 1e8f5c5 commit 5f27c89
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Expand Up @@ -2,3 +2,5 @@
# packages = postfix

echo "inet_interfaces = loopback-only" > /etc/postfix/main.cf
systemctl enable postfix
systemctl start postfix
Expand Up @@ -2,4 +2,5 @@
# packages = postfix

echo "#inet_interfaces = loopback-only" > /etc/postfix/main.cf
echo "inet_interfaces = something_different" >> /etc/postfix/main.cf
systemctl enable postfix
systemctl start postfix
@@ -1,4 +1,6 @@
#!/bin/bash
# packages = postfix

echo "inet_interfaces = some_different_interface,loopback-only" > /etc/postfix/main.cf
echo "inet_interfaces = all" > /etc/postfix/main.cf
systemctl enable postfix
systemctl start postfix
@@ -0,0 +1,6 @@
#!/bin/bash
# packages = postfix

echo "inet_interfaces = all" > /etc/postfix/main.cf
systemctl stop postfix
systemctl disable postfix

0 comments on commit 5f27c89

Please sign in to comment.