<def-group>
  <definition class="compliance" id="mail_decode_active"
  version="1">
    <metadata>
      <title>SMTP DECODE Command Disabled</title>
      <affected family="unix">
        <platform>CentOS 4</platform>
		<platform>CentOS 5</platform>
		<platform>Red Hat Enterprise Linux 4</platform>
		<platform>Red Hat Enterprise Linux 5</platform>
      </affected>
      <description>The SMTP service must not have a uudecode alias active.</description>
    </metadata>
    <criteria>
		<criterion comment="decode and uudecode in /etc/aliases should not include file paths"
		test_ref="test_mail_decode_active" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" check_existence="none_exist"
  comment="decode and uudecode in /etc/aliases should not include file paths"
  id="test_mail_decode_active" version="1">
    <ind:object object_ref="obj_mail_decode_active" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object comment="decode and uudecode in /etc/aliases should not include file paths"
  id="obj_mail_decode_active" version="1">
    <ind:path>/etc</ind:path>
    <ind:filename>aliases</ind:filename>
    <ind:pattern operation="pattern match">^[\s]*(?:decode|uudecode)+.*(/.*)</ind:pattern>
    <ind:instance operation="greater than or equal" datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

</def-group>
