user/dev discussion of public-inbox itself
 help / color / mirror / Atom feed
a947965709dc21b3b215b040a43af842f1fee317 blob 2118 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
 
=head1 NAME

public-inbox-purge - erase messages from a public inbox and its history

=head1 SYNOPSIS

	# requires ~/.public-inbox/config
	public-inbox-purge --all </path/to/message-to-purge

	# for testing with unconfigured inboxes:
	public-inbox-purge $INBOX_DIR </path/to/message-to-purge

=head1 DESCRIPTION

public-inbox-purge allows removing entire messages in a given
inbox from history.  It is only intended as a last resort, as it
will cause discontiguous git history and draw more attention to
the sensitive data in mirrors.

For removing spam, L<public-inbox-learn(1)> is preferable as it
preserves contiguous git history.

For editing sensitive information out of messages, consider
L<public-inbox-edit(1)>, instead, but keep in mind it still
leads to discontiguous git history.

=head1 OPTIONS

=over

=item --all

Purge the message in all inboxes configured in ~/.public-inbox/config.
This is an alternative to specifying individual inboxes directories
on the command-line.

=back

=head1 ENVIRONMENT

=over 8

=item PI_CONFIG

The default config file, normally "~/.public-inbox/config".
See L<public-inbox-config(5)>

=back

=head1 LIMITATIONS

Only L<public-inbox-v2-format(5)> inboxes are supported.

This is safe to run while normal inbox writing tools
(L<public-inbox-mda(1)>, L<public-inbox-watch(1)>,
L<public-inbox-learn(1)>) are active.

Running this in parallel with L<public-inbox-xcpdb(1)> or
C<"public-inbox-index --reindex"> can lead to errors or
purged data remaining indexed.

Incremental L<public-inbox-index(1)> (without C<--reindex>)
is fine.

Keep in mind this is a last resort, as it will be disruptive
to anyone using L<git(1)> to mirror the inbox being purged.

=head1 CONTACT

Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>

The mail archives are hosted at L<https://public-inbox.org/meta/>
and L<http://hjrcffqmbrq6wope.onion/meta/>

=head1 COPYRIGHT

Copyright 2019-2020 all contributors L<mailto:meta@public-inbox.org>

License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>

=head1 SEE ALSO

L<public-inbox-edit(1)>, L<public-inbox-learn(1)>
debug log:

solving a9479657 ...
found a9479657 in https://80x24.org/public-inbox.git

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ https://public-inbox.org/meta \
		meta@public-inbox.org
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.io/gmane.mail.public-inbox.general
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:

	https://80x24.org/public-inbox.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git