DSN Settings

When MDaemon has a problem delivering a message, whether it is a temporary or permanent delivery failure, a Delivery Status Notification (DSN) message is sent to the sender of the message. This screen contains various options related to those DSN messages. It is located at: Queues » Mail Queues/DSN... » DSN Settings.

DSN Content

Transient (delayed) delivery message subject text (up to 512 chars)

This is the subject heading of the DSN message that will be sent when there is a transient problem causing a delay in message delivery. For example, if the recipient's mail server isn't available when MDaemon tries to deliver a message, MDaemon will continue trying to send it at designated intervals, and it will send this DSN message informing the sender of the problem. See: Customizing DSN Messages.

Permanent (failed) delivery message subject text (up to 512 chars)

This is the subject heading of the DSN message that will be sent when there is a problem that makes it impossible for MDaemon to deliver a message. For example, if the receiving mail server rejects the message, stating that the recipient's email address doesn't exist, MDaemon will stop trying to deliver the message and will send a DSN message informing the sender that the message cannot be delivered. See: Customizing DSN Messages.

DSN Settings

Do not include session transcripts in DSN messages

Click this option if you do not wish to include SMTP session transcripts in delivery error and warning messages. This option is disabled by default.

Do not generate DSN for undeliverable forwarded mail

When this option is enabled, forwarded messages that encounter permanent, fatal delivery errors or expire from the Retry queue will be moved to the bad messages queue, with no DSN messages being sent to the original sender. This option is enabled by default.

Place undeliverable DSN messages into bad message queue

Click this checkbox if you wish to place undeliverable Delivery Status Notification messages into the bad message queue rather than retrying them.

This only applies to DSN messages generated by MDaemon.

DSN messages are sent through the content and spam filters

Enable this option if you wish to send DSN messages through the content and spam filters. This option is disabled by default.

Customizing DSN Messages

The "human-readable" portion of transient (delayed) and permanent (failed) DSN messages can be customized by creating a file called DSNDelay.dat or DSNFail.dat respectively, in the \MDaemon\App\ folder. Edit them with a text file editor such as Notepad and enter the text you wish to use. The following macros can be used in your custom text:

$SESSIONID$ - expands to the delivery session's ID string

$QUEUEID$ - expands to the message's mail queue ID string

$MESSAGEID$ - expands to the message-id header value

$RETRYDAYS$ - length of time allowed in queue (in days)

$RETRYHOURS$ - length of time allowed in queue (in hours)

MDaemon must be restarted before changes to these files are loaded.

See: