Solved

SBS 2008 Pop connector cannot connect to 'Local Host'

Posted on 2010-11-15
16
3,844 Views
Last Modified: 2012-05-10
Hi,

I have a new install of SBS 2008 (2 weeks). Up until a few days ago, Exchange was working without any problem but now we are unable to recieve any external e-mails.  

We are currently using Microsoft's pop connector (don't even get me started on whay they are not using SMTP) and it seems to connect to the external account without any problems but it is unable to connect to or send to the local host.
 
Keeping things simple, there are currently only 3 users and 3 pop accounts, each being delivered to their respective accounts - and again, it has been working without a problem since install.

Internal e-mails are ok.
Outgoing e-mails are ok.
External Pop account is ok (we are able to connect to and clear all mail, ensuring there are no errenous or oversized e-mails being downloaded).
No AV, Firewall or 3rd party security software etc (out of the Box SBS 2008).
All services have started (and restarted, and the server rebooted)
Error is immediate - no time out.
Authotative Domain is setup (was working originally)


Log opening: 09:38:52 : 11/15/10

[t 0] 11/15/10, 09:38:52:     -- Pop3Connector --    
[t 0] 11/15/10, 09:38:52: Options: 0x6031
[t 0] 11/15/10, 09:39:15: Beginning "Retrieve Now"...
[t 0] 11/15/10, 09:39:15: (AsyncConn[ pop.SERVER.com:995 ]) Connecting to 'pop.SERVER.com' on port 995.
[t 0] 11/15/10, 09:39:15: (AsyncConn[ pop.SERVER.com:995 ])  GetHostByName result: srv_name = "pop.SERVER.com" srv_addr = SERVER_IP:995
[t 0] 11/15/10, 09:39:15: (AsyncConn[ pop.SERVER.com:995 ]) Negotiating secure connection with 'Microsoft Unified Security Protocol Provider'.
[t 0] 11/15/10, 09:39:15: (POP3) [RX] +OK pop ready for requests from IP
[t 0] 11/15/10, 09:39:15: (POP3) [TX] USER EMAIL@EMAIL
[t 0] 11/15/10, 09:39:15: (POP3) [RX] +OK send PASS
[t 0] 11/15/10, 09:39:15: (POP3) [TX] PASS  ************************
[t 0] 11/15/10, 09:39:15: (POP3) [RX] +OK Welcome.
[t 0] 11/15/10, 09:39:15: (POP3) [TX] STAT
[t 0] 11/15/10, 09:39:15: (POP3) [RX] +OK 1 34939
[t 0] 11/15/10, 09:39:15: Check for new messages: 1 (34.1 KB) total.
[t 0] 11/15/10, 09:39:15: (AsyncConn[ localhost:25 ]) Connecting to 'localhost' on port 25.
[t 0] 11/15/10, 09:39:15: (AsyncConn[ localhost:25 ])  GetHostByName result: srv_name = "localhost" srv_addr = [::1]:25
[t 0] 11/15/10, 09:39:16: (AsyncConn[ localhost:25 ]) err: WSAGETSELECTEVENT = 0x10, WSAGETSELECTERROR = 10061
[t 0] 11/15/10, 09:39:16: (AsyncConn[ localhost:25 ]) Connection to 'localhost' closed.
[t 0] 11/15/10, 09:39:16: (AsyncConn[ localhost:25 ]) Connection to 'localhost' closed.
[t 0] 11/15/10, 09:39:16: (SMTP) ERROR: "Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity.", hr=800ccc0f
[t 0] 11/15/10, 09:39:16: Failure hrResult (0x800ccc0f) trying to connect to SMTP server 'localhost':
[t 0] 11/15/10, 09:39:16: (no response)
[t 0] 11/15/10, 09:39:16: EVENT: Cannot connect to the SMTP server 'localhost' on port 25. Verify that the Microsoft Exchange Transport service is running and that the Exchange receive connectors are properly configured.
[t 0] 11/15/10, 09:39:16: (POP3) [TX] QUIT
[t 0] 11/15/10, 09:39:17: (POP3) [RX] +OK Farewell.
[t 0] 11/15/10, 09:39:17: (AsyncConn[ pop.SERVER.com:995 ]) Connection to 'pop.gmail.com' closed.
[t 0] 11/15/10, 09:39:17: "Retrieve Now" finished.


