From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65802 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus generates an invalid To header Date: Wed, 28 Nov 2007 22:42:59 +0100 Message-ID: References: <87tznbkgqs.fsf@member.fsf.org> <873autb65l.fsf@member.fsf.org> <87prxxw534.fsf@denkblock.local> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196286293 2963 80.91.229.12 (28 Nov 2007 21:44:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 21:44:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14298@lists.math.uh.edu Wed Nov 28 22:45:00 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IxUi2-000505-9V for ding-account@gmane.org; Wed, 28 Nov 2007 22:44:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IxUhX-0001ew-VW; Wed, 28 Nov 2007 15:44:12 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IxUhW-0001eh-1x for ding@lists.math.uh.edu; Wed, 28 Nov 2007 15:44:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IxUhP-00062J-S2 for ding@lists.math.uh.edu; Wed, 28 Nov 2007 15:44:09 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IxUhM-0004Hd-00 for ; Wed, 28 Nov 2007 22:44:00 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IxUh4-0001Gq-Tb for ding@gnus.org; Wed, 28 Nov 2007 21:43:42 +0000 Original-Received: from p54a97713.dip.t-dialin.net ([84.169.119.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Nov 2007 21:43:42 +0000 Original-Received: from Reiner.Steib by p54a97713.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Nov 2007 21:43:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54a97713.dip.t-dialin.net X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65802 Archived-At: On Mon, Nov 26 2007, Elias Oltmanns wrote: > Tassilo Horn wrote: >> Reiner Steib writes: >>> By edebugging `message-idna-to-ascii-rhs-1', I found that it calls >>> (idna-to-ascii rhs) with `rhs' = "" because the right hand side of >>> "tierklinikkaiserbergduisburg" is the empty string. Maybe message >>> should just return the same header instead if calling `idna-to-ascii' >>> if `rhs' is empty? >> >> With "the same header" you mean the complete bogus Reply-To header? In the end, yes. (More specifically, I meant `message-idna-to-ascii-rhs-1'.) >> I don't think that would be good, because then it would possibly be >> sent to a local user. And sending to a wrong recipient is much >> worse than not sending at all. [...] > Your concern is legitimate, but it is a feature request rather than > a bug fix. After all, the sender is ultimately responsible for > setting a valid Reply-To header and, by failing to do so, positively > asks for trouble. ACK > That said, it might still be worthwhile to implement the feature you are > asking for. I recollect two incidents where I tried to reply to emails > only to find out that the Reply-To header was bogus. However, there > seem to be too many ways to screw the Reply-To header in a way that > results in a syntactically correct but effectively bogus header. If a > user decides to use fully qualified email addresses only (after all, > there is bbdb and auto completion), gnus can generally warn before > shipping off messages to addresses without a domain part. This is about > all I can think of right now to tacle this issue and its probably not a > good default setting. I agree. Such a feature could be provides via `message-syntax-checks'. But it should be disabled by default, I think. Hm, probably it is already there: See `message-bogus-recipient-p', `message-bogus-address-regexp', ... Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/