I want to send out email via Exchange Server and receive email via the POP3 client in Microsoft Outlook. My internal DNS name is XYZ.org. The Internet service provider (GoDaddy) is also XYZ.org. The email server at the ISP is mail.xyz.org with IP address 188.8.131.52. My internal DNS server is 192.168.0.240.
I'm having difficulty connecting to the outside email server via POP3. I created an MX record on the internal DNS server, which is a Windows 2003 file server called mail.xyz.org. I also assigned it the outside IP address at the ISP 184.108.40.206. Additionally, I created two alias names, POP and WWW, on the internal DNS server to 220.127.116.11.
I can run an nslookup command and successfully connect to the outside email server (mail.badmc.org). However, when I try to connect to the outside email server from my Microsoft Outlook POP3 client, I receive a message saying the server was found but did not respond. Can this be done?
Not having a public external IP address complicates things a little. You can use a number of dynamic DNS services. These services install a light agent on the server, which connects to the DNS service provider and notifies it of its external IP address. The dynamic DNS provider updates the DNS zone for your domain with that IP address. This allows you to use MX records to receive inbound email, and also allows your POP3 clients, which are probably connecting from outside the firewall, to access your Exchange server using its fully qualified domain name (FQDN).
However, this arrangement becomes less practical in two scenarios:
- If your ISP blocks the SMTP port, denying you the ability to send and receive mail using SMTP from a dynamic IP address to any other mail server on the Internet (except the ISP's own SMTP hosts). This is done for two reasons:
- To deter spammers, and
- To prevent customers using Internet connections generally meant for home use from using them as hosting servers. They want you to buy more expensive "business" connections. Nevertheless, you may find connections with at least one static IP address offered by your ISP at a nominal cost. If that's the case, I would recommend going with it.
- Many mail systems, including those run by large service providers and Web-based email providers, block SMTP connections from dynamic IP addresses. Additionally, entire blocks of static IP addresses may be listed on some DNS Block Lists (RBLs).
Mixing an internal Exchange Server deployment with external ISP-hosted POP mailboxes adds more complications to your deployment. There are some POP3 connectors available for Exchange that allow your Exchange server to fetch users' mail from external POP3 mailboxes and deliver them to Exchange mailboxes, including the POP3 Connector available in Microsoft's Windows Small Business Server (SBS). I am not a big fan of these.
In your case, I would recommend getting Internet connectivity with a static external, public IP address if possible. If you do get one, simply point your MX record to your own external IP address.
If that's not possible, perhaps look at using your ISP as an SMTP relay.
Do you have comments on this Ask the Expert Q&A? Let us know.
Ask a Microsoft Exchange question in our IT forum.
This was first published in August 2008