MailSite Knowledge Base

Enter text to search for or enter the document ID number.
Search:   
Doc ID:   

SMTPDA Delivery Problem - Cannot Connect to Host
Document #:10362

Applies To:
  • MailSite (SMTPDA) 7.x
  • MailSite (SMTPDA) 8.x
  • MailSite (MailSite (SMTPDA)) 9.x

Synopsis:
After upgrading to MailSite version 7 or later, messages destined for remote domains do not get delivered and remain within the Holding folder. The domain.mri file within the domains folder for a given domain reports "cannot connect to host" or "cannot bind to socket".

NOTE THIS DOCUMENT ONLY APPLIES TO MAILSITE VERSION 7 and later.

More Information:
By default in MailSite 7 and later, SMTPDA will attempt to deliver messages to remote servers on the IP address that SMTPRA accepted the intial message on.

For exmaple, let's assume the following IP addresses are bound to a server

192.168.1.106 (private LAN, not routable to the Internet)
84.21.11.11

If a client connects to the 192.x IP address to send a message, SMTPDA will attempt to send the message out on same IP. Since it is not routeable to the Internet, SMTPDA will not be able to deliver. If a client connects using the 84.x IP, then SMTPDA will attempt to send out on the 84.x IP and will be sucessful.

You can confgure MailSite to use the default IP address of a machine when delivering to remote hosts. This requies a Registry change (or for SQL connector a change in the Database) and is detailed below:

For Registry Implementations:
WARNING!!
Incorrectly editing the Registry can damage the server, please proceed with care.
  1. Click on the Start button.
  2. Select Run, and enter Regedit
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\SMTPDA\PARAMETERS\
  4. Create a new DWORD and name it UseDefaultOutboundIPAddress
  5. Hit Enter and then give the key a value of 1
  6. OK and Exit out of Regedit
  7. Use Windows Search to find and delete all instances of domain.mri files within the Spool Directory
  8. Restart the SMTPRA and the SMTPDA services
  9. All existing and new messages should now flow out of the system as normal

For SQL Implementations

  1. Open SQL Enterprise Manager and navigate to the MailSite database
  2. Locate the MailServerProperties table
  3. Add the Following:
  4. ServiceName PropertyName ServerRoleId PropType PropIntValue PropStringValue
    SMTPDA UseDefaultOutboundIpAddress 0 4 1 Null
  5. Use Windows Search to find and delete all instances of domain.mri files within the Spool Directory
  6. Restart the SMTPRA and SMTPDA services
  7. All existing and new messages should now flow out of the system as normal

Related:
See these other knowledge base documents:
Last revised 2008-7-1
 
 

MailSite SE - Easy email and calendar server software for small businesses | MailSite ExpressPro - AJAX email and calendar client for web browsers
MailSite Fusion SP - Scalable and clustered email and calendar hosting software | Email Server and Calendar Server Software
MailSite ActiveSync Server Software | MailSite Calendar Server Software | MailSite Anti-Virus | Mailsite Anti-Spam | Customer Portal
Support | Webstore | Services | Partners | Press | Company | Contact | Reviews | Site Map | Privacy | ©2008 MailSite, Inc.