Solved

SMTP Service Not Accepting Inbound Connections

Posted on 2009-05-15
10
1,128 Views
Last Modified: 2013-12-05
We have a SBS 2003 server which has all updates for Server and Exchange installed. They can send email out fine, but when we try to setup a SMTP feed for thier emails the emails stop working. On the router port 25 is forwarded.

Telnet to either thier public IP or localhost on port 25 conencts but then disconnects straight away and just says Press any key to continue. No exchange banner as expected.
0
Comment
Question by:synergiq
  • 5
  • 4
10 Comments
 
LVL 15

Accepted Solution

by:
abhaigh earned 500 total points
Comment Utility
If you cannot connect to port 25 on the localhost the problem is local to the machine - check your virtual smtp server configuration
0
 
LVL 2

Author Comment

by:synergiq
Comment Utility
The SMTP virtual server looks identical to a SBS server that is working.
0
 
LVL 15

Expert Comment

by:abhaigh
Comment Utility
but it isn't behaving like one that is working - that's your problem
0
 
LVL 2

Author Comment

by:synergiq
Comment Utility
So any advice on how to fix it then? Or troubleshooting steps, because at the moment log files etc are not pointing to a cause.
0
 
LVL 15

Expert Comment

by:abhaigh
Comment Utility
You might have something else bound to that port - try this

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
From the command line:
netstat -an >c:\ports.txt
notepad c:\ports.txt

Look for TCP 25 and see what's listenning on the port.

If a PID is given then from the command line:
tasklist /svc
Associate the PID with the service and work on getting rid of it or reconfiguring it.

[lifted from http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/SBS_Small_Business_Server/Q_24233704.html]
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

also read this for more information

How to troubleshoot for Exchange Server 2003 transport issues
http://support.microsoft.com/kb/821910

as will
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 2

Author Comment

by:synergiq
Comment Utility
There is only inetinfo.exe listening on localhost:smtp. I had already checked this, also logging has already been enabled on the SMTP service and this is what it gives me

SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K - 25 0
SMTPSVC1 EMI-1JH3F25F22K 192.168.16.2 0 250
SMTPSVC1 EMI-1JH3F25F22K 192.168.16.2 0 250
SMTPSVC1 EMI-1JH3F25F22K 192.168.16.2 0 250
SMTPSVC1 EMI-1JH3F25F22K 192.168.16.2 0 250
SMTPSVC1 EMI-1JH3F25F22K 192.168.16.2 0 240
0
 
LVL 15

Expert Comment

by:abhaigh
Comment Utility
is that the dump from netstat -an? I run that on one of my exchange boxes and I get the name of the exchange server itself - not the iis smtp service

also check what port your smtp virtual machine is listening on in exchange

   1. Start the Exchange System Manager.
   2. Locate and click Servername, click Protocols, and then click SMTP.
   3. Right-click the Default SMTP Virtual Server object, and then click Properties.
   4. On the General tab, click the Advanced button, check that the virtual machine is actually listening on port 25

0
 
LVL 2

Author Comment

