[hashcash] Re: Mutt and hashcash
- From: Kyle Hasselbacher <kyle@xxxxxxxxxxx>
- To: Adam Back <adam@xxxxxxxxxxxxxxx>
- Date: Sun, 7 Mar 2004 19:42:02 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Mar 07, 2004 at 08:16:37PM -0500, Adam Back wrote:
>set sendmail='/home/adam/bin/hashcash-sendmail'
Yes, that's right. (This kind of thing will be on a "how to use" page when
I eventually write one. Sorry you had to go without.)
>but found that mutt invokes it as:
>
>"hashcash-sendmail -- adam@xxxxxxxxxxxxxxx"
That's what I experienced also.
>and the parsing code with grep( /^--$/ .. 0, @args ) wasn't working
>out. I didn't understand what that grep is supposed to do, so I
>changed to:
That's odd. The grep is supposed to pull out every item in @args after the
'--', including the '--'. I'd end up with a list like ( '--',
'adam@xxxxxxxxxxxxxxx' ), which I'd shift() to take off the '--'. I don't
know why that wouldn't work for you. My usage doesn't normally take that
path, so if there's something wrong I might not have noticed it. Still, I
remember doing a successful test with that.
>I also added:
>
>if ( !-d $workdir ) { mkdir($workdir); }
>if ( !-d "$workdir/queue" ) { mkdir("$workdir/queue"); }
>if ( !-d "$workdir/tmp" ) { mkdir("$workdir/tmp"); }
>
>near the top of both programs as they didn't exist system and it fails
>if they don't.
That's a good change. I'll add it.
>Well haven't tested with two recipients, so this will be a test.
I see three recipients. 8-)
- --
Kyle Hasselbacher I'm not really for apathy, but
kyle@xxxxxxxxxxx I'm not against it either...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAS89q10sofiqUxIQRAv5hAKChWPitBeNDO9kZoQofyK5oFpdPZgCePZBG
3k0sUkGmCUcq50dNKTCLujU=
=C74r
-----END PGP SIGNATURE-----
- Follow-Ups:
- References:
- [hashcash] Mutt and hashcash
- From: Kyle Hasselbacher
- [hashcash] Re: Mutt and hashcash
- From: Adam Back
- [hashcash] Re: Mutt and hashcash
- From: Kyle Hasselbacher
- [hashcash] Re: Mutt and hashcash
- From: Adam Back
Other related posts:
- » [hashcash] Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- » [hashcash] Re: Mutt and hashcash
- [hashcash] Mutt and hashcash
- From: Kyle Hasselbacher
- [hashcash] Re: Mutt and hashcash
- From: Adam Back
- [hashcash] Re: Mutt and hashcash
- From: Kyle Hasselbacher
- [hashcash] Re: Mutt and hashcash
- From: Adam Back