From: asjo@koldfront.dk (Adam Sjøgren)
Subject: Re: Hashcash-generation/check for IDN-domains
Date: Wed, 28 Sep 2005 11:57:35 +0200 [thread overview]
Message-ID: <87y85hcy5s.fsf@koldfront.dk> (raw)
In-Reply-To: <ilubr2dlech.fsf@latte.josefsson.org>
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
next prev parent reply other threads:[~2005-09-28 9:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 13:23 Adam Sjøgren
2005-09-27 14:29 ` Other IDN-fixes (was: Hashcash-generation/check for IDN-domains) Arne Jørgensen
2005-09-27 15:14 ` Other IDN-fixes Simon Josefsson
2005-09-27 15:09 ` Hashcash-generation/check for IDN-domains Simon Josefsson
2005-09-27 15:31 ` Arne Jørgensen
2005-09-27 15:54 ` Adam Sjøgren
2005-09-28 9:40 ` Simon Josefsson
2005-09-28 9:57 ` Adam Sjøgren [this message]
2005-09-29 13:36 ` Simon Josefsson
2005-09-29 14:35 ` Adam Sjøgren
2005-09-30 0:19 ` Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y85hcy5s.fsf@koldfront.dk \
--to=asjo@koldfront.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).