Xeams Home » Products » Xeams » Knowledge Base
Document information
| Document ID: | 670 |
|---|---|
| Subject: | Preventing message loops in SMTP server |
| Creation date: | 7/2/09 9:31 AM |
| Last modified on: | 7/2/09 10:10 AM |
Understanding and preventing message loops
Email messages, by design, hop from one SMTP server to another. Often misconfiguration in the one or more server can cause messages to get stuck in a loop - meaning server A sends a message to server B, which sends it back to A.
The following section describes how message loops are created in Xeams and ways to prevent them
Scenario 1
You are using Xeams as Hybrid-mode and the forward-to IP address is either missing or is defined as the IP address of Xeams itself. Refer to the image below.
Scenario 2
You are using Xeams in Firewall mode and are using SMTP Proxy server. Besides In-bound messages, you want to use Xeams to handle out-bound messages as well. You configure your actual SMTP server to forward out-bound messages to Xeams.
Analysis
If your actual SMTP server forwards all out-bound traffic to Xeams' SMTP Proxy server, it will send the message back to your actual server, creating a message loop.Steps to prevent this situation
If you need Xeams to handle out-bound messages, use the regular SMTP server rather than Xeams. Following steps show how to do this.- Assign a new IP address to the machine where Xeams is running
- Configure Xeams SMTP Server to listen on this IP address. Once this is done, the SMTP Proxy server will handle in-bound emails and SMTP Server will handle out-bound messages
- Configure your actual email server to forward messages to the new IP address you just added to your Xeams box.