Thanks
0
Comment
Question by:hcittech
[X]
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
  • 7
  • 7
16 Comments
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34135880
can you telnet to localhost on port 25 and run a manual transaction?
telnet localhost 25
helo localhost
mail from: bobthe@builder.com
rcpt to: you@yoiurcompany.com
data
Subject: Test

some body
.

0
 

Author Comment

by:hcittech
ID: 34139110
Hi barrulus,

telnet <server name> 25 - OK
helo <server name> - OK (helo [192.168.2.1])
mail from: bobthe@builder.com - OK (Sender OK)
rcpt to: enquiries@domain.com - 550 5.7.1 Unable to relay for enquiries@domain.com

Thanks for your help.
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34143742
I want you to telnet to localhost on port 25, from the SBS server.
helo with localhost also

from your log excerpts, localhost is what you are connecting to and you may have a firewall rule preventing access to 127.0.0.1 (localhost interface)
[t 0] 11/15/10, 09:39:16: Failure hrResult (0x800ccc0f) trying to connect to SMTP server 'localhost':
[t 0] 11/15/10, 09:39:16: (no response)
[t 0] 11/15/10, 09:39:16: EVENT: Cannot connect to the SMTP server 'localhost' on port 25. Verify that the Microsoft Exchange Transport service is running and that the Exchange receive connectors are properly configured.

the fact that telnet to the servername works says the hub transport is running, lets just check on the localhost name resolution now...
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:hcittech
ID: 34146193
Hi barrulus,

If I "telnet localhost 25", it says "connecting to localhost..." and then returns to the "Administrator: Command Prompt" with the standard "C:\Windows\system32>" displayed. No further telnet commands work after (as not connected).

I disabled the Windows firewall temporarily in case it was blocking it for some reason but this made no difference to the telnet command?

Thanks again.
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34146301
can you ping localhost?
Also, try connecting to 127.0.0.1
telnet 127.0.0.1 25
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34146344
have a look at this forum post, it seems to me to be exactly what you are suffering from:
http://forums.techarena.in/small-business-server/1118709.htm
0
 

Author Comment

by:hcittech
ID: 34147484
Thanks,

I can ping 127.0.0.1, returning the server's IP address.
If I telnet, I get the Command Prompt as before (not telnet screen)
I have had a look at that post and am unable to fiond a solution - I have already created an Authoritative Accepted Domain in Exchange Management.

Thanks
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34147779
Ok, so that tells me not dns issues, tells me that there is simply no listener on the localhost interface.
In order to get this running you will need to create a new smtp listener.
This blog post from MS Exchnage team should help
http://msexchangeteam.com/archive/2006/12/28/432013.aspx
0
 

Author Comment

by:hcittech
ID: 34148375
Thanks again,

I have followed all instructions but am still unable to relay any mail to the exchange server / accounts.

 Exchange
The pop connector log reads the same!

I have restarted all services (even restarted the server).

Thanks for your assistance.
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34148457
under "SMTP connector properties" > "Network"
"use these local IP's..."
You need to ADD 127.0.0.1 on port 25



0
 

Author Comment

by:hcittech
ID: 34148568
If I try to add 127.0.0.1, an error comes up saying the values conflict with the Fax Sharepoint reciever and they must be unique.

Thanks
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 34150570
ok then. so your sharepoint fax receive connector is using localhost port 25.
Is the fax service started?
0
 

Author Comment

