{"description": "Verify the administrators are notified in the event of an audit processing failure.\nCheck that the \"/etc/aliases\" file has a defined value for \"root\".\n<pre>$ sudo grep \"postmaster:\\s*root$\" /etc/aliases\n\npostmaster: root</pre>", "rationale": "It is critical for the appropriate personnel to be aware if a system is at risk of failing to\nprocess audit logs as required. Without this notification, the security personnel may be\nunaware of an impending failure of the audit capability, and system operation may be adversely\naffected.\n\nAudit processing failures include software/hardware errors, failures in the audit capturing\nmechanisms, and audit storage capacity being reached or exceeded.", "severity": "medium", "references": {"nist": ["AU-5(a)", "AU-5.1(ii)"], "srg": ["SRG-OS-000046-GPOS-00022"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the alias is not set or is not root", "ocil": "Find the list of alias maps used by the Postfix mail server:\n<pre>$ sudo postconf alias_maps</pre>\nQuery the Postfix alias maps for an alias for the <i>postmaster</i> user:\n<pre>$ sudo postmap -q postmaster hash:/etc/aliases</pre>\nThe output should return root.", "oval_external_content": null, "fixtext": "Configure a valid email address as an alias for the root account.\n\nAppend the following line to \"/etc/aliases\":\n\npostmaster: root\n\nThen, run the following command:\n\n$ sudo newaliases", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must forward mails from postmaster to the root account using a postfix alias", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must forward mail from postmaster to the root account using a postfix alias.", "vuldiscussion": "It is critical for the appropriate personnel to be aware if a system is at risk of failing to process audit logs as required. Without this notification, the security personnel may be unaware of an impending failure of the audit capability, and system operation may be adversely affected.\n\nAudit processing failures include software/hardware errors, failures in the audit capturing mechanisms, and audit storage capacity being reached or exceeded.", "checktext": "Verify that the administrators are notified in the event of an audit processing failure.\n\nCheck that the \"/etc/aliases\" file has a defined value for \"root\".\n\n$ sudo grep \"postmaster:\\s*root$\" /etc/aliases\n\nIf the command does not return a line, or the line is commented out, ask the system administrator to indicate how they and the information systems security officer (ISSO) are notified of an audit process failure. If there is no evidence of the proper personnel being notified of an audit processing failure, this is a finding.", "fixtext": "Configure a valid email address as an alias for the root account.\n\nAppend the following line to \"/etc/aliases\":\n\npostmaster: root\n\nThen, run the following command:\n\n$ sudo newaliases"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Configure System to Forward All Mail From Postmaster to The Root Account", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/mail/postfix_client/postfix_client_configure_mail_alias_postmaster/rule.yml", "template": null}