On Tue, 30 Nov 2004, Timo Sirainen wrote:
On 29.11.2004, at 12:55, Nicolas.Kowalski@imag.fr wrote:
On Mon, 29 Nov 2004 Nicolas.Kowalski@imag.fr wrote:
I have several folders which cause error messages like 'Junk in start of group' in Pine when I read them. I googled a bit for this, and found that removing the index file should do the trick, but unfortunately, it does not.
This happens with badly formatted messages, for example with the To: fields set to nothing (undisclosed-recipients), or the From: set to "spammer <>" for example.
What Pine version? 4.44 didn't complain anything when I tried. But my response to ENVELOPE is different than UW-IMAP, so maybe I'll have to change it..
Here is the IMAP trace I get when opening a folder containing a single badly formatted message:
00000003 SELECT bug
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
- 1 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1101817706] UIDs valid
- OK [UIDNEXT 2] Predicted next UID 00000003 OK [READ-WRITE] Select completed. 10000004 FETCH 1 UID
- 1 FETCH (UID 1) 10000004 OK Fetch completed. 10000005 FETCH 1 FLAGS
- 1 FETCH (FLAGS (\Seen)) 10000005 OK Fetch completed. 10000006 FETCH 1 (UID ENVELOPE BODY.PEEK[HEADER.FIELDS (Newsgroups Content-MD5 Content-Disposition Content-Language Content-Location resent-to resent-date resent-from resent-cc resent-subject List-Help List-Unsubscribe List-Subscribe List-Post List-Owner List-Archive Followup-To References)] INTERNALDATE RFC822.SIZE FLAGS)
- 1 FETCH (ENVELOPE ("Sun, 28 Nov 2004 16:04:35 +0100" "{Virus?} Error Report" (("Mail Storage Service" NIL "kmailbot" "rocketmail.com")) (("Mail Storage Service" NIL "kmailbot" "rocketmail.com")) (("Mail Storage Service" NIL "kmailbot" "rocketmail.com")) (("net recipient" NIL "" NIL)) NIL NIL NIL "E1CYQbK-00054R-00@yggdrasil") BODY[HEADER.FIELDS (NEWSGROUPS CONTENT-MD5 CONTENT-DISPOSITION CONTENT-LANGUAGE CONTENT-LOCATION RESENT-TO RESENT-DATE RESENT-FROM RESENT-CC RESENT-SUBJECT LIST-HELP LIST-UNSUBSCRIBE LIST-SUBSCRIBE LIST-POST LIST-OWNER LIST-ARCHIVE FOLLOWUP-TO REFERENCES)] {2} UID 1 INTERNALDATE "28-Nov-2004 18:28:21 +0100" RFC822.SIZE 4303 FLAGS (\Seen)) 10000006 OK Fetch completed.
Does this helps ?
-- Nicolas