dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 07155f70911cd6e9209ed6b8e0e6d679d833f8ce
parent f48d129732282bd47ad890f6cd0f3c459f5b3c1e
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Thu,  9 Jun 2016 07:42:23 -0700

use Spam instead of Junk folder

Diffstat:
M.imapfilter/riseup.lua | 5+++--
M.mutt/muttrc | 6+++---
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.imapfilter/riseup.lua b/.imapfilter/riseup.lua @@ -68,9 +68,10 @@ for _, msg in ipairs(all) do table.insert(unsure, msg) end end -spam:move_messages(account['Junk']) +--account:create_mailbox('Spam/unsure') +spam:move_messages(account['Spam']) --unsure:copy_messages(account['Junk/unsure']) -unsure:move_messages(account['Junk/unsure']) +unsure:move_messages(account['Spam/unsure']) -- Debian announcements list -- diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -130,8 +130,8 @@ macro index M "T~N<enter>;WNT~O<enter>;WO\CT~T<enter>" "Mark all messages as rea # IMAP folders with spaces bind editor <space> noop macro index \ 1 "<change-folder>=riseup/INBOX/<enter>" "Go to Riseup inbox" -macro index \ u "<change-folder>=riseup/Junk.unsure/<enter>" "Go to Riseup/Junk.unsure" -macro index \ j "<change-folder>=riseup/Junk/<enter>" "Go to Riseup/Junk" +macro index \ u "<change-folder>=riseup/Spam.unsure/<enter>" "Go to Riseup/Spam.unsure" +macro index \ j "<change-folder>=riseup/Spam/<enter>" "Go to Riseup/Spam" macro index \ ! "<change-folder>=riseup/Sent/<enter>" "Go to Riseup sent" macro index \ 2 "<change-folder>=geomail/INBOX/<enter>" "Go to Geomail inbox" macro index \ @ "<change-folder>=geomail/Sent/<enter>" "Go to Geomail sent" @@ -188,7 +188,7 @@ folder-hook ! .*[sS]ent.* "$my_index_format_pre"F"$my_index_format_post" macro index,pager S "<enter-command>unset wait_key<enter>\ <pipe-entry>bogofilter -l -s<enter>\ <enter-command>set wait_key<enter>\ -<save-message>=Junk<enter>" "mark as spam" +<save-message>=Spam<enter>" "mark as spam" macro index,pager H "<enter-command>unset wait_key<enter>\ <pipe-entry>bogofilter -l -n<enter>\ <enter-command>set wait_key<enter>\