by:hcittech
ID: 34150915
There was no Fax service to start.

I went to the SBS Console > Network > Devices there was no Fax service installed so clicked on the "Start the Fax Service" to install the service.

The fax service now starts but seems to have made no difference. I also restarted the pop connector & transport services, in case it made a difference bot nothing.

*****

[t 0] 11/16/10, 23:24:21: Beginning "Retrieve Now"...
[t 0] 11/16/10, 23:24:21: (AsyncConn[ pop.gmail.com:995 ]) Connecting to 'pop.gmail.com' on port 995.
[t 0] 11/16/10, 23:24:21: (AsyncConn[ pop.gmail.com:995 ]) Negotiating secure connection with 'Microsoft Unified Security Protocol Provider'.
[t 0] 11/16/10, 23:24:21: (POP3) [RX] +OK Gpop ready for requests from 84.12.145.220 j5pf1439189wbx.28
[t 0] 11/16/10, 23:24:21: (POP3) [TX] USER enquiries@domain.com
[t 0] 11/16/10, 23:24:21: (POP3) [RX] +OK send PASS
[t 0] 11/16/10, 23:24:21: (POP3) [TX] PASS  ************************
[t 0] 11/16/10, 23:24:21: (POP3) [RX] +OK Welcome.
[t 0] 11/16/10, 23:24:21: (POP3) [TX] STAT
[t 0] 11/16/10, 23:24:21: (POP3) [RX] +OK 1 32121
[t 0] 11/16/10, 23:24:21: Check for new messages: 1 (31.3 KB) total.
[t 0] 11/16/10, 23:24:21: (AsyncConn[ localhost:25 ]) Connecting to 'localhost' on port 25.
[t 0] 11/16/10, 23:24:21: (AsyncConn[ localhost:25 ])  GetHostByName result: srv_name = "localhost" srv_addr = [::1]:25
[t 0] 11/16/10, 23:24:22: (AsyncConn[ localhost:25 ]) err: WSAGETSELECTEVENT = 0x10, WSAGETSELECTERROR = 10061
[t 0] 11/16/10, 23:24:22: (AsyncConn[ localhost:25 ]) Connection to 'localhost' closed.
[t 0] 11/16/10, 23:24:22: (AsyncConn[ localhost:25 ]) Connection to 'localhost' closed.
[t 0] 11/16/10, 23:24:22: (SMTP) ERROR: "Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity.", hr=800ccc0f
[t 0] 11/16/10, 23:24:22: Failure hrResult (0x800ccc0f) trying to connect to SMTP server 'localhost':
[t 0] 11/16/10, 23:24:22: (no response)
[t 0] 11/16/10, 23:24:22: EVENT: Cannot connect to the SMTP server 'localhost' on port 25. The error code was 0x800ccc0f. Verify that the Microsoft Exchange Transport service is running and that the Exchange receive connectors are properly configured.
[t 0] 11/16/10, 23:24:22: (POP3) [TX] QUIT
[t 0] 11/16/10, 23:24:22: (POP3) [RX] +OK Farewell.
[t 0] 11/16/10, 23:24:22: (AsyncConn[ pop.gmail.com:995 ]) Connection to 'pop.gmail.com' closed.
[t 0] 11/16/10, 23:24:22: "Retrieve Now" finished.
*****

Thanks for your patience & assistance.
0
 

Accepted Solution

by:
hcittech earned 0 total points
ID: 34179321
I finally got the problem sorted...

Although the 'IIS SMTP Server' feature was installed as part of the 'out of the box' setup, it would seem that it causes problems with Exchange 2007.

http://blogs.technet.com/b/sbs/archive/2009/04/02/installing-the-iis-smtp-service-on-sbs-2008-breaks-mailflow.aspx

Many thanks for all of your asistance...

0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34869409
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Shared Mailbox 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 >> Sha…
In this video we show how to create an Address List 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 Organization >> Ad…

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