Configuring NDR sending from the SPE Agents and Services


This article applies to:

  • MailMarshal SPE 2.3 and above

Question:

  • How can I set the FROM address for Non Delivery Reports (NDRs) from MailMarshal SPE agents and services?
  • How can I disable NDR sending from the MailMarshal SPE agents and services?

Background:

MailMarshal SPE agent services use EASendMail to deliver administrative email messages. The messages affected include email delivery of reports, and error/status notifications. This service IS NOT used to deliver NDRs for MailMarshal managed email.

If a message cannot be delivered:

  • By default the service will send a NDR to the configured "from" address of the original message.
  • By default the NDR will be sent "From" the following address: "PostMaster" <marshalspe@localhost>

You can disable sending of NDRs, and you can change the "from" address of the NDRs.

Procedure:

For each of the following, repeat the steps on each server where you want to make the change. This software is installed with every MailMarshal SPE agent, including the MailMarshal SPE Web Console server, Reporting Agent server, MailMarshal SMTP Array Managers and Processing Nodes.

To disable NDRs:

  1. On a MailMarshal SPE server, open a command prompt.
  2. Enter net stop easendmailsvc
  3. Using Windows Explorer, navigate to %SPEInstallPath%\Mail Service\conf
  4. Edit the file config.txt
  5. Change the following line
        smtpsend/delivery/report: 1
          to
        smtpsend/delivery/report: 0
  6. Save the file.
  7. At the command prompt, enter net start easendmailsvc

To edit the NDR FROM address:

  1. On a MailMarshal SPE server, open a command prompt.
  2. Enter net stop easendmailsvc
  3. Using Windows Explorer, navigate to %SPEInstallPath%\Mail Service\conf
  4. Edit the file _delivery_report.txt
  5. Change the following line
        From: "PostMaster" <marshalspe@localhost>
         to (replace the values as desired):
        From: "*yournamehere*" <*youraddresshere*>
  6. Save the file.
  7. At the command prompt, enter net start easendmailsvc

Last Modified 11/4/2008.
https://support.trustwave.com/kb/KnowledgebaseArticle12177.aspx