From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63701 Path: news.gmane.org!not-for-mail From: Dave Goldberg Newsgroups: gmane.emacs.gnus.general Subject: address parsing problem in latest CVS Date: Wed, 06 Sep 2006 23:28:32 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157599959 8620 80.91.229.2 (7 Sep 2006 03:32:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 03:32:39 +0000 (UTC) Original-X-From: ding-owner+m12228@lists.math.uh.edu Thu Sep 07 05:32:39 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLAd1-0001US-HL for ding-account@gmane.org; Thu, 07 Sep 2006 05:32:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GLAcw-0006h9-00; Wed, 06 Sep 2006 22:32:30 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GLAZW-0006h4-00 for ding@lists.math.uh.edu; Wed, 06 Sep 2006 22:28:58 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1GLAZR-0000Qr-2I for ding@lists.math.uh.edu; Wed, 06 Sep 2006 22:28:58 -0500 Original-Received: from vms042pub.verizon.net ([206.46.252.42]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GLAZO-0000TS-00 for ; Thu, 07 Sep 2006 05:28:50 +0200 Original-Received: from davestoy.homelinux.org.verizon.net ([68.163.252.138]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J57001XWDNMKVR8@vms042.mailsrvcs.net> for ding@gnus.org; Wed, 06 Sep 2006 22:28:38 -0500 (CDT) X-Face: GUaHTH@nS>[7,ME@-gYZ4#Wl{z"99k@[[Y8AcP0x1paqu.,z9,XSV1WI>{q3f6^e5(zrit <4fV&VHhmE`uidRqtmG27;si9&r;#KSF~E#$%W8w(xdp)H4tW=\2XOk~3=@oGqqpj;m4xf Ow;y26396&,34@9#~4;@*S;E0cq"LM9N(us4P%F(Nxis'Vvfm9?KufH;:Q$dMa-QWGLR&K d0`LJZE8xb*>^yN>b]_NcU:E=Zn\1=#/(OS2 Original-To: ding@gnus.org User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) X-Spam-Score: -0.8 (/) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63701 Archived-At: I'm back from a couple week's vacation and at work did a CVS update before getting into email with Gnus. I've found that the patches from 9/1 with the following ChangeLog entry have resulted in broken addresses being passed to smtpmail: 2006-09-01 Katsumi Yamaoka * gnus-art.el (gnus-decode-address-function): New variable. (article-decode-encoded-words): Use it to decode headers which are assumed to contain addresses. (gnus-mime-delete-part): Remove useless `or'. * gnus-sum.el (gnus-decode-encoded-address-function): New variable. (gnus-summary-from-or-to-or-newsgroups): Use it to decode To header. (gnus-nov-parse-line): Use it to decode From header. (gnus-get-newsgroup-headers): Ditto. (gnus-summary-enter-digest-group): Use it to decode `to-address'. * mail-parse.el (mail-decode-encoded-address-region): New alias. (mail-decode-encoded-address-string): New alias. * rfc2047.el (rfc2047-quote-special-characters-in-quoted-strings): New function. (rfc2047-encode-message-header, rfc2047-encode-region): Use it. (rfc2047-strip-backslashes-in-quoted-strings): New fnction. (rfc2047-decode-region): Use it; add optional argument `address-mime'. (rfc2047-decode-string): Ditto. (rfc2047-decode-address-region): New function. (rfc2047-decode-address-string): New function. The symptom looks like this (addresses sanitized): 220 exchange.work.ORG Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Wed, 6 Sep 2006 15:57:54 -0400 EHLO my-PC.work.ORG.work.org 250-exchange.work.ORG Hello [10.0.0.73] 250-TURN 250-SIZE 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250-X-EXPS GSSAPI NTLM LOGIN 250-X-EXPS=LOGIN 250-AUTH GSSAPI NTLM LOGIN 250-AUTH=LOGIN 250-X-LINK2STATE 250-XEXCH50 250 OK MAIL FROM: SIZE=3565 250 2.1.0 me@work.org....Sender OK RCPT TO: 250 2.1.5 someone@yahoo.com RCPT TO: <"\\_^_\\")> 501 5.5.4 Invalid Address QUIT 221 Closing connection. Good bye. Process SMTP exited abnormally with code 256 The address in question is always the first on the CC line. Most of my addresses are of the form "Real Name" . Manually stripping the addresses is a workaround but became too frustrating so I simply backed out to the immediately previous versions of rfc2047.el, gnus-sum.el, gnus-art.el and mail-parse.el for now. Because I'm just back I did not have time to investigate any further than that but am willing to do so after I get caught up a bit at work. I am more than happy to test patches too :-) Thanks, -- Dave Goldberg david.goldberg6@verizon.net