For example, our listserv software from lsoft chooses to fold long list subject lines like this
From: [EMAIL PROTECTED]
Subject: CAMPUS HOT NEWS: March 31: Award Ceremony Recognizes Geology
Students
To: [EMAIL PROTECTED]When Mulberry (my mail client) sees this message it formats the subject line in the header like this (notice the spaces/tabs between geology and students).
Subject: CAMPUS HOT NEWS: March 31: Award Ceremony Recognizes Geology Students
My interpretation of the rules is that all white space between CRLF and the first character should should be replace with one space (if the mail client wished to unfold the long header line) See 2.2.3. LONG HEADER FIELDS in RFC2822.
I contacted the Mulberry lists and Cyrus Daboo claims that the client interprets what the IMAP server send it. Below is a log of what Mulberry received and you can see the unfolding in IMAP 2002e is not being handled correctly.
I am attempting to attach the text log file since its formatted correctly.
-- Christopher T. Beers UNIX Systems Engineer - Syracuse University 250 Machinery Hall Syracuse, NY 13244 (315) 443-4103 Office (315) 443-1621 Fax
--> #Logging started by user on Mon Mar 29 16:20:37 2004
--> #2.-1610571284 Mon Mar 29 16:20:40 2004
A01389 UNSELECT
A01389 OK UNSELECT completed
--> #2.-1610571284 Mon Mar 29 16:20:40 2004
A01390 SELECT ~/mail/Incoming/test
* 1 EXISTS
* 1 RECENT
* OK [UIDVALIDITY 1080595125] UID validity status
* OK [UIDNEXT 2] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
A01390 OK [READ-WRITE] SELECT completed
--> #2.-1610571284 Mon Mar 29 16:20:40 2004
A01391 SEARCH UNSEEN
* SEARCH
A01391 OK SEARCH completed
--> #2.-1610571284 Mon Mar 29 16:20:40 2004
A01392 SEARCH DELETED
* SEARCH
A01392 OK SEARCH completed
--> #2.-1610571284 Mon Mar 29 16:20:41 2004
A01393 FETCH 1 (FLAGS RFC822.SIZE UID INTERNALDATE ENVELOPE BODYSTRUCTURE)
* 1 FETCH (FLAGS (\Recent \Seen) RFC822.SIZE 2073 UID 1 INTERNALDATE "20-Aug-2002
11:46:41 -0400" ENVELOPE ("Tue, 20 Aug 2002 11:45:28 -0400" "CAMPUS HOT NEWS: Goldstein
Alumni & Faculty Center Restaurant Opens" ((NIL NIL "hotnews" "syr.edu"))
(("HOTNEWS Messages" NIL "HOTNEWS" "LISTSERV.SYR.EDU")) ((NIL NIL "hotnews" "syr.edu"))
((NIL NIL "HOTNEWS" "LISTSERV.SYR.EDU")) NIL NIL NIL "<[EMAIL PROTECTED]>")
BODYSTRUCTURE ("TEXT" "PLAIN" ("CHARSET" "US-ASCII") NIL NIL "7BIT" 722 21
NIL NIL NIL NIL))
A01393 OK FETCH completed
--> #2.-1610571284 Mon Mar 29 16:20:42 2004
A01394 FETCH 1 (BODY[1])
* 1 FETCH (BODY[1] {722}
)
A01394 OK FETCH completed
--> #2.-1610571284 Mon Mar 29 16:20:44 2004
A01395 FETCH 1 (RFC822.HEADER)
* 1 FETCH (RFC822.HEADER {1351}
Received: from syr.edu
by gwia201.syr.edu; Tue, 20 Aug 2002 11:46:13 -0400
Received: from mailer.syr.edu (mailer.syr.edu [128.230.18.29])
by syr.edu (8.9.3/8.9.3) with ESMTP id LAA05824;
Tue, 20 Aug 2002 11:46:02 -0400 (EDT)
Received: from listserv (listserv.syr.edu) by mailer.syr.edu (LSMTP for Windows NT
v1.1b) with SMTP id <[EMAIL PROTECTED]>; Tue, 20 Aug 2002 11:45:40 -0400
Received: from LISTSERV.SYR.EDU by LISTSERV.SYR.EDU (LISTSERV-TCP/IP release
1.8d) with spool id 575584 for [EMAIL PROTECTED]; Tue, 20 Aug
2002 11:45:40 -0400
Received: from mailer.syr.edu by listserv.syr.edu (LSMTP for Windows NT v1.1b)
with SMTP id <[EMAIL PROTECTED]>; Tue, 20 Aug 2002 11:45:39
-0400
Received: from mailer.syr.edu (cwis03.syr.edu) by mailer.syr.edu (LSMTP for
Windows NT v1.1b) with SMTP id <[EMAIL PROTECTED]>; Tue, 20
Aug 2002 11:45:38 -0400
Content-type: text/plain
Approved-By: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 20 Aug 2002 11:45:28 -0400
Reply-To: [EMAIL PROTECTED]
Sender: HOTNEWS Messages <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Subject: CAMPUS HOT NEWS: Goldstein Alumni & Faculty Center Restaurant
Opens
To: [EMAIL PROTECTED]
)
A01395 OK FETCH completed
--> #Logging stopped by user on Mon Mar 29 16:20:55 2004
