fetchmail-friends
[Top] [All Lists]

[fetchmail] Incorrect headers (again, but this time with more debug info)

2003-05-14 11:02:48
I have have a spam waiting for me in my pop3 account which have some
headers which is seriously broken (probably done to get cross-site
scripting to work in a webmail application or something like that.)

When fetchmail tries to download that message it fails, reporting that
the connection timed out. The other messages in my mailbox will not be
fetched. I have added some debug messages in the fetchmail code and have
found that this error occurs the first time SockRead is called
in readbody.

I have attached the output of ethereal (In "Follow TCP Stream" mode),
the message as saved when fetched with evolution and the output from
fetchmail -v -v -t 30

Fetchmail version: 6.2.2 (also happens with 6.2.0)
OS: Redhat Linux 9
Compiler: gcc-3.2.2
POP Greeting line: IMPLEMENTATION Courier Mail Server
Command line options: -v -v -t 30
fetchmail -V:
[frank(_at_)ekern frank]$ /usr/local/bin/fetchmail -t 30 -V
This is fetchmail release 6.2.2+NLS
Fallback MDA: (none)
Linux ekern 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon i386
GNU/Linux
Taking options from command line and /home/frank/.fetchmailrc
Idfile is /home/frank/.fetchids
Fetchmail will forward misaddressed multidrop messages to frank.
Options for retrieving from frank(_at_)www(_dot_)ekern(_dot_)no:
  True name of server is www.ekern.no.
  Protocol is POP3.
  All available authentication methods will be tried.
  Server nonresponse timeout is 30 seconds.
  Default mailbox selected.
  All messages will be retrieved (--all on).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will not be flushed before message retrieval (--flush
off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits
off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: localhost (default)
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.


Any help will be appreciated.

Best Regards
-- 
Frank

Attachment: packetsniff.txt
Description: Text document

Attachment: mailmessage.txt
Description: Text document

Attachment: fetchmaillog.txt
Description: Text document