-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> additional_header?  Do you mean
> http://tmda.net/config-vars.html#ADDED_HEADERS_CLIENT ?
Yes, except that the 'value' of this header is dynamic.

> Yes, I think this is possible.  Can you give me an example
> command-line of how the program should be called?
Certainly.

Lets say the script name is foo.sh. Ideally the script would be invoked
as:

foo.sh <recip> <recip> <recip> <recip>

Depending on how versitle you want to be, you could pipe the entire
message into stdin and just accept whatever comes out of stdout as the
whole message, or just take stdout from that script and add it to the
headers.

If you want to be hashcash specific, the invokation is:

[EMAIL PROTECTED] jhmartin]$ hashcash -m -b 17 -X [EMAIL PROTECTED]
and the output is:
X-Hashcash:0:030816:[EMAIL PROTECTED]:14d3e0fdb639854f

- -m means 'create a token' (as opposed to checking a token)
- -b 17 means 'of 17 bits in length'
- -X means 'in the X-Hashcash format'
[EMAIL PROTECTED] is the recipient address. The program doesn't handle
multiple addresses, so I'm not sure how you'd want to do that -- perhaps
call it with just the first address, or none at all if there are
multiple..


Thanks,
- -Jason Martin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.2 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE/PlS4l2ODWuqVSBMRAltoAKCIXNgpBfiUoBrcVi4kvTU4Qs1SKwCaAu40
eQDjAHBH7/w2mLmOFHkPXsM=
=2lgA
-----END PGP SIGNATURE-----
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to