fetchmail-friends
[Top] [All Lists]

[fetchmail]Fetchmail deletes mail after failing to deliver

2001-11-15 17:17:21
Good morning,

My MTA is rejecting messages delivered by fetchmail.  Fetchmail is
deleting the upstream message anyways.

Important bit of log:
fetchmail: SMTP> MAIL FROM:<tomg(_at_)(_dot_)> SIZE=528
fetchmail: SMTP< 501 <tomg(_at_)(_dot_)>: domain missing or malformed
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 Reset OK
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed.
fetchmail: message tomg(_at_)hostscache(_dot_)com@mail.factcomp.com:1 was not 
the
expected length (283 actual != 528 expected)
 flushed
fetchmail: IMAP> A0007 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Seen \Deleted \Recent))
fetchmail: IMAP< A0007 OK STORE completed.
fetchmail: IMAP> A0008 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE

How to reproduce:
fetchmail -S nova.yi.org -u tomg(_at_)hostscache(_dot_)com mail.factcomp.com
The password is for a username under a virtual domain that is not
supposed to get any mail, so you can have it if you think it would be
useful.

Boring information below...

OS:
Debian GNU/Linux testing with Linux 2.2.20

Compiler:
GCC 2.95.4

IMAP greeting line:
* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
COPYING for distribution information.  

SMTP server:
Exim version 3.12 #1 built 08-Jun-2001 14:21:07

Command line options:
-S nova.yi.org -u tomg(_at_)hostscache(_dot_)com mail.factcomp.com

Output of fetchmail -V:
This is fetchmail release 5.9.5+NLS
Linux nova 2.2.20 #1 Sun Nov 4 05:31:04 UTC 2001 i586 unknown
Taking options from command line
No mailservers set up -- perhaps /home/tomg/.fetchmailrc is missing?

Output of fetchmail -v -v -S nova.yi.org -u tomg(_at_)hostscache(_dot_)com
mail.factcomp.com:
fetchmail: 5.9.5 querying mail.factcomp.com (protocol auto) at Thu Nov 15 
23:07:35 2001: poll started
fetchmail: 5.9.5 querying mail.factcomp.com (protocol IMAP) at Thu Nov 15 
23:07:35 2001: poll started
fetchmail: IMAP< * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, 
Inc.  See COPYING for distribution information.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT STARTTLS
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "*(_at_)hostscache(_dot_)com" "tomg"
fetchmail: IMAP< A0002 OK LOGIN Ok.
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Seen \Recent)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen)] 
Limited
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1005865636] Ok
fetchmail: IMAP< A0003 OK [READ-WRITE] Ok
fetchmail: 1 messages waiting after first poll
fetchmail: IMAP> A0004 SEARCH UNSEEN
fetchmail: IMAP< * SEARCH 1
fetchmail: 1 is unseen
fetchmail: IMAP< A0004 OK SEARCH done.
1 message for tomg(_at_)hostscache(_dot_)com at mail.factcomp.com.
fetchmail: IMAP> A0005 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 528)
fetchmail: IMAP< A0005 OK FETCH completed.
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {283}
reading message tomg(_at_)hostscache(_dot_)com@mail.factcomp.com:1 of 1 (283 
header octets)
About to rewrite Return-Path: <tomg(_at_)(_dot_)>
Rewritten version is Return-Path: <tomg(_at_)(_dot_)>

About to rewrite From: tomg(_at_)(_dot_)
Rewritten version is From: tomg(_at_)(_dot_)

About to rewrite To: tomg(_at_)hostscache(_dot_)com
Rewritten version is To: tomg(_at_)hostscache(_dot_)com

fetchmail: SMTP< 220 nova.yi.org ESMTP Exim 3.12 #1 Thu, 15 Nov 2001 17:10:56 
-0600
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-nova.yi.org Hello nova [192.168.0.1]
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to nova.yi.org
fetchmail: SMTP> MAIL FROM:<tomg(_at_)(_dot_)> SIZE=528
fetchmail: SMTP< 501 <tomg(_at_)(_dot_)>: domain missing or malformed
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 Reset OK
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed.
fetchmail: message tomg(_at_)hostscache(_dot_)com@mail.factcomp.com:1 was not 
the expected length (283 actual != 528 expected)
 flushed
fetchmail: IMAP> A0007 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Seen \Deleted \Recent))
fetchmail: IMAP< A0007 OK STORE completed.
fetchmail: IMAP> A0008 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< A0008 OK EXPUNGE completed
fetchmail: IMAP> A0009 LOGOUT
fetchmail: IMAP< * BYE Courier-IMAP server shutting down
fetchmail: IMAP< A0009 OK LOGOUT completed
fetchmail: 5.9.5 querying mail.factcomp.com (protocol IMAP) at Thu Nov 15 
23:07:37 2001: poll completed
fetchmail: 5.9.5 querying mail.factcomp.com (protocol auto) at Thu Nov 15 
23:07:37 2001: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 nova.yi.org closing connection
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.

-- 
TomG
This e-mail is my best guess.

Attachment: pgpGMqmJqtSVz.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Fetchmail deletes mail after failing to deliver, Tom Goulet <=