fetchmail-friends
[Top] [All Lists]

RE: [fetchmail]Re: socket error

2004-04-01 08:24:32
When you say you want a copy of the message, I assume
you mean the
header, and from comparisons that I have done with
this and non-problem
emails, the only difference that I see is if the first
line appears, the
retrieval fails, stopping fetchmail in its tracks.

Return-Path: <?g> 
Received: from localhost (localhost [127.0.0.1]) by
************.***.net
(8.11.2/8.9.3) with ESMTP id i31DPlq01541 for
<*****(_at_)*******************(_dot_)com>; Thu, 1 Apr 2004
08:25:47 -0500 
Received: from mail.*******************.com
[216.247.103.57] by
localhost with POP3 (fetchmail-5.7.4) for
*****(_at_)*******************(_dot_)com
(multi-drop); Thu, 01 Apr 2004 08:25:47 -0500 (EST) 
Received: from email05.quris.net [216.247.103.57] by
mail.*******************.com with ESMTP (SMTPD32-6.06)
id AB522EC2012C;
Wed, 31 Mar 2004 17:50:58 -0500 
Received: from 127.0.0.1. (localhost [127.0.0.1]) by
email05.quris.net
(8.12.9/8.12.9) with SMTP id i2VMobmN025395 for
<*****(_at_)*******************(_dot_)com>; Wed, 31 Mar 2004
15:50:58 -0700 (MST) 
Date: Wed, 31 Mar 2004 15:50:58 -0700 (MST) 
Message-Id: <10003406b4a1f00016896b(_at_)bounce(_dot_)quris(_dot_)net> 
Errors-To: 10003406b4a1f00016896b(_at_)bounce(_dot_)quris(_dot_)net 
From: Schwab Alerts
<SchwabAlerts(_dot_)MarketUpdates(_at_)schwab(_dot_)com> 
Reply-To: SchwabAlerts(_dot_)MarketUpdates(_at_)schwab(_dot_)com 
To: *****(_at_)*******************(_dot_)com 
X-Quris: 7:EC:1440:0:10003406b4a1f00016896b  
Subject: Internet Daily for March 31, 2004  
Content-Type: text/html; charset="us-ascii" 
MIME-Version: 1.0 
X-RCPT-TO: <*****(_at_)*******************(_dot_)com> 
X-UIDL: 380758300 
Status: U


Here is a copy of fetchmail -vv results when it
completes properly:

fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 780050
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
2 messages for ************* at
mail.********************.com (780050
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 116328
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 116328 octets
reading message
*************(_at_)mail(_dot_)********************(_dot_)com:1 of 2
(116328 octets)
fetchmail: SMTP< 220 mx2.********************.com
ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-mx2.********************.com
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 20480000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL FROM:<***(_at_)Montalvo(_dot_)com>
SIZE=116328
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<postmaster(_at_)localhost>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#************************************.***************fetchmail:
SMTP>.
(EOM)
fetchmail: SMTP< 250 Ok: queued as 0385D177C6
 not flushed
fetchmail: POP3> LIST 2
fetchmail: POP3< +OK 2 663722
fetchmail: POP3> RETR 2
fetchmail: POP3< +OK 663722 octets
reading message
*************(_at_)mail(_dot_)********************(_dot_)com:2 of 2
(663722 octets)
fetchmail: SMTP> MAIL FROM:<********(_at_)hotmail(_dot_)com>
SIZE=663722
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT
TO:<******(_at_)********************(_dot_)com>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#********************************.*******fetchmail:
SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 06E56177C6
 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP3 Server saying Good-Bye
fetchmail: 6.2.5 querying
mail.********************.com (protocol POP3)
at Wed Mar 31 13:45:30 2004: poll completed
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: normal termination, status 0



and here is a copy of a failure:

fetchmail: 6.2.5 querying
mail.********************.com (protocol POP3)
at Wed Mar 31 13:54:14 2004: poll started
fetchmail: POP3< +OK X1 NT-POP3 Server
mail.********************.com
(IMail 6.06 1151415-10)
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< SASL LOGIN PLAIN CRAM-MD5
fetchmail: POP3< RESP-CODES
fetchmail: POP3< LOGIN-DELAY 120
fetchmail: POP3< PIPELINING
fetchmail: POP3< EXPIRE 30 USER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Ipswitch_IMail_5.0
fetchmail: POP3< .
fetchmail: POP3> AUTH CRAM-MD5
fetchmail: POP3< +
PDQ5ODAuMTMwNjUxNTQyMUBpbWFpbDUyPg==
fetchmail: POP3>
aGlnaGxpZ2h0bWFpbCBjYTVjN2U1ZGIxMGUwNmIxNDkyNGE1YThkOTYzNDJmYg==
fetchmail: POP3< +OK maildrop locked and ready
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 13999
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
1 message for ************** at
mail.********************.com (13999
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 13999
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 13999 octets
reading message
**************(_at_)mail(_dot_)********************(_dot_)com:1 of 1
(13999 octets)
fetchmail: SMTP< 220 mx2.********************.com
ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-mx2.********************.com
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 20480000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL
FROM:<**********************(_at_)****************(_dot_)com>
SIZE=13999
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT
TO:<*****(_at_)********************(_dot_)com>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#***********************.******************fetchmail:
socket error while
fetching from mail.********************.com
fetchmail: 6.2.5 querying
mail.********************.com (protocol POP3)
at Wed Mar 31 13:54:25 2004: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2


this is my .fetchmailrc file.

poll mail.****.com localdomains ****.com
        proto pop3
        pass **** with user **** to * here


TIA for any help.

Scott













-----Original Message-----
From: fetchmail-friends-admin(_at_)lists(_dot_)ccil(_dot_)org
[mailto:fetchmail-friends-admin(_at_)lists(_dot_)ccil(_dot_)org] On
Behalf Of Graham
Wilson
Sent: Thursday, April 01, 2004 9:47 AM
To: mbox mbarsalou
Cc: fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
Subject: [fetchmail]Re: socket error

On Wed, Mar 31, 2004 at 10:22:04PM -0900, mbox
mbarsalou wrote:
I was getting this for a while....it seems that my
service provider
may
have listened to my complaints.  Since I had
complained about the
problem, I haven't seen nearly as many.  Even though
they said that
they
didn't support fetchmail.  I was getting them at
least once a day, now
I
haven't seen this in about a week.

One work around is to run the fetchmail command with
the --all switch.

This allows the fetchmail client to use the RETR
pop3 command instead
of
the TOP command.  That seems to get the message
downloaded.

Personally, I think it is a poorly formatted message
that the mail
server is letting get through and that poorly
formatted message is
getting stuck when fetchmail tries to retrieve it.

Can you send a copy of the message, as well as a copy
of your
..fetchmailrc and the output of fetchmail -vv? Be sure
to remove any
private data.

-- 
gram



__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


<Prev in Thread] Current Thread [Next in Thread>