Files
@ 92011aae7258
Branch filter:
Location: majic-ansible-roles/roles/mail_server/files/ferm_mail.conf - annotation
92011aae7258
833 B
text/plain
MAR-128: Upgraded tests for php_website role:
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Updated hostname to include Debian version.
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Updated hostname to include Debian version.
7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c eb9a1b525c77 eb9a1b525c77 7df70ebc439c 7df70ebc439c 1bb9f7ac1072 1bb9f7ac1072 7df70ebc439c 1bb9f7ac1072 1bb9f7ac1072 1bb9f7ac1072 7df70ebc439c eb9a1b525c77 7df70ebc439c | domain (ip ip6) {
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 ACCEPT;
# SMTP for client submission (with alternative port)
proto tcp dport 587 ACCEPT;
proto tcp dport 26 ACCEPT;
# IMAP
proto tcp dport 143 ACCEPT;
proto tcp dport 993 ACCEPT;
# ManageSieve
proto tcp dport 4190 ACCEPT;
}
}
table nat {
chain PREROUTING {
# Set-up redirection for alternate SMTP submission port (to avoid
# ISP/hotel blocks etc).
proto tcp dport 26 REDIRECT to-ports 587;
# Set-up redirection for alternate SMTP port (to avoid ISP blocks).
proto tcp dport 27 REDIRECT to-ports 25;
}
}
}
|