Files
@ 530a5b0abb6d
Branch filter:
Location: majic-ansible-roles/roles/mail_forwarder/templates/ferm_mail.conf.j2 - annotation
530a5b0abb6d
689 B
text/plain
MAR-107: Test implementation for role 'backup_server':
- Implemented common set of tests.
- Implemented tests for role usage where only mandatory parameters are
supplied.
- Implemented tests that are relevant to optional parameters.
- Tests cover full functionality of the backup server.
- Implemented common set of tests.
- Implemented tests for role usage where only mandatory parameters are
supplied.
- Implemented tests that are relevant to optional parameters.
- Tests cover full functionality of the backup server.
13fd27e4004c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 13fd27e4004c 13fd27e4004c 13fd27e4004c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 13fd27e4004c | {% if smtp_relay_host %}
domain ip {
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 {
saddr {{ smtp_relay_host }} ACCEPT;
}
}
}
}
{% if lookup('dig', smtp_relay_host + '/AAAA') not in ['NXDOMAIN', ''] %}
domain ip6 {
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 {
saddr {{ smtp_relay_host }} ACCEPT;
}
}
}
}
{% endif %}
{% endif %}
|