fetchmail-friends
[Top] [All Lists]

[fetchmail] BUG REPORT: mail deleted when polling InterChange POP3 server

2003-10-29 04:31:59

Summary:

When polling an InterChange server using POP3 and the default value of
keep (no keep), Fetchmail fails to deliver the mail collected from the
server, instead it delivers an empty email from FETCHMAIL-DAEMON with
this Subject header:
  
   Headerless mail from robinv's mailbox on relay1.ecosse.net

The original mail on the server is deleted, undelivered.

If the server is instead polled using 'keep' and all other settings
the same, the original message is successfully retrieved.

Client:
  fetchmail 6.2.5-1 on linux (installed from 
http://www.catb.org/~esr/fetchmail/fetchmail-6.2.5-1.i386.rpm)

POP3 Server: 
  InterChange POP3 Server v3.51

Local MTA:
  Postfix 1.1.13

Attached files:
pop3-telnet-session.log            : retrieving the message manually over telnet
fetchmail-settings.log             : output of fetchmail -V     -d 0 -p POP3 -u 
robinv mail.ecosse.net 
fetchmail-pop3-session-keep.log    : output of fetchmail -vv -k -d 0 -p POP3 -u 
robinv mail.ecosse.net 
fetchmail-pop3-session-no-keep.log : output of fetchmail -vv -K -d 0 -p POP3 -u 
robinv mail.ecosse.net 

===File ~/pop3-telnet-session.log===========================
Trying 62.172.47.250...
Connected to relay1.ecosse.net (62.172.47.250).
Escape character is '^]'.
+OK InterChange POP3 Server v3.51 Ready (X-INF-V1) 
<02C2A0AA(_dot_)3FA7DE9A(_at_)ecosse(_dot_)net>
user robin
+OK User robinv accepted, send PASS command for password validation
pass ********
+OK Password accepted
list
+OK 1 messages 521 octets
1 521
.
retr 1
+OK 521 octets
Received: from ecosse.net [127.0.0.1] (robinv(_at_)ecosse(_dot_)net); Wed, 29 
Oct 2003 11:00:19 +0000
X-WM-Posted-At: ecosse.net; Wed, 29 Oct 03 11:00:19 +0000
Date: Wed, 29 Oct 2003 11:00:19 +0000
Sender: Robin Vickery <robinv(_at_)ecosse(_dot_)net>
From: Robin Vickery <robinv(_at_)ecosse(_dot_)net>
To: robinv(_at_)ecosse(_dot_)net
X-EXP32-SerialNo: 00103058
Subject: Test Message One
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: InterChange (Hydra) SMTP v3.51

won too free for fife


.
quit
+OK InterChange POP3 Server Signing Off
============================================================

===File ~/fetchmail-settings.log============================
This is fetchmail release 6.2.5+INET6
Fallback MDA: (none)
Linux iguana.eurosystems.lv 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 
unknown unknown GNU/Linux
Taking options from command line
Idfile is /home/robin/.fetchids
Fetchmail will show progress dots even in logfiles.
Fetchmail will forward misaddressed multidrop messages to robin.
Options for retrieving from robinv(_at_)mail(_dot_)ecosse(_dot_)net:
  Mail will be retrieved via mail.ecosse.net
  True name of server is mail.ecosse.net.
  Protocol is POP3.
  All available authentication methods will be tried.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  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)
  Fetch message size limit is 100 (--fetchsizelimit 100).
  Do binary search of UIDs during 9 out of 10 polls (--fastuidl 10).
  Messages will be SMTP-forwarded to: localhost (default)
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.
============================================================

