From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61035 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Hashcash-generation/check for IDN-domains Date: Wed, 28 Sep 2005 11:57:35 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87y85hcy5s.fsf@koldfront.dk> References: <87y85iejat.fsf@koldfront.dk> <87slvqfquu.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1127901739 12738 80.91.229.2 (28 Sep 2005 10:02:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2005 10:02:19 +0000 (UTC) Original-X-From: ding-owner+m9567@lists.math.uh.edu Wed Sep 28 12:02:18 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKYkv-00075m-Gs for ding-account@gmane.org; Wed, 28 Sep 2005 12:01:41 +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 1EKYkr-0004LS-00; Wed, 28 Sep 2005 05:01:37 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EKYk8-0004LN-00 for ding@lists.math.uh.edu; Wed, 28 Sep 2005 05:00:52 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EKYk3-0007Dp-SM for ding@lists.math.uh.edu; Wed, 28 Sep 2005 05:00:52 -0500 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 1EKYk1-0005nx-00 for ; Wed, 28 Sep 2005 12:00:45 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EKYiZ-0006ZL-EP for ding@gnus.org; Wed, 28 Sep 2005 11:59:15 +0200 Original-Received: from 0x50a5b872.bynxx12.adsl-dhcp.tele.dk ([80.165.184.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Sep 2005 11:59:15 +0200 Original-Received: from asjo by 0x50a5b872.bynxx12.adsl-dhcp.tele.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Sep 2005 11:59:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 0x50a5b872.bynxx12.adsl-dhcp.tele.dk Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAQAZGxkcHRseHx0g IR8kJSMnKCYyMzFMTktVV1RlZmR/gX6XmZaxs6/KzMn+//xGoNw3AAACYElEQVQ4y3XTMW/T QBQA4NcsrsxAwsLAUlVIXcp/4V+wpmG4YEUIWHwy7KzdbD1bZK1sV+qWyvdC2Bga9wfQFrEh VZGO986144C4Jbn77t69e+cDy40IlWsAoBTKkAUHFaoxNM1TwbwDxLgHqoN7idIDt0Qg3g43 gP8B1QL2weU1d7Cpdsa3YP8F7MAb7UDWhFoo8MJdWFkgSwvlTeNhLy8kASKOFOAY9kYtZA4U KRhEyclQqZM2GG8CvMMYBmkePtU6HA1h5ABXsCHOdZAWEWKeqJM9xZspqjKwC4HMFFgYTMJD BxkxVBL1U00lVUWOoeZ5Hu/ewh1nZ/I01w3IARcBw+xsmpExJkcUWDmoYO+drNpP85ID8n+P HCzAO3Xp+2fhk2l0KsAHtPECoKnHYNIWReA+UPB386SI6pbBG+7CjOEtFx2euU38733IYobZ N+m/+NEtYYg9huMr6X656SCw4IIc15fc+3ojd+85mIP7dB6tTaKz61s5aPCSARnogoGoKM5/ 3sWj0TQ/kDyoAZ9LSOd39aXWkYMZwe+ZgKGaLlO+k6LIx+AjA7+BBpZVOPFLMsgrHGyUwLKu 12dHGa0NShVmfFGWi+gXdM1DUVmv8whauHdAtDRFsTS5FpCyC+zz1DSe6pI/iC3YCxiU9VV4 OOSDoYD/8HB+AXwkjpPryREmWuZ3sM8HSJTi82G8A5AW+Qc4VHqacL0et+9cSlea90M40lof 9ICXBNma99CoX/Os9p3Ljx+VpeFk3cuyW7CLJCrk030OTbYdbPCzeqMm8Mqr5rYPtsJT98xW D/0/HYMSCLKzMa0AAAAASUVORK5CYII= User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.17 (linux) Cancel-Lock: sha1:j0wZe++SvIAKD8+zlI+NbS8SP/M= X-Spam-Score: -2.4 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61035 Archived-At: On Wed, 28 Sep 2005 11:40:46 +0200, Simon wrote: > I wrote the code... I think Arne is correct, the question was added > to avoid IDN-encoding of non-ASCII typos. But interaction is bad. Ah, okay. [...] >> I think it sounds reasonable that if hashcash.el fails to generate >> a payment, the header should not be added? > But it can still generate a payment, but it would not be to the > IDN-encoded address. It would contain non-ASCII as in the posted > example. I'm not sure whether sending that weird header out or > removing it is the best choice. I'm leaning towards removing the > header of IDN-encoding fails. I was imprecise; I agree. >> The checking does seem a little too fragile though, in that spam-split >> breaks just because hashcash.el can't understand a Hashcash-header >> (i.e. the mail-check-payment should just return false when the header >> is not understandable, right? Instead of the error that makes nnmail >> think that my fancy-split configuration is invalid). > What error is that? Does it say "Unknown hashcash format version"? > Perhaps the call to hashcash.el should be made in a condition-case. That is where it failed, in hashcash-version, when I got the message about error in nnmail-split-methods. It's easy to recreate, just put the email in a buffer and run mail-check-payment: "Unknown hashcash format version". Best regards, Adam -- "Ett, två, tre, pang på rödbetan." Adam Sjøgren asjo@koldfront.dk