Solved

SBS 2008 POP3 Connector  - AsyncConn timing out

Posted on 2009-05-11
5
8,457 Views
Last Modified: 2012-06-21
I am trying to troubleshoot problems with the SBS 2008 POP3 Connector failing to download larges emails (say 10mb - 20 mb).  I have increased the message sizes, the POP3 Connector is failing with this error:

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

After some investigation I have found out that the Exchange connector system is timing out after 5 minutes, which is not enough time to download the larger email.  This is the relevant excerpt from the POP3 Connector Log:
[t 0] 05/11/09, 17:14:11: Downloading message 1 of 11.
[t 0] 05/11/09, 17:14:11: (POP3) [TX] RETR 1
[t 0] 05/11/09, 17:14:11: (POP3) [RX] +OK Message follows
[t 0] 05/11/09, 17:19:12: (SMTP) [RX] 451 4.7.0 Timeout waiting for client input
[t 0] 05/11/09, 17:19:12: (AsyncConn[ localhost:25 ]) Connection to 'localhost' closed.
[t 0] 05/11/09, 17:19:12: (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] 05/11/09, 17:19:12: Failure hrResult (0x800ccc0f) trying to connect to SMTP server 'localhost':
[t 0] 05/11/09, 17:19:12: (no response)
[t 0] 05/11/09, 17:19:12: 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] 05/11/09, 17:19:42: (POP3) [TX] QUIT
[t 0] 05/11/09, 17:19:42: ERROR: 0x800ccc05 ("IXP_E_NOT_CONNECTED") at d:\wssg_src\sbs_cougar_rtm\sbs\src\messaging\pop3\ixpbase.cpp:474.
[t 0] 05/11/09, 17:19:42: (POP3) [RX] +OK
[t 0] 05/11/09, 17:19:42: (AsyncConn[ pop.iomartmail.com:110 ]) Connection to 'pop.iomartmail.com' closed.

This error occurs 5 minutes after the POP3 download process starts.

What is AsyncConn exactly? I tried altering the ConnectionInactvityTimeout parameter on the "Default <ServerName>" Receive Connector (from 5 mins to 9 mins)- but it is still timing out after 5 minutes - so it must be somewhere else.
0
Comment
Question by:chris_shaw
  • 3
5 Comments
 
LVL 3

Expert Comment

by:caronas
ID: 24385501
It's the same Problem with my SBS 2008.

I have figured out that the amount of mails seems to be the problem.
There were four mails (15MB) at the email Provider.
I moved them into another folder. After that i moved one by one to the inbox and the POP3 connector was able to download them.

I have increased the POP3 Connector download timings from 5 minutes to 15 (default) and tried again.
This is the excerpt from the POP3 connector log.

[t 0] 05/14/09, 14:29:13: Beginning "Retrieve Now"...
[t 0] 05/14/09, 14:29:13: (AsyncConn[ pop.1und1.de:110 ]) Connecting to 'pop.1und1.de' on port 110.
[t 0] 05/14/09, 14:29:13: (AsyncConn[ pop.1und1.de:110 ])  GetHostByName result: srv_name = "pop.1und1.de" srv_addr = 212.227.15.178:110
[t 0] 05/14/09, 14:29:13: (POP3) [RX] +OK POP server ready H mimap7
[t 0] 05/14/09, 14:29:13: (POP3) [TX] USER username
[t 0] 05/14/09, 14:29:13: (POP3) [RX] +OK password required for user username
[t 0] 05/14/09, 14:29:13: (POP3) [TX] PASS ******
[t 0] 05/14/09, 14:29:13: (POP3) [RX] +OK mailbox "*****" has 5 messages (158834869 octets) H mimap7
[t 0] 05/14/09, 14:29:13: (POP3) [TX] STAT
[t 0] 05/14/09, 14:29:13: (POP3) [RX] +OK 5 158834869
[t 0] 05/14/09, 14:29:13: Check for new messages: 5 (151 MB) total.
[t 0] 05/14/09, 14:29:13: (AsyncConn[ localhost:25 ]) Connecting to 'localhost' on port 25.
[t 0] 05/14/09, 14:29:13: (AsyncConn[ localhost:25 ])  GetHostByName result: srv_name = "localhost" srv_addr = 127.0.0.1:25
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 220 servername.domain.local Microsoft ESMTP MAIL Service ready at Thu, 14 May 2009 14:29:12 +0200
[t 0] 05/14/09, 14:29:13: (SMTP) [TX] EHLO servername
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-servername.domain.local Hello [127.0.0.1]
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-SIZE 104857600
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-PIPELINING
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-DSN
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-ENHANCEDSTATUSCODES
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-AUTH LOGIN
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-8BITMIME
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250-BINARYMIME
[t 0] 05/14/09, 14:29:13: (SMTP) [RX] 250 CHUNKING
[t 0] 05/14/09, 14:29:13: (POP3) [TX] LIST
[t 0] 05/14/09, 14:29:13: (POP3) [RX] +OK
[t 0] 05/14/09, 14:29:13: (POP3) [RX] 1 31767218
[t 0] 05/14/09, 14:29:13: (POP3) [RX] 2 31766884
[t 0] 05/14/09, 14:29:13: (POP3) [RX] 3 31766885
[t 0] 05/14/09, 14:29:13: (POP3) [RX] 4 31766941
[t 0] 05/14/09, 14:29:13: (POP3) [RX] 5 31766941
[t 0] 05/14/09, 14:29:13: (POP3) [RX] .
[t 0] 05/14/09, 14:29:13: Downloading message 1 of 5.
[t 0] 05/14/09, 14:29:13: (POP3) [TX] RETR 1
[t 0] 05/14/09, 14:29:16: (POP3) [RX] +OK 31767218 octets
[t 0] 05/14/09, 14:34:14: (SMTP) [RX] 451 4.7.0 Timeout waiting for client input
[t 0] 05/14/09, 14:34:14: (AsyncConn[ localhost:25 ]) Connection to 'localhost' closed.
[t 0] 05/14/09, 14:34:14: (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] 05/14/09, 14:34:14: Failure hrResult (0x800ccc0f) trying to connect to SMTP server 'localhost':
[t 0] 05/14/09, 14:34:14: (no response)
[t 0] 05/14/09, 14:34:14: 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] 05/14/09, 14:37:11: (POP3) [TX] QUIT
[t 0] 05/14/09, 14:37:11: ERROR: 0x800ccc05 ("IXP_E_NOT_CONNECTED") at d:\wssg_src\sbs_cougar_rtm\sbs\src\messaging\pop3\ixpbase.cpp:474.
[t 0] 05/14/09, 14:37:11: (POP3) [RX] +OK POP server signing off
0
 
