--- title: "Configuring the non-delivery report using the CLI" slug: "configuring-the-non-delivery-report-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:52:57Z published: 2026-08-24T19:52:57Z canonical: "docs.trellix.com/configuring-the-non-delivery-report-using-the-cli" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring the non-delivery report using the CLI 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](/data-and-email/docs/enabling-or-disabling-soft-bounce-using-the-cli) for instructions. To customize the non-delivery report: 1. Go to CLI configuration mode. ``` hostname > enable ``` ``` hostname # configure terminal ``` 2. 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 Sender` `This 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 system` By 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. 3. (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>` 4. Verify your changes: ``` hostname (config) # show email-analysis mta non-delivery-report ``` 5. Save your changes. `hostname (config) # write memory`