ME020415 - HOWTO: Customizing SMTP RCPT behaviour to re-route through an alternate server


SUMMARY

MailEnable Professional and Enterprise Edition can redirect failed mail to an alternate server when the RCPT command fails. The settings outlined in this article are non-standard (unsupported) and should only be changed where there is a specific requirement to change the behaviour of the SMTP connector.

This setting is available to the following versions:

MailEnable Professional Edition 1.6 (and later)
MailEnable Enterprise Edition 1.1 (and later)

DETAIL

This customized behaviour allows MailEnable to attempt delivery via an alternate server should the SMTP recipient command fail when sending from the primary MailEnable Server.

Consider any message looping or undesirable behaviour that could arise from having mail re-routed to an alternate server.

The registry settings to change the SMTP Connectors behaviour follow:

Key Root: HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP
Key Name: SmartHost on RCPT Failure
Key Type: DWORD
Key Values: 0,Missing=Disabled; 1 = Enabled

Key Root: HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP
Key Name: SmartHost on RCPT Failure Server
Key Type: REGSZ (STRING)
Key Values: [String: IP Address or Host Name of Server to route mail to)]

Example Registry Import File:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP]
"SmartHost on RCPT Failure"=dword:00000000
"SmartHost on RCPT Failure Server"="mail123.mailenable.com"

This setting can be useful if the server is prone to blacklisting. The effectiveness of the setting depends on the action taken by the target mail server when it detects the server as being blacklisted or banned.

Some mail servers will immediately refuse connection and others will deny access at the RCPT command (in which case this setting will cause the mail to be routed).  But, if a mail server refuses connection at any other stage in the SMTP transaction, the setting will have no effect.



Product:MailEnable (Pro-Any Ent-Any)
Category:Integration
Module:SMTP
Keywords:SMTP, RCPT, retry, route, customise, customize, command, fails redirect fails
Class:HOWTO: Product Instructions
Revised:Wednesday, May 4, 2016
Author:
Publisher:MailEnable