3 public-inbox-edit - edit messages in a public inbox
7 public-inbox-edit -m MESSAGE-ID --all|INBOX_DIR
9 public-inbox-edit -F RAW_FILE --all|INBOX_DIR [.. INBOX_DIR]
13 public-inbox-edit allows editing messages in a given inbox
14 to remove sensitive information. It is only intended as a
15 last resort, as it will cause discontiguous git history and
16 draw more attention to the sensitive data in mirrors.
24 Edit the message in all inboxes configured in ~/.public-inbox/config.
25 This is an alternative to specifying individual inboxes directories
30 Edits the message corresponding to the given C<MESSAGE-ID>.
31 If the C<MESSAGE-ID> is ambiguous, C<--force> or using the
32 C<--file> of the original will be required.
36 Edits the message corresponding to the Message-ID: header
37 and content given in C<FILE>. This requires the unmodified
38 raw message, and the contents of C<FILE> will not itself
39 be modified. This is useful if a Message-ID is ambiguous
40 due to filtering/munging rules or other edits.
44 Forcibly perform the edit even if Message-ID is ambiguous.
48 Do not perform "From " line escaping. By default, this
49 generates a mboxrd variant file to detect unpurged messages
50 in the new mbox. This makes sense if your configured
51 C<publicinbox.mailEditor> is a regular editor and not
52 something like C<mutt -f>
60 =item publicinbox.mailEditor
62 The command to perform the edit with. An example of this would be
63 C<mutt -f>, and the user would then use the facilities in L<mutt(1)>
64 to edit the mail. This is useful for editing attachments or
65 Base64-encoded emails which are more difficult to edit with a
66 normal editor (configured via C<GIT_EDITOR>, C<VISUAL> or C<EDITOR>).
76 =item GIT_EDITOR / VISUAL / EDITOR
78 =for comment MAIL_EDITOR is undocumented (unstable, don't want naming conflicts)
80 public-inbox-edit will fall back to using one of these variables
81 (in that order) if C<publicinbox.mailEditor> is unset.
85 The default config file, normally "~/.public-inbox/config".
86 See L<public-inbox-config(5)>
92 Only L<v2|public-inbox-v2-format(5)> repositories are supported.
96 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
98 The mail archives are hosted at L<https://public-inbox.org/meta/>
99 and L<http://hjrcffqmbrq6wope.onion/meta/>
103 Copyright 2019 all contributors L<mailto:meta@public-inbox.org>
105 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
109 L<public-inbox-purge(1)|https://public-inbox.org/public-inbox-purge.html>