This is a fairly minor issue, cosmetic for the most part, but it does
seem like an issue none the less.  It seems like Courier is dropping
an escaped quote in the friendly name portion of a recipient address.

For example a recipient header that looks like:
"Greg O\"Wetmore" <[EMAIL PROTECTED]>
Which I believe conforms to RFC 2822 syntax.

After coming through an IMAP Fetch, this recipient becomes
("Greg O\\Wetmore" NIL "greg.wetmore" "domain.com")
Note that the escaped quote is gone.

I am using Courier-IMAP 4.1.0 on RHEL4 and Postfix 2.1.6
Here is a snip of headers from the message file on disk:

MIME-Version: 1.0
Date: Fri, 1 Jun 2007 12:59:05 +0000 (UTC)
Received: from gwtest3.domain.com (gwtest3.domain.com [127.0.0.1])
        by gwtest3.domain.com (Postfix) with ESMTP id AA6AB244002
        for <[EMAIL PROTECTED]>; Fri,  1 Jun 2007 12:59:05 +0000 (UTC)
From: "System Administrator" <[EMAIL PROTECTED]>
Reply-To: System Administrator <[EMAIL PROTECTED]>
Subject: Test
Content-Transfer-Encoding: base64
Content-Type: application/x-pkcs7-mime;
        smime-type="signed-data";
        name="smime.p7m"
Content-Disposition: attachment;
        filename="smime.p7m"
Original-Message-ID: <[EMAIL PROTECTED]>
To: "Greg O\"Wetmore" <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Here is a snip of an IMAP conversation fetching the envelope of this message:

[EMAIL PROTECTED] ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision,
Inc.  See COPYING for distribution information.
a01 login greg.wetmore$domain.com ****
a01 OK LOGIN Ok.
a02 SELECT INBOX
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1180705005] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
a02 OK [READ-WRITE] Ok
a03 FETCH 1 full
* 1 FETCH (FLAGS (\Seen) INTERNALDATE "01-Jun-2007 13:21:48 +0000"
RFC822.SIZE 4655 ENVELOPE ("Fri, 1 Jun 2007 12:59:05 +0000 (UTC)"
"Test" (("System Administrator" NIL "greg.wetmore" "domain.com"))
(("System Administrator" NIL "greg.wetmore" "domain.com")) (("System
Administrator" NIL "greg.wetmore" "domain.com")) (("Greg O\\Wetmore"
NIL "greg.wetmore" "domain.com")) NIL NIL NIL
"<[EMAIL PROTECTED]>") BODY ("application"
"x-pkcs7-mime" ("smime-type" "signed-data" "name" "smime.p7m") NIL NIL
"base64" 3564))
a03 OK FETCH completed.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to