doc: add muttrc configuration
This commit is contained in:
parent
4e6636f52a
commit
1b6bf4d8dc
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
@ -68,7 +68,7 @@ Options:
|
|||
-h, --help Show this help
|
||||
```
|
||||
|
||||
### Reporting Spam
|
||||
### Reporting spam from command-line
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
### 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
|
||||
|
||||
After installation, run `bulkbarrage configure` to set up your user
|
||||
|
|
Loading…
Reference in a new issue