From 1b6bf4d8dc2a944c906ad0edb779db79f880189a Mon Sep 17 00:00:00 2001 From: Glenn Date: Sun, 24 Dec 2023 18:51:25 +0100 Subject: [PATCH] doc: add muttrc configuration --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2adf0c1..d203acd 100644 --- a/README.md +++ b/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 "set pipe_decode=no\nbulkbarrage report\nset pipe_decode=yes\n" "Report a spam using BulkBarrage" +``` + ## Configuration After installation, run `bulkbarrage configure` to set up your user