Link to home
Start Free TrialLog in
Avatar of hcittech
hcittech

asked on

SBS 2008 Pop connector cannot connect to 'Local Host'

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
Avatar of Barry Gill
Barry Gill
Flag of United Kingdom of Great Britain and Northern Ireland image

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
.

Avatar of hcittech
hcittech

ASKER

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.
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...
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.
can you ping localhost?
Also, try connecting to 127.0.0.1
telnet 127.0.0.1 25
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
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
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
Thanks again,

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

 User generated image
The pop connector log reads the same!

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

Thanks for your assistance.
under "SMTP connector properties" > "Network"
"use these local IP's..."
You need to ADD 127.0.0.1 on port 25



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
ok then. so your sharepoint fax receive connector is using localhost port 25.
Is the fax service started?
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.
ASKER CERTIFIED SOLUTION
Avatar of hcittech
hcittech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.