Solved

Error Reading from Socket

Posted on 2007-11-26
2
1,242 Views
Last Modified: 2008-03-16
Can someone shed some light on why I am getting 'Error reading from socket!'


Mon 2007-11-26 19:19:20: ----------
Mon 2007-11-26 19:19:46: Session 5043; child 1; thread 908
Mon 2007-11-26 19:19:25: Accepting SMTP connection from [17.148.16.81 : 60661]
Mon 2007-11-26 19:19:25: Performing PTR lookup (81.16.148.17.IN-ADDR.ARPA)
Mon 2007-11-26 19:19:25: *  D=81.16.148.17.IN-ADDR.ARPA TTL=(568) PTR=[smtpoutm.mac.com]
Mon 2007-11-26 19:19:25: *  Gathering A records...
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.68]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.69]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.70]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.71]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.72]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.73]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.74]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.75]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.76]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.77]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.78]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.79]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.80]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.81]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.82]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.83]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.64]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.65]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.66]
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.67]
Mon 2007-11-26 19:19:25: ---- End PTR results
Mon 2007-11-26 19:19:25: --> 220 yann-server.com ESMTP MDaemon 8.0.1; Mon, 26 Nov 2007 19:19:25 -0800
Mon 2007-11-26 19:19:25: <-- EHLO smtpoutm.mac.com
Mon 2007-11-26 19:19:25: Performing IP lookup (smtpoutm.mac.com)
Mon 2007-11-26 19:19:25: *  D=smtpoutm.mac.com TTL=(60) A=[17.148.16.67]
Mon 2007-11-26 19:19:25: ---- End IP lookup results
Mon 2007-11-26 19:19:25: --> 250-yann-server.com Hello smtpoutm.mac.com (may be forged), pleased to meet you
Mon 2007-11-26 19:19:25: --> 250-ETRN
Mon 2007-11-26 19:19:25: --> 250-AUTH=LOGIN
Mon 2007-11-26 19:19:25: --> 250-AUTH LOGIN CRAM-MD5
Mon 2007-11-26 19:19:25: --> 250-8BITMIME
Mon 2007-11-26 19:19:25: --> 250 SIZE 0
Mon 2007-11-26 19:19:26: <-- MAIL From:<crispinspaeth@mac.com> SIZE=3901
Mon 2007-11-26 19:19:26: Performing IP lookup (mac.com)
Mon 2007-11-26 19:19:26: *  D=mac.com TTL=(118) A=[17.250.248.32]
Mon 2007-11-26 19:19:26: *  P=010 D=mac.com TTL=(68) MX=[smtp-mx3.mac.com]
Mon 2007-11-26 19:19:26: *  P=010 D=mac.com TTL=(68) MX=[smtp-mx2.mac.com]
Mon 2007-11-26 19:19:26: *  P=010 D=mac.com TTL=(68) MX=[smtp-mx1.mac.com]
Mon 2007-11-26 19:19:26: *  D=mac.com TTL=(118) A=[17.250.248.32]
Mon 2007-11-26 19:19:26: *  D=mac.com TTL=(118) A=[17.250.248.32]
Mon 2007-11-26 19:19:26: *  D=mac.com TTL=(118) A=[17.250.248.32]
Mon 2007-11-26 19:19:26: ---- End IP lookup results
Mon 2007-11-26 19:19:26: Performing DNS-BL lookup (17.148.16.81 - connecting IP)
Mon 2007-11-26 19:19:26: *  sbl-xbl.spamhaus.org - passed
Mon 2007-11-26 19:19:26: *  opm.blitzed.org - passed
Mon 2007-11-26 19:19:46: *  relays.ordb.org - timed out (10 second wait)
Mon 2007-11-26 19:19:46: *  bl.spamcop.net - passed
Mon 2007-11-26 19:19:46: ---- End DNS-BL results
Mon 2007-11-26 19:19:46: --> 250 <crispinspaeth@mac.com>, Sender ok
Mon 2007-11-26 19:19:46: Error reading from socket!
Mon 2007-11-26 19:19:46: Unexpected socket closure
Mon 2007-11-26 19:19:46: SMTP session terminated (Bytes in/out: 68/272)
Mon 2007-11-26 19:19:46: ----------

Open in new window

0
Comment
Question by:bassaddkt
[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
  • 2
2 Comments
 
LVL 9

Expert Comment

by:FilipZahradnik
ID: 20355544
This is what happens when the other end stops responding for some reason (maybe timeout). It appears that the sender mailserver is not happy to wait for 20 seconds for your mailserver to send Recipient ok response.

Here's what happens:

Step 1:  Sending mailserver sends MAIL FROM command
Mon 2007-11-26 19:19:26: <-- MAIL From:<crispinspaeth@mac.com> SIZE=3901

Step 2: Your servers does DNSBL lookups. It takes 20 seconds.

Step 3: Your mailserver sends  Sender ok response
Mon 2007-11-26 19:19:46: --> 250 <crispinspaeth@mac.com>, Sender ok

Step 4: Your mailserver discovers that the connection has been terminated.
Mon 2007-11-26 19:19:46: Error reading from socket!

Basically, some time during the 20 secods it took your server to do the DNSBL lookup, the other site closed the connection. RFC2821 says that the connection should stay open fot 10 minutes, but some mail servers are not RFC-compliant.

Questions&Suggestions:
- Does the error affect all incoming emails or only some? Is it linked only to certain mailservers?
- Try temporarily disabling DNSBL lookups to see if the error goes away.
- Try whitelisting domains/IP that cause this problem from DNSBL




0
 
LVL 9

Accepted Solution

by:
FilipZahradnik earned 500 total points
ID: 20424935
Any feedback on this issue?
0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2010 SMTP Question 1 47
Removing an expired Exchange Certificate in Exchange 2013 SP3 13 86
SVCHost Taking 99% Processor 5 49
IMAP copying tool 14 44
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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…

740 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