From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50557 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: hashcash.el questions and issues Date: Tue, 04 Mar 2003 15:51:48 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <4n3cm27t3v.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046811153 10754 80.91.224.249 (4 Mar 2003 20:52:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2003 20:52:33 +0000 (UTC) Cc: ding@gnus.org Original-X-From: owner-ding@hpc.uh.edu Tue Mar 04 21:52:30 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 18qJOn-0002m0-00 for ; Tue, 04 Mar 2003 21:52:29 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18qJOR-0008L1-00; Tue, 04 Mar 2003 14:52:07 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 04 Mar 2003 14:53:06 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA01364 for ; Tue, 4 Mar 2003 14:52:55 -0600 (CST) Original-Received: (qmail 56713 invoked by alias); 4 Mar 2003 20:51:51 -0000 Original-Received: (qmail 56708 invoked from network); 4 Mar 2003 20:51:50 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 4 Mar 2003 20:51:50 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h24Kpmj19306; Tue, 4 Mar 2003 15:51:48 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h24KpmK19684; Tue, 4 Mar 2003 15:51:48 -0500 (EST) Original-To: mycroft@actrix.gen.nz X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: mycroft@actrix.gen.nz, ding@gnus.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (usg-unix-v) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50557 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50557 Paul, 1) is hashcash.el OK to be used within spam.el? I was thinking of just a spam-use-hashcash variable as a check for incoming mail. 2) The definition of hashcash-accept-resources: (defcustom hashcash-accept-resources `((,(user-mail-address) nil)) ... does not work for me, since there's no function user-mail-address (it's a variable). I'm not sure if this was meant: (defcustom hashcash-accept-resources `((,(message-user-mail-address) nil)) ... or this: (defcustom hashcash-accept-resources `((,user-mail-address nil)) ... Also, executable-find might be better than hardcoding the location of the hashcash executable, so maybe this: (defcustom hashcash "/usr/local/bin/hashcash" ... could be replaced with this: ;; autoload executable-find (eval-and-compile ;; executable-find is not autoloaded in Emacs 20 (autoload 'executable-find "executable")) (defcustom hashcash-path (executable-find "hashcash") ... Note the renaming of the variable, just "hashcash" is a little counter-intuitive. 3) I'm not sure I understand how hashcash.el uses resource - they don't seem to be used at all when generating the hashcash cookie. I didn't write a patch for (2) because I'm not sure if my way is necessarily better :) Also, I cc-ed the ding list in case anyone had comments. FWIW, I think hashcash is our best shot at marking ham (non-spam) as positively ham without whitelists. Nothing beats cold, hard CPU cash. Thanks Ted