fetchmail-friends
[Top] [All Lists]

can anyone handle on this?

2001-01-26 09:04:51
Hi,

i encountered a problem running fetchmail. Yes, i read the manual and the
HOWTOs and asked already in #linux. But still noone could explain to me how to
fix this.

I will try to provide as much diagnostic information as i can.

 - OS: Linux nexus 2.2.18 #2 Thu Jan 4 22:18:02 CET 2001 i686 unknown (hostname
         nexus)
   kernel built on an amd duron, running RedHat 6.2
 - compiler version: egcs-1.1.2-30 (from RedHat 6.2)
 - IMAP server's (morpheus.panorama.sth.ac.at) greeting line:
 * OK [CAPABILITY IMAP4 IMAP4REV1 STARTTLS LOGIN-REFERRALS AUTH=LOGIN] 
morpheus.cb.ac.at IMAP4rev1 2000.283rh at Fri, 26 Jan 2001 15:48:05 +0100 (CET)
 - SMTP listener: sendmail-8.9.3-20
 - command-line options used: none
 - fetchmail-version: fetchmail-5.6.2-1 (compiled on my linux box)
 - the output:

fetchmail: 5.6.2 querying morpheus (protocol IMAP) at Fri, 26 Jan 2001 15:15:57 
+0100 (CET)
stdin: is not a tty
fetchmail: IMAP< * OK [CAPABILITY IMAP4 IMAP4REV1 STARTTLS LOGIN-REFERRALS 
AUTH=LOGIN] morpheus.panorama.sth.ac.at
 IMAP4rev1 2000.283rh at Fri, 26 Jan 2001 15:16:03 +0100 (CET)
 fetchmail: IMAP> A0001 CAPABILITY
 fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4REV1 STARTTLS NAMESPACE IDLE 
MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCE
 S THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS AUTH=LOGIN
 fetchmail: IMAP< A0001 OK CAPABILITY completed
 fetchmail: IMAP> A0002 LOGIN "ianus" "*"
 fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4REV1 STARTTLS NAMESPACE IDLE 
MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCE
 S THREAD=ORDEREDSUBJECT MULTIAPPEND
 fetchmail: IMAP< A0002 OK LOGIN completed
 fetchmail: IMAP> A0003 SELECT "INBOX"
 fetchmail: IMAP< * 1 EXISTS
 fetchmail: IMAP< * 1 RECENT
 fetchmail: IMAP< * OK [UIDVALIDITY 958604122] UID validity status
 fetchmail: IMAP< * OK [UIDNEXT 14544] Predicted next UID
 fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
 fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft 
\Seen)] Permanent flags
 fetchmail: IMAP< * OK [UNSEEN 1] first unseen message in /var/spool/mail/ianus
 fetchmail: IMAP< A0003 OK [READ-WRITE] SELECT completed
 fetchmail: IMAP> A0004 SEARCH UNSEEN
 fetchmail: IMAP< * SEARCH 1
 fetchmail: IMAP< A0004 OK SEARCH completed
 fetchmail: 1 message for ianus at morpheus.cb.ac.at.
 fetchmail: IMAP> A0005 FETCH 1 RFC822.SIZE
 fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 692670)
 fetchmail: IMAP< A0005 OK FETCH completed
 fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
 fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {566}
 fetchmail: reading message 1 of 1 (566 header octets)
 fetchmail: SMTP< 220 localhost.localdomain ESMTP Sendmail 8.9.3/8.9.3; Fri, 26 
Jan 2001 15:16:01 +0100
 fetchmail: SMTP> EHLO localhost
 fetchmail: SMTP< 250-localhost.localdomain Hello ianus(_at_)nexus [127.0.0.1], 
pleased to meet you
 fetchmail: SMTP< 250-EXPN
 fetchmail: SMTP< 250-VERB
 fetchmail: SMTP< 250-8BITMIME
 fetchmail: SMTP< 250-SIZE
 fetchmail: SMTP< 250-DSN
 fetchmail: SMTP< 250-ONEX
 fetchmail: SMTP< 250-ETRN
 fetchmail: SMTP< 250-XUSR
 fetchmail: SMTP< 250 HELP
 fetchmail: SMTP> MAIL FROM:<ianus(_at_)morpheus(_dot_)cb(_dot_)ac(_dot_)at> 
SIZE=692670
 fetchmail: SMTP< 250 <ianus(_at_)morpheus(_dot_)cb(_dot_)ac(_dot_)at>... 
Sender ok
 fetchmail: SMTP> RCPT TO:<ianus(_at_)localhost>
 fetchmail: SMTP< 250 <ianus(_at_)localhost>... Recipient ok
 fetchmail: SMTP> DATA
 fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
 fetchmail: IMAP< )
 fetchmail: IMAP< A0006 OK FETCH completed
 fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
 fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {692104}
 fetchmail:  (692104 body octets) fetchmail: timeout after 300 seconds.
 fetchmail: client/server synchronization error while fetching from morpheus
 fetchmail: Query status=7 (ERROR)
 fetchmail: SMTP> QUIT
 fetchmail: fetchmail: sleeping at Fri, 26 Jan 2001 15:28:01 +0100 (CET)

  - .fetchmailrc:
        set logfile "/home/ianus/fetchlog"
        set postmaster "postmaster"
        set bouncemail
        set properties ""
        set daemon 660

        # morpheus
        poll morpheus via "localhost" protocol IMAP port 11100
                user "ianus" with password "XXXXXX" is "ianus" here
                limit 15728640
                preconnect "ssh -C -f ianus(_at_)morpheus -L 
11100:morpheus.panorama.sth.ac.at:143 sleep 5"

ok, there was no problem fetching the first message (566 header octets) but as
soon as i want to fetch mails with bigger attachments (692104 body octets) i
get synchronization errors. I guess i have to add that no size restrictions are
set neither on imap-server nor local. The "limit"-line in my .fetchmailrc is
the only restriction (if someone wanted to email me redhat.iso) set.

I was not sure if this not due to some errors in ssh but commenting out the
"preconnect"-line and port# in the poll-line just didn't help.

I want to add just a few more output lines from fetchlog:

fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {251951}
fetchmail:  (251951 body octets) Waiting for forwarded connections to 
terminate...
The following connections are open:
  #0 listen port 11100 for morpheus.panorama.sth.ac.at port 143, connect from 
nexus port 1863 (t4 r1 i1/0 o16/0 fd 3/3)
fetchmail: IMAP< )
fetchmail: IMAP< A0007 OK FETCH completed
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 OAA12006 Message accepted for delivery
fetchmail:  flushed

...fetching mail with attachment was successful. Oh yes, port 11100 is not used 
by other applications (netstat|grep 11100)

Huh, this is pretty much stuff, right? I will be thankful for any advice.

thnx
ianus

-- 
Jan Mrtynek <ianus(_at_)panorama(_dot_)sth(_dot_)ac(_dot_)at>, 
http://nexus.panorama.sth.ac.at,
+4369910339321, +420604380575, ICQ #75745205
Dudes! May the Open Source be with you.


<Prev in Thread] Current Thread [Next in Thread>
  • can anyone handle on this?, Jan Mrtynek <=