by:synergiq
Comment Utility
Default server is listening on TCP 25. Here is the result from a netstat -an -p tcp

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:25             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:42             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:88             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:389            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:444            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:464            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:593            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:636            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:691            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1026           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1027           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1053           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1077           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1150           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1186           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1723           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1936           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1937           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1938           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1939           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1942           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:2062           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:2105           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:2715           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:3268           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:3269           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6001           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6002           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6004           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6101           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6106           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:6152           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:8081           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:10000          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:41709          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:57670          0.0.0.0:0              LISTENING
  TCP    10.0.0.10:3389         81.149.119.64:1094     ESTABLISHED
  TCP    10.0.0.10:3389         81.149.119.64:49881    ESTABLISHED
  TCP    10.0.0.10:42197        213.171.216.65:110     ESTABLISHED
  TCP    127.0.0.1:53           0.0.0.0:0              LISTENING
  TCP    127.0.0.1:389          127.0.0.1:42163        ESTABLISHED
  TCP    127.0.0.1:2067         127.0.0.1:389          CLOSE_WAIT
  TCP    127.0.0.1:2096         127.0.0.1:389          CLOSE_WAIT
  TCP    127.0.0.1:2167         127.0.0.1:389          CLOSE_WAIT
  TCP    127.0.0.1:2304         127.0.0.1:2715         ESTABLISHED
  TCP    127.0.0.1:2715         127.0.0.1:2304         ESTABLISHED
  TCP    127.0.0.1:2715         127.0.0.1:20874        ESTABLISHED
  TCP    127.0.0.1:20707        127.0.0.1:389          CLOSE_WAIT
  TCP    127.0.0.1:20874        127.0.0.1:2715         ESTABLISHED
  TCP    127.0.0.1:30357        127.0.0.1:389          CLOSE_WAIT
  TCP    127.0.0.1:39684        127.0.0.1:25           CLOSE_WAIT
  TCP    127.0.0.1:42163        127.0.0.1:389          ESTABLISHED
  TCP    127.0.0.1:42208        127.0.0.1:8192         SYN_SENT
  TCP    192.168.16.2:53        0.0.0.0:0              LISTENING
  TCP    192.168.16.2:135       192.168.16.2:42184     ESTABLISHED
  TCP    192.168.16.2:139       0.0.0.0:0              LISTENING
  TCP    192.168.16.2:389       192.168.16.2:42087     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42089     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42111     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42112     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42113     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42114     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42115     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42116     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42117     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42118     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42119     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42120     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42121     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42123     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42124     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42127     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42128     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42130     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42134     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42135     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42136     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42145     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42151     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42183     ESTABLISHED
  TCP    192.168.16.2:389       192.168.16.2:42186     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42187     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42191     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42192     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42194     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42195     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42205     TIME_WAIT
  TCP    192.168.16.2:389       192.168.16.2:42206     ESTABLISHED
  TCP    192.168.16.2:445       192.168.16.19:1365     ESTABLISHED
  TCP    192.168.16.2:445       192.168.16.25:1081     ESTABLISHED
  TCP    192.168.16.2:445       192.168.16.27:1704     ESTABLISHED
  TCP    192.168.16.2:445       192.168.16.32:1039     ESTABLISHED
  TCP    192.168.16.2:445       192.168.16.32:1211     ESTABLISHED
  TCP    192.168.16.2:691       192.168.16.2:20721     ESTABLISHED
  TCP    192.168.16.2:691       192.168.16.2:20722     ESTABLISHED
  TCP    192.168.16.2:691       192.168.16.2:39784     ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.2:1090      ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.2:1391      ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.2:2137      ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.2:9343      ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.2:42190     ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.19:1074     ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.25:1127     ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.27:1706     ESTABLISHED
  TCP    192.168.16.2:1026      192.168.16.32:1196     ESTABLISHED
  TCP    192.168.16.2:1090      192.168.16.2:1026      ESTABLISHED
  TCP    192.168.16.2:1145      192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:1391      192.168.16.2:1026      ESTABLISHED
  TCP    192.168.16.2:2068      192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:2085      192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:2105      192.168.16.19:1077     ESTABLISHED
  TCP    192.168.16.2:2105      192.168.16.25:1786     ESTABLISHED
  TCP    192.168.16.2:2105      192.168.16.27:2440     ESTABLISHED
  TCP    192.168.16.2:2105      192.168.16.32:1203     ESTABLISHED
  TCP    192.168.16.2:2137      192.168.16.2:1026      ESTABLISHED
  TCP    192.168.16.2:2328      192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:3268      192.168.16.2:42110     ESTABLISHED
  TCP    192.168.16.2:3268      192.168.16.2:42125     ESTABLISHED
  TCP    192.168.16.2:3268      192.168.16.2:42131     ESTABLISHED
  TCP    192.168.16.2:3268      192.168.16.2:42207     ESTABLISHED
  TCP    192.168.16.2:7669      192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:7676      192.168.16.2:3268      CLOSE_WAIT
  TCP    192.168.16.2:8789      192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:8790      192.168.16.2:3268      CLOSE_WAIT
  TCP    192.168.16.2:9343      192.168.16.2:1026      ESTABLISHED
  TCP    192.168.16.2:20578     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:20721     192.168.16.2:691       ESTABLISHED
  TCP    192.168.16.2:20722     192.168.16.2:691       ESTABLISHED
  TCP    192.168.16.2:30360     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:39298     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:39784     192.168.16.2:691       ESTABLISHED
  TCP    192.168.16.2:39813     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:39845     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:40822     192.168.16.2:3268      CLOSE_WAIT
  TCP    192.168.16.2:41253     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:41265     192.168.16.2:3268      CLOSE_WAIT
  TCP    192.168.16.2:41266     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:42087     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42089     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42110     192.168.16.2:3268      ESTABLISHED
  TCP    192.168.16.2:42111     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42112     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42113     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42114     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42115     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42116     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42117     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42118     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42119     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42120     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42121     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42123     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42124     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42125     192.168.16.2:3268      ESTABLISHED
  TCP    192.168.16.2:42127     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42128     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42130     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42131     192.168.16.2:3268      ESTABLISHED
  TCP    192.168.16.2:42134     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42135     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42136     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42145     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42151     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42183     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42184     192.168.16.2:135       ESTABLISHED
  TCP    192.168.16.2:42189     192.168.16.2:135       TIME_WAIT
  TCP    192.168.16.2:42190     192.168.16.2:1026      ESTABLISHED
  TCP    192.168.16.2:42193     192.168.16.2:445       TIME_WAIT
  TCP    192.168.16.2:42206     192.168.16.2:389       ESTABLISHED
  TCP    192.168.16.2:42207     192.168.16.2:3268      ESTABLISHED
  TCP    192.168.16.2:56481     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:58823     192.168.16.2:389       CLOSE_WAIT
  TCP    192.168.16.2:58824     192.168.16.2:3268      CLOSE_WAIT
0
 
LVL 2

Author Closing Comment

by:synergiq
Comment Utility
Double checked the SMTP Virtual Server settings and there was a error.
0
 

Expert Comment

by:vrjohn53
Comment Utility
I have run the Fix my network wizard and it is reporting everything as ok.
Can you offer some advice on rectifying this issue?
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Easy CSR creation in Exchange 2007,2010 and 2013
To show how to generate a certificate request 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 Servers >> Certificates…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now