1Mail::SpamAssassin::PluUgsienr::CHoansthrciabsuht(e3d)PMearill:D:oScpuammeAnstsaatsisoinn::Plugin::Hashcash(3)
2
3
4
6 Mail::SpamAssassin::Plugin::Hashcash - perform hashcash verification
7 tests
8
10 loadplugin Mail::SpamAssassin::Plugin::Hashcash
11
13 Hashcash is a payment system for email where CPU cycles used as the
14 basis for an e-cash system. This plugin makes it possible to use valid
15 hashcash tokens added by mail programs as a bonus for messages.
16
18 use_hashcash { 1 | 0 } (default: 1)
19 Whether to use hashcash, if it is available.
20
21 hashcash_accept user@example.com ...
22 Used to specify addresses that we accept HashCash tokens for. You
23 should set it to match all the addresses that you may receive mail
24 at.
25
26 Like whitelist and blacklist entries, the addresses are file-glob-
27 style patterns, so "friend@somewhere.com", "*@isp.com", or
28 "*.domain.net" will all work. Specifically, "*" and "?" are
29 allowed, but all other metacharacters are not. Regular expressions
30 are not used for security reasons.
31
32 The sequence %u is replaced with the current user's username, which
33 is useful for ISPs or multi-user domains.
34
35 Multiple addresses per line, separated by spaces, is OK. Multiple
36 "hashcash_accept" lines is also OK.
37
38 hashcash_doublespend_path /path/to/file (default:
39 ~/.spamassassin/hashcash_seen)
40 Path for HashCash double-spend database. HashCash tokens are only
41 usable once, so their use is tracked in this database to avoid
42 providing a loophole.
43
44 By default, each user has their own, in their "~/.spamassassin"
45 directory with mode 0700/0600. Note that once a token is 'spent'
46 it is written to this file, and double-spending of a hashcash token
47 makes it invalid, so this is not suitable for sharing between
48 multiple users.
49
50 hashcash_doublespend_file_mode (default: 0700)
51 The file mode bits used for the HashCash double-spend database
52 file.
53
54 Make sure you specify this using the 'x' mode bits set, as it may
55 also be used to create directories. However, if a file is created,
56 the resulting file will not have any execute bits set (the umask is
57 set to 111).
58
59
60
61perl v5.34.0 2021-0M7a-i2l3::SpamAssassin::Plugin::Hashcash(3)