From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
Subject: Re: hashcash: duplicate payments
Date: Sun, 26 Mar 2006 22:01:42 +0200 [thread overview]
Message-ID: <87r74p561l.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <87veu1hz2u.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Sun, 26 Mar 2006 19:53:45 +0200")
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
Andreas Seltenreich schrob:
> X-Hashcash: 1:24:060326:ding@gnus.org::S1H1LHoTY/UosfJN:0000ymPT
> X-Hashcash: 1:24:060326:ding@gnus.org::bZhXJcbr0RqrGqAV:00008EL9
Apparently, the hashcash code is also run on temporary buffers during
resending. Is binding message-generate-hashcash at those places an
acceptable solution?
regards,
andreas
2006-03-26 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
* message.el (message-resend): Bind message-generate-hashcash to
to nil.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: message.el.patch --]
[-- Type: text/x-patch, Size: 878 bytes --]
Index: message.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v
retrieving revision 7.135
diff -c -r7.135 message.el
*** message.el 15 Mar 2006 18:03:48 -0000 7.135
--- message.el 26 Mar 2006 19:57:40 -0000
***************
*** 6507,6512 ****
--- 6507,6513 ----
(set-buffer (get-buffer-create " *message resend*"))
(erase-buffer))
(let ((message-this-is-mail t)
+ message-generate-hashcash
message-setup-hook)
(message-setup `((To . ,address))))
;; Insert our usual headers.
***************
*** 6544,6549 ****
--- 6545,6551 ----
;; Send it.
(let ((message-inhibit-body-encoding t)
message-required-mail-headers
+ message-generate-hashcash
rfc2047-encode-encoded-words)
(message-send-mail))
(kill-buffer (current-buffer)))
next prev parent reply other threads:[~2006-03-26 20:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 17:53 Andreas Seltenreich
2006-03-26 20:01 ` Andreas Seltenreich [this message]
2006-03-27 9:43 ` Simon Josefsson
2006-03-29 4:16 ` Andreas Seltenreich
2006-03-29 7:49 ` Simon Josefsson
2006-03-27 9:40 ` 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=87r74p561l.fsf@gate450.dyndns.org \
--to=andreas+ding@gate450.dyndns.org \
/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).