mutt-wizard

Autoconfigure a terminal email setup with mutt and offline mail
Log | Files | Refs | README | LICENSE

commit 289070f1a0d0260a312f25b07a86b371f5408733
parent ab11cd83229325b8b86d4ed46d5b7b1b4795b460
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed, 28 Oct 2020 10:26:19 -0400

Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizard

Diffstat:
Mshare/domains.csv | 2++
Mshare/mutt-wizard.muttrc | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/share/domains.csv b/share/domains.csv @@ -278,5 +278,7 @@ yahoo.*,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,587 yandex.*,imap.yandex.com,993,smtp.yandex.com,587 ymail.com,imap.mail.yahoo.com,993,smtp.mail.yahoo.com,465 zaclys.net,mail.zaclys.net,993,mail.zaclys.net,465 +zju.edu.cn,imap.zju.edu.cn,993,smtp.zju.edu.cn,994 zoho.com,imap.zoho.com,993,smtp.zoho.com,465 zohomail.eu,imap.zoho.eu,993,smtp.zoho.eu,465 +e.email,mail.ecloud.global,993.00,mail.ecloud.global,587.00 diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc @@ -71,7 +71,7 @@ bind editor <Tab> complete-query macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook" macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" -macro index O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail" +macro index O "<shell-escape>mw -Y<enter>" "run mw -Y to sync all mail" macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern" macro index A "<limit>all\n" "show all messages (undo limit)"