getmail problem

Harald Weis hawei at free.fr
Tue Mar 17 12:16:34 UTC 2015


On Fri, Mar 13, 2015 at 02:02:27PM -0400, Stephen R Guglielmo wrote:
 > On Fri, 13 Mar 2015 17:06:59 +0100
 > Harald Weis <hawei at free.fr> wrote:
 > > What could be the cause for the following error message:
 > > 
 > > SimpleIMAPSSLRetriever:hawei at imap.free.fr:993:
 > > getmail-hawei-rc: operation error (command: LOGIN => socket error:
 > > EOF)
 > 
 > 
 > It would be my first instinct to blame the remote server, but I don't
 > want to jump to conclusions too quickly. You could run tcpdump (or
 > wireshark if you want a GUI) to get more of an idea of what's causing
 > it. I have used getmail with Gmail in the past through a cronjob and
 > it's worked quite well. I assume you're using the latest version of
 > getmail?

getmail version 4.46.0 seems alright.

Many thanks for your quick response.
It took me some minutes to read the manpage...

tcpdump -r tcpdump.20150315 yields:

reading from file tcpdump.20150315, link-type EN10MB (Ethernet)
10:12:25.310195 IP pollux0.15365 > imap.free.fr.imaps: Flags [S], seq 2335683307, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 6305545 ecr 0], length 0
10:12:25.334585 IP imap.free.fr.imaps > pollux0.15365: Flags [S.], seq 260976228, ack 2335683308, win 42340, options [mss 1460,nop,nop,sackOK,nop,wscale 11], length 0
10:12:25.334663 IP pollux0.15365 > imap.free.fr.imaps: Flags [.], ack 1, win 1026, length 0
10:12:25.400969 IP pollux0.15365 > imap.free.fr.imaps: Flags [P.], seq 1:518, ack 1, win 1026, length 517
10:12:25.428336 IP imap.free.fr.imaps > pollux0.15365: Flags [.], ack 518, win 22, length 0
10:12:25.437395 IP imap.free.fr.imaps > pollux0.15365: Flags [.], seq 1:1461, ack 518, win 22, length 1460
10:12:25.439555 IP imap.free.fr.imaps > pollux0.15365: Flags [P.], seq 1461:2918, ack 518, win 22, length 1457
10:12:25.439619 IP pollux0.15365 > imap.free.fr.imaps: Flags [.], ack 2918, win 1003, length 0
10:12:25.473963 IP pollux0.15365 > imap.free.fr.imaps: Flags [P.], seq 518:716, ack 2918, win 1026, length 198
10:12:25.500582 IP imap.free.fr.imaps > pollux0.15365: Flags [P.], seq 2918:3152, ack 716, win 22, length 234
10:12:25.606792 IP pollux0.15365 > imap.free.fr.imaps: Flags [.], ack 3152, win 1026, length 0
10:12:25.629911 IP imap.free.fr.imaps > pollux0.15365: Flags [P.], seq 3152:3205, ack 716, win 22, length 53
10:12:25.630558 IP pollux0.15365 > imap.free.fr.imaps: Flags [P.], seq 716:806, ack 3205, win 1026, length 90
10:12:25.654806 IP imap.free.fr.imaps > pollux0.15365: Flags [P.], seq 3205:3322, ack 806, win 22, length 117
10:12:25.657039 IP pollux0.15365 > imap.free.fr.imaps: Flags [P.], seq 806:912, ack 3322, win 1026, length 106
10:12:25.721075 IP imap.free.fr.imaps > pollux0.15365: Flags [.], ack 912, win 22, length 0
10:13:25.683249 IP imap.free.fr.imaps > pollux0.15365: Flags [P.], seq 3322:3391, ack 912, win 22, length 69
10:13:25.683435 IP imap.free.fr.imaps > pollux0.15365: Flags [FP.], seq 3391:3428, ack 912, win 22, length 37
10:13:25.683641 IP pollux0.15365 > imap.free.fr.imaps: Flags [.], ack 3429, win 1024, length 0
10:13:25.689197 IP pollux0.15365 > imap.free.fr.imaps: Flags [P.], seq 912:1002, ack 3429, win 1026, length 90
10:13:25.691142 IP pollux0.15365 > imap.free.fr.imaps: Flags [F.], seq 1002, ack 3429, win 1026, length 0
10:13:25.713538 IP imap.free.fr.imaps > pollux0.15365: Flags [R], seq 260979657, win 0, length 0
10:13:25.713960 IP imap.free.fr.imaps > pollux0.15365: Flags [R], seq 260979657, win 0, length 0

tcpdump -X -r tcpdump.20150315 is a bit longer (6148 bytes).
But I'm afraid you need to see the data as well.
Also, I don't know whether it is safe to send the file on-list.
So whether you like it or not :-) I'll send you the file.

Thanks again,
Harald


More information about the freebsd-questions mailing list