fix(mail): rename system folder 'Spam' to 'Junk'

This commit is contained in:
George Rawlinson 2019-10-02 10:18:01 +13:00
parent f167e163c7
commit 6210510cda
Signed by: grawlinson
GPG key ID: E0959FEA8B550539
3 changed files with 11 additions and 4 deletions

View file

@ -1,6 +1,9 @@
# clear previously defined mailboxes # clear previously defined mailboxes
#unmailboxes * #unmailboxes *
# clear previously defined headers
unmy_hdr *
set mbox = "+nullpointer/Archive" set mbox = "+nullpointer/Archive"
set postponed = "+nullpointer/Drafts" set postponed = "+nullpointer/Drafts"
set trash = "+nullpointer/Trash" set trash = "+nullpointer/Trash"
@ -15,9 +18,9 @@ set smtp_url=smtp://$from@smtp.nullpointer.io:587
# nullpointer specific macros # nullpointer specific macros
macro index A "<save-message>+nullpointer/Archive<enter>" "move message to the archive" macro index A "<save-message>+nullpointer/Archive<enter>" "move message to the archive"
macro index S "<save-message>+nullpointer/Spam<enter>" "mark message as spam" macro index S "<save-message>+nullpointer/Junk<enter>" "mark message as spam"
macro index D "<save-message>+nullpointer/Trash<enter>" "move message to the trash" macro index D "<save-message>+nullpointer/Trash<enter>" "move message to the trash"
# tag macros # tag macros
macro index \Ca "<tag-prefix-cond><save-message>+nullpointer/Archive<enter>" "move tagged messages to archive" macro index \Ca "<tag-prefix-cond><save-message>+nullpointer/Archive<enter>" "move tagged messages to archive"
macro index \Cs "<tag-prefix-cond><save-message>+nullpointer/Spam<enter>" "move tagged messages to spam" macro index \Cs "<tag-prefix-cond><save-message>+nullpointer/Junk<enter>" "move tagged messages to spam"
macro index \Cd "<tag-prefix-cond><save-message>+nullpointer/Trash<enter>" "move tagged messages to trash" macro index \Cd "<tag-prefix-cond><save-message>+nullpointer/Trash<enter>" "move tagged messages to trash"

View file

@ -1,6 +1,9 @@
# clear previously defined mailboxes # clear previously defined mailboxes
#unmailboxes * #unmailboxes *
# clear previously defined headers
unmy_hdr *
set mbox = "+rawlinson/Archive" set mbox = "+rawlinson/Archive"
set postponed = "+rawlinson/Drafts" set postponed = "+rawlinson/Drafts"
set trash = "+rawlinson/Trash" set trash = "+rawlinson/Trash"
@ -15,9 +18,9 @@ set smtp_url=smtp://$from@smtp.nullpointer.io:587
# rawlinson specific macros # rawlinson specific macros
macro index A "<save-message>+rawlinson/Archive<enter>" "move message to the archive" macro index A "<save-message>+rawlinson/Archive<enter>" "move message to the archive"
macro index S "<save-message>+rawlinson/Spam<enter>" "mark message as spam" macro index S "<save-message>+rawlinson/Junk<enter>" "mark message as spam"
macro index D "<save-message>+rawlinson/Trash<enter>" "move message to the trash" macro index D "<save-message>+rawlinson/Trash<enter>" "move message to the trash"
# tag macros # tag macros
macro index \Ca "<tag-prefix-cond><save-message>+rawlinson/Archive<enter>" "move tagged messages to archive" macro index \Ca "<tag-prefix-cond><save-message>+rawlinson/Archive<enter>" "move tagged messages to archive"
macro index \Cs "<tag-prefix-cond><save-message>+rawlinson/Spam<enter>" "move tagged messages to spam" macro index \Cs "<tag-prefix-cond><save-message>+rawlinson/Junk<enter>" "move tagged messages to spam"
macro index \Cd "<tag-prefix-cond><save-message>+rawlinson/Trash<enter>" "move tagged messages to trash" macro index \Cd "<tag-prefix-cond><save-message>+rawlinson/Trash<enter>" "move tagged messages to trash"

View file

@ -28,6 +28,7 @@ set editor = "nvim +/^$ +nohlsearch" # place cursor after headers + turn off sea
set edit_headers # enable header editing when composing set edit_headers # enable header editing when composing
set mime_forward = ask-no # ask if fwd msg as attachments set mime_forward = ask-no # ask if fwd msg as attachments
set send_charset = "utf-8" # charset to use when sending set send_charset = "utf-8" # charset to use when sending
unset user_agent # remove UA header
# grab rest of the config # grab rest of the config
source ~/.config/mutt/colours source ~/.config/mutt/colours