Document information

Document ID:4676
Subject:Specifying a gateway in Xeams
Creation date:12/14/15 4:35 PM
Last modified on:12/14/15 4:35 PM


Specifying a gateway

Most implementations of Xeams are deployed in a way that Xeams is the first SMTP server to receive emails from the Internet. However, in certain cases there may be another SMTP server in front of Xeams before it gets emails from the Internet. This page talks about the steps you need to take if Xeams is not the first SMTP server.

The IP address of the sender's SMTP server is a very important information in determining if a message is junk or good. When Xeams is not the first SMTP server, every message it receives will appear to come from one IP address and all the IP based rules won't work correctly.

Follow the steps below to specify a gateway file that will make Xeams ignore the sender's IP address.
  • Create a new text file called gateway.dat in $INSTALL_DIR\config\ folder. When using Notepad on Windows, ensure the file name remains gateway.dat and not gateway.dat.txt.
  • Add the IP address of one or more SMTP servers that are forwarding messages to Xeams. Type one IP address per line
  • Save the file
  • Restart Xeams
When Xeams determines a message coming from a gateway, it will ignore the IP address of the sender and will parse the Received header to get the IP address instead. Additionally, it will automatically disable the new Dictionary Attack rule introduced in version 4.6.



Add a comment to this document

Do you have a helpful tip related to this document that you'd like to share with other users? Please add it below. Your name and tip will appear at the end of the document text.
Your name:
Your email:
Hide my email address
Verification code:
Enter the verification code you see above more submitting your tip
Tip:Please limit tips to 1000 characters