===File ~/fetchmail-pop3-session-keep.log===================
fetchmail: 6.2.5 querying mail.ecosse.net (protocol POP3) at Wed, 29 Oct 2003 
13:01:59 +0200 (EET): poll started
fetchmail: POP3< +OK InterChange POP3 Server v3.51 Ready (X-INF-V1) 
<02C3C7F4(_dot_)3FA7E142(_at_)ecosse(_dot_)net>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Unknown command or command not valid until after login:  
CAPA
fetchmail: POP3< +OK InterChange POP3 Server v3.51 Ready (X-INF-V1) 
<02C3C96B(_dot_)3FA7E15C(_at_)ecosse(_dot_)net>
fetchmail: POP3> USER robinv
fetchmail: POP3< +OK User robinv accepted, send PASS command for password 
validation
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Password accepted
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 521
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Unknown command or command not valid if already logged 
in:  LAST
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 SMTP:3FA7DA7B.MSG
fetchmail: 1 is unseen
fetchmail: POP3< .
1 message for robinv at mail.ecosse.net (521 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 521
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 521 octets
reading message robinv(_at_)relay1(_dot_)ecosse(_dot_)net:1 of 1 (521 octets)
About to rewrite Sender: Robin Vickery <robinv(_at_)ecosse(_dot_)net>

Rewritten version is Sender: Robin Vickery <robinv(_at_)ecosse(_dot_)net>


About to rewrite From: Robin Vickery <robinv(_at_)ecosse(_dot_)net>

Rewritten version is From: Robin Vickery <robinv(_at_)ecosse(_dot_)net>


About to rewrite To: robinv(_at_)ecosse(_dot_)net

Rewritten version is To: robinv(_at_)ecosse(_dot_)net


fetchmail: SMTP< 220 iguana.eurosystems.lv ESMTP Postfix (1.1.13) (Mandrake 
Linux)
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-iguana.eurosystems.lv
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<robinv(_at_)ecosse(_dot_)net> BODY=7BIT SIZE=521
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<robin(_at_)localhost>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#***fetchmail: message robinv(_at_)relay1(_dot_)ecosse(_dot_)net:1 was not the 
expected length (523 actual != 521 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 769C1A0EF5
 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK InterChange POP3 Server Signing Off
fetchmail: 6.2.5 querying mail.ecosse.net (protocol POP3) at Wed, 29 Oct 2003 
13:02:06 +0200 (EET): poll completed
fetchmail: swapping UID lists
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: Writing fetchids file.
fetchmail: normal termination, status 0
fetchmail: Writing fetchids file.
============================================================

===File ~/fetchmail-pop3-session-no-keep.log================
fetchmail: 6.2.5 querying mail.ecosse.net (protocol POP3) at Wed, 29 Oct 2003 
13:02:54 +0200 (EET): poll started
fetchmail: POP3< +OK InterChange POP3 Server v3.51 Ready (X-INF-V1) 
<02C49883(_dot_)3FA7E38E(_at_)ecosse(_dot_)net>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Unknown command or command not valid until after login:  
CAPA
fetchmail: POP3< +OK InterChange POP3 Server v3.51 Ready (X-INF-V1) 
<02C49A48(_dot_)3FA7E38F(_at_)ecosse(_dot_)net>
fetchmail: POP3> USER robinv
fetchmail: POP3< +OK User robinv accepted, send PASS command for password 
validation
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Password accepted
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 521
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Unknown command or command not valid if already logged 
in:  LAST
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 SMTP:3FA7DA7B.MSG
fetchmail: 1 is unseen
fetchmail: POP3< .
1 message for robinv at mail.ecosse.net (521 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 521
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message robinv(_at_)relay1(_dot_)ecosse(_dot_)net:1 of 1 (521 octets)
fetchmail: message delimiter found while scanning headers
fetchmail: SMTP< 220 iguana.eurosystems.lv ESMTP Postfix (1.1.13) (Mandrake 
Linux)
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-iguana.eurosystems.lv
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<robinv(_at_)relay1(_dot_)ecosse(_dot_)net> SIZE=521
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<robin(_at_)localhost>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#fetchmail: message robinv(_at_)relay1(_dot_)ecosse(_dot_)net:1 was not the 
expected length (3 actual != 521 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 8A9A9A0EF5
 flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK message 1 deleted
fetchmail: POP3> QUIT
fetchmail: POP3< +OK InterChange POP3 Server Signing Off
fetchmail: 6.2.5 querying mail.ecosse.net (protocol POP3) at Wed, 29 Oct 2003 
13:02:59 +0200 (EET): poll completed
fetchmail: swapping UID lists
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.
============================================================
<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] BUG REPORT: mail deleted when polling InterChange POP3 server, robinv <=