LVL 2

Author Comment

by:chris_shaw
ID: 24386220
Thank you for this.  Because you have included the POP3  log right from the beginning you can see that the timeout error occurs exactly 5 minutes after "AsyncConn[ localhost:25 ]) Connecting to 'localhost' on port 25" commences.  It seems that if cannot complete the download of a single email within that 5 minute windows then it times out.
This has nothing to do with the POP3 download interval timings, but this can produce problems of its own.  If you set the POP3 intervals too close together theh you may get the situation where it does not complete the download cycle before it tries  to start it over again.  It then gets stuck in a loop where it never manages to download any email.  This can happen with any POP3 connnector.  You should always make sure that the POP3 collection interval is long enough to complete the download of any mail you are likely to have awiating collection.  This is why 15 minutes is a sensible minimum.
I have posted this problem also on the Microsoft Partners board, so I will update this if I get any further information.
Chris
0
 
LVL 2

Author Comment

by:chris_shaw
ID: 24386341
Because you managed to download the emails singly, I should rephrase the above:  It seems that if the connector cannot download the entire contents of one POP3 box within 5 minutes, then it times out (rather than a single email).
0
 
LVL 2

Accepted Solution

by:
chris_shaw earned 0 total points
ID: 24419621
Ok this is the solution
It is the Windows SBS Fax Sharepoint Receive xxx connector that is responsible for retrieving messages using the SBS 2008 POP3 Connector.  So this is where the 5 minute timeout on collecting individual emails resides.
I had already increased the Maximum Message size on the Windows SBS Fax Sharepoint Receive xxx connector (xxx denotes the server name).
To adjust the timeout I did the following:
1.  Open the Exchange Management Shell
2. Increased the Connection Inactivity Timeout from 5 minutes to 9 minutes by entering the following command:
Set-ReceiveConnector "Windows SBS Fax Sharepoint Receive xxx" -ConnectionInactivityTimeout 00:09:00
3. Checked that the timeout had been altered by entering the following command:
Get-ReceiveConnector "Windows SBS Fax Sharepoint Receive xxx" | fl
4. Retested downloading email with large attachments which had previously failed.  Email downloaded OK
I did not want to make the timeout more than 9 minutes, because the POP3 collection interval is set to 15 minutes.  To make it any longer means that if there was a very large email it would not download within the 15 minute interval and would trigger a collection reset. Also, the ISP's POP3 boxes have an email size limite of 20 mb, so there is no point at the moment in trying to get the system to download emails larger than that.
Chris
0
 

Expert Comment

by:LWC_Bennon
ID: 33588096
LWC_Bennon:
09.02.2010 at 08:17AM PDT, ID: 33587780
Actually, you can do this without using geeky commands.

Just open E.M.C (Start > All Programes > Exchange Management Server > E.M.C

1. Expand Organization Configuration and click on Hub Transport.
2. Click on Global Settings, right click Transport Settings and open the dialogue box.
     (I have set this to 40248, original was 10 Gays :) )
3.  Expand Server Configuration and you guessed it, expand Hub Transport. Under Create Filters, right click the Server (CONTOSO)  
 4. Click on the Limit's tab. This is where you increase the time limit to whatever you want. Note the time is in seconds... the default is 300. I've set mine to 1080 (18 Min)
 5. Right click on Default Server (CONTOSO), Windows SBS Fax SharePoint & SBS Internet Receivers to increase the mailbox size

If this doesn't work for you like it did for us, i will eat my shorts!!    
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.
In this video we show how to create a Distribution Group 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 >>…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

708 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

17 Experts available now in Live!

Get 1:1 Help Now