-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Mar 07, 2004 at 09:36:07AM -0500, Adam Back wrote: >That sounds like a quite portable way to do this, should work for many >unix mailers. That's the idea, but I haven't tested it with anything but Mutt and TMDA. The code that looks at sendmail's arguments to try to understand the envelope recipient(s) may have some problems. >I'd be interested to try using it myself. My only complication is I am >using mutt on a machine where I am not root, and also I am not sure how >long a process left running (the daemon) would last by itself. Well in >my case so far I was thinking of generating smaller stamps (eg 20 bits), >so probably that wouldn't matter too much. And I guess the daemon just >leaves things in the queue if it hasn't processed them fully. Yes, if it gets a signal it can catch, it restores the queue to a good state before it croaks. Somewhere on my to-do list is to set it up so that I can run it from cron periodically. I want it to realize when it's already running and exit. That way I can run it from cron and not have to remember to restart it when the machine reboots. >Please send the code! Can you put it on the web? (eg. As alpha/beta if >you're still changing it). It's here: http://www.toehold.com/~kyle/hashcash/ There's just the code there, but it has some comments that I've tossed in at the last minute. Feedback welcome. - -- Kyle Hasselbacher Stand for something kyle@xxxxxxxxxxx or fall for anything. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAS6KJ10sofiqUxIQRAozXAKDgJn8Hpwb+RprxcHUWSx0f5DREtgCg5oLB 5L3Kgv97wgD4MfsVbAF42so= =wc54 -----END PGP SIGNATURE-----