<def-group>
  <definition class="compliance" id="postfix_server_banner" version="1">
    {{{ oval_metadata("Protect against unnecessary release of information.") }}}
    <criteria operator="AND">
      <criterion comment="Limit release of information" test_ref="test_postfix_server_banner" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" check_existence="all_exist"
  comment="Set banner" id="test_postfix_server_banner" version="1">
    <ind:object object_ref="obj_postfix_server_banner" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="obj_postfix_server_banner" version="1">
    <ind:filepath>/etc/postfix/main.cf</ind:filepath>
    <ind:pattern operation="pattern match">^[\s]*smtpd_banner[\s]*=[\s]*\$myhostname[\s]+ESMTP[\s]*$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

</def-group>
