doc: add muttrc configuration

This commit is contained in:
Glenn Y. Rolland 2023-12-24 18:51:25 +01:00
parent 4e6636f52a
commit 1b6bf4d8dc

View file

@ -68,7 +68,7 @@ Options:
-h, --help Show this help -h, --help Show this help
``` ```
### Reporting Spam ### Reporting spam from command-line
To report a spam email, you can use the `report` command: To report a spam email, you can use the `report` command:
@ -76,6 +76,14 @@ To report a spam email, you can use the `report` command:
cat spam_email.eml | bulkbarrage send cat spam_email.eml | bulkbarrage send
``` ```
### Reporting spam from Mutt (or Neomutt)
Add the following code in your `~/.muttrc` configuration file.
```muttrc
macro index,pager \ez "<enter-command>set pipe_decode=no\n<pipe-entry>bulkbarrage report\n<enter-command>set pipe_decode=yes\n<delete-message>" "Report a spam using BulkBarrage"
```
## Configuration ## Configuration
After installation, run `bulkbarrage configure` to set up your user After installation, run `bulkbarrage configure` to set up your user