Use this command to customize the non-delivery report.
Prerequisites
Administrator or Operator access to the Email Security - Server appliance.
Soft bounce must be disabled. Refer to Enabling or disabling soft bounce using the CLI for instructions.
To customize the non-delivery report:
Go to CLI configuration mode.
hostname > enable
hostname # configure terminal
View the current non-delivery report:
hostname (config) # show email-analysis mta non-delivery-report
In the following example, the non-delivery report is configured with default values:
From : MAILER-DAEMON (Mail Delivery System)Subject: Undelivered Mail Returned to SenderThis is the mail system at host $myhostname.I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.For further assistance, please send mail to postmaster.If you do so, please include this problem report. You can delete your own text from the attached returned message.The mail systemBy default, the from address is MAILER-DAEMON (Mail Delivery System), the subject line is Undelivered Mail Returned to Sender, and the message body contains the content shown above.
(Optional). Modify the non-delivery report:
To change the from address:
hostname (config) # email-analysis mta non-delivery-report from <from_address>To change the subject line:
hostname (config) # email-analysis mta non-delivery-report subject <subject_line>To change the message body:
hostname (config) # email-analysis mta non-delivery-report template <this_is_an_ndr_message>Verify your changes:
hostname (config) # show email-analysis mta non-delivery-report
Save your changes.
hostname (config) # write memory