From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52069 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?q?Bj=F8rn?= Mork Newsgroups: gmane.emacs.gnus.general Subject: Re: Another problem with rfc2047 encoding Date: Thu, 01 May 2003 15:28:36 +0200 Organization: Downhill on Dissolvers Sender: ding-owner@lists.math.uh.edu Message-ID: References: <8765ovcgt1.fsf-theta-@daphne.gnuu.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051795656 7047 80.91.224.249 (1 May 2003 13:27:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 May 2003 13:27:36 +0000 (UTC) Original-X-From: ding-owner+M612@lists.math.uh.edu Thu May 01 15:27:33 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BE61-0001pI-00 for ; Thu, 01 May 2003 15:27:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19BE77-0002Kf-00; Thu, 01 May 2003 08:28:42 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19BE73-0002Ka-00 for ding@lists.math.uh.edu; Thu, 01 May 2003 08:28:37 -0500 Original-Received: (qmail 58786 invoked by alias); 1 May 2003 13:28:37 -0000 Original-Received: (qmail 58781 invoked from network); 1 May 2003 13:28:37 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 1 May 2003 13:28:37 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19BEFV-0005Xx-00 for ; Thu, 01 May 2003 15:37:21 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 35 Original-NNTP-Posting-Host: rasputin.mork.no Original-X-Trace: quimby.gnus.org 1051796241 20905 148.122.252.5 (1 May 2003 13:37:21 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 1 May 2003 13:37:21 GMT User-Agent: Gnus/5.090021 (Oort Gnus v0.21) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:vTBP1PPrC6pZf+ocj4JHSvdmRNQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52069 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52069 Simon Josefsson writes: > Bjørn Mork writes: > >> True, but I wonder... How should Gnus handle an illegal address like >> that? Quote it, warn the user and try to send anyway if the user >> insists? Or just refuse it unconitionally to avoid having people >> believe they can get away with such addresses? > > How does Gnus know it is an illegal address? Perhaps someone has an > local-part that is =?iso-8859-1?q?d=F6blitz?=, I believe it is a legal > RFC 822 local-part. Ah, sorry. I didn't check the article well enough (pressing RET C-u g on the message-id caused "No such article", although RET displayed the article just fine). I assumed Thomas were referring to the problem where Gnus encodes the localpart. Try replying to and you'll see... Gnus will also normally encode the From field in the same way on outgoing messages. > IMHO Gnus should not alter local-parts when replying to a message. Agreed, the wording in RFC2047 only makes sense for the encoding done by mail clients. If someone creates a localpart that looks like it's RFC2047-encoded then that should be used unaltered. In fact, I believe Gnus should never alter any local-part at all. It does now. And isn't it wrong to decode the local-part when displaying the message Thomas referred to? Bjørn -- Don't you realise that trees are crass?