response_transcode – Module

March 26, 2020

The response_transcode module can be used to work around broken remote servers that send incorrect response codes. For example, with you can change a hard bounce to a soft bounce, enabling you to log the bounce in order to later resend the message.

Warning

Since it is possible to rewrite permanent errors as temporary errors, use this module carefully. Resubmitting mail that a remote server has already rejected with a permanent error can be seen as a hostile action.

Configuration

This module is loaded automatically as required and does not need to be explicitly included.

response_transcode {
}

Note

You can transcode "[internal]" transient failures but you cannot transcode "[internal]" permanent failures. For a listing of "[internal]" failures see Message Responses .

The following configuration options are available:

Response_Transcode_Pattern

For more information, see response_transcode_pattern.

Response_Transcode_Replace

For more information, see response_transcode_replace.

Note

If you reference either option, the response_transcode module will be loaded automatically.