Home / Technical Details

Single SMTP server behind Firewall

In this configuration our SPAM Filtering software is installed on the same server as your SMTP software. The server only has one IP address available, SPAMFilter should be configured to listen on a port other than 25 so it does not conflict with your SMTP Server, for example port 26. Your SMTP software will not need be reconfigured.Reconfigure the firewall to perform port mapping so that it routes the external SMTP traffic from port 25 to port 26 on the IP assigned to SPAM Filter.If the firewall does not support port translation, this configuration can't be implemented. Please refer to the "Single SMTP server with a single IP address directly connected to Internet" example above for an alternate solution.

Single SMTP server / single IP behind firewall DNS MX record: mail.domain.com · Firewall NATs to 10.10.10.2 on port 25. After: DNS MX record: mail.domain.com · Firewall translates external port 25 to internal port 26. One IP, two ports: 10.10.10.2:26 = SpamFilter; 10.10.10.2:25 = your SMTP server. SpamFilter forwards to SMTP on port 25. Email clients keep 10.10.10.2 on port 25. BEFORE DNS MX record: mail.domain.com · Firewall NATs to 10.10.10.2 on port 25 AFTER · WITH SPAMFILTER DNS MX record: mail.domain.com · Firewall translates external port 25 to internal port 26 Internet Incoming SMTP Firewall External SMTP port 25 Your mail server 10.10.10.2 port 25 Email clients SMTP: 10.10.10.2 port 25 SMTP ONE PHYSICAL SERVER Internet SMTP: port 25 Firewall NAT + port mapping SpamFilter 10.10.10.2:26 SMTP server 10.10.10.2:25 Email clients 10.10.10.2:25 One IP, two ports: 10.10.10.2:26 = SpamFilter; 10.10.10.2:25 = your SMTP server. SpamFilter forwards to SMTP on port 25. Email clients keep 10.10.10.2 on port 25. Incoming mail → SpamFilter → Your SMTP server