SMTP Not Available Outside Network

Posted on 2010-08-19
Last Modified: 2012-08-14
I am trying to set up IMAP access for my mobile users. I have opened the appropriate ports in the firewall (993,25) and, as far as i know, configured the SMTP connector, and the SMTP virtual server correctly.

I can set up IMAP and SMTP inside the network, and it works fine. I can telnet to the aforementioned ports, and they respond as they should. The problem is, when I try to set up an email client from outside the network, the SMTP service does not connect the the network. Furthermore, I cannot telnet to port 25. I can connect to the IMAP port, but not the SMTP port. When i telnet to port 25, all i get is a blank screen with a blinking prompt.

Any help would be greatly appreciated.
Question by:dcts
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 10

Expert Comment

by:Casey Herman
ID: 33478527
you have to set the allowed ip's in the SMTP connector if this is exchange which it sounds that way.

Author Comment

ID: 33478709
I assume you mean the Relay Restrictions under the Access tab of the default SMTP virtual server properties? If so, I have the Ip address of my spam filter in there, and the checkbox that allows all authenticated computers to relay regardless of the list. I still cannot get access to port 25.

Expert Comment

ID: 33485155
Are you sure you want to do this anyway?  You run the risk of becoming an open relay if you are going to allow anyone from an external IP address to use your SMTP server.

Regardless, double check all of the settings on the SMTP virtual server to make sure something else isn't prohibiting the connection.  Particularly, under Authentication, make sure you have "Anonymous" checked and under Connections, make sure you have "All except the list below" checked.  If you changed anything, restart the SMTP server to enable the changes.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

LVL 10

Expert Comment

by:Casey Herman
ID: 33485213
Can you telnet to itself from the server IE
telnet localhost 25 or or the servers ip?
make sure authentication is set to anonymous like Crimmel said.
Make it wide open (Grant All) then add your spam filter ip's in after to lock it down to that and your local subnet or just what you need on your subnet.  IE scan to email devices.   I


Author Comment

ID: 33485602
I can telnet to localhost 25 on the SMTP server. The only reason I need smtp/imap is becuase a few users need to set up mobile access from their non-exchange capable phones. If there is a different way to do this besides enabling SMTP, i am open to suggestions.

Otherwise, I have the authentication settings checked for anonymous, basic auth, and integrated windows auth. Under connection, I have the checkbox "all except..." checked, with no computers in the list.

In Relay Restrictions, I have "Only the list below" checked with my spam filter's IP in the box. I still cant seem to get a connection from Outlook on my test client located outside the network. I can connect to IMAP fine, but SMTP cant connect.
LVL 10

Expert Comment

by:Casey Herman
ID: 33485853
You should be able to call the phone providers and have them authenticate to their phone ISP for outgoing mail.
What brands / carriers are the phones?

LVL 10

Accepted Solution

Casey Herman earned 500 total points
ID: 33485863
Make sure and remeber to lock those ip's back down to your spam filter or spam will get past it.

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question