This article applies to:
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. With current versions, this is only the Marshal Interface Agent server. Older versions run this process on each server where any SPE Agent service is installed.
To disable NDRs:
- On a MailMarshal SPE server, open a command prompt.
- Enter net stop easendmailsvc
- Using Windows Explorer, navigate to %SPEInstallPath%\Mail Service\conf
- Edit the file config.txt
- Change the following line
smtpsend/delivery/report: 1
to
smtpsend/delivery/report: 0 - Save the file.
- At the command prompt, enter net start easendmailsvc
To edit the NDR FROM address:
- On a MailMarshal SPE server, open a command prompt.
- Enter net stop easendmailsvc
- Using Windows Explorer, navigate to %SPEInstallPath%\Mail Service\conf
- Edit the file _delivery_report.txt
- Change the following line
From: "PostMaster" <marshalspe@localhost>
to (replace the values as desired):
From: "*yournamehere*" <*youraddresshere*> - Save the file.
- At the command prompt, enter net start easendmailsvc