The audit_warn script generates mail to an alias that is called audit_warn. To send this mail to a valid email address, you can follow either of the following options:
Become superuser or assume an equivalent role.
Configure the audit_warn mail alias.
Replace the audit_warn alias with another mail account in the audit_warn script.
After you replace audit_warn with the root account, the line that sends the email message would resemble the following:
/usr/ucb/mail -s "$SUBJECT" root |
Ten lines in the audit_warn script require this change.
Redirect the audit_warn email to another mail account.
In this case, you would add the audit_warn alias to the appropriate mail aliases file. You could add the alias to the local /etc/mail/aliases file or to the mail_aliases database in the name space. The new entry would resemble the following if the root mail account was made a member of the audit_warn alias:
audit_warn: root |