diff --git a/linux_os/guide/services/mail/has_nonlocal_mta/oval/shared.xml b/linux_os/guide/services/mail/has_nonlocal_mta/oval/shared.xml index d0d74058b74a..8ab1188ee55d 100644 --- a/linux_os/guide/services/mail/has_nonlocal_mta/oval/shared.xml +++ b/linux_os/guide/services/mail/has_nonlocal_mta/oval/shared.xml @@ -1,9 +1,13 @@ {{{ oval_metadata("Verify MTA is not listening on any non-loopback address") }}} - - + + +{{% if 'ubuntu' in product %}} + +{{% endif %}} @@ -20,8 +24,33 @@ ::1 +{{% if 'ubuntu' in product %}} + + tcp + 127.0.0.1 + 465 + 587 + ste_not_ports_465 + ste_not_ports_587 + ste_not_on_localhost + + + + 465 + + + + 587 + + + + + +{{% endif %}}