From 734bbe593468b0a7898ea991c0bcdef7c7d3f208 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 30 May 2023 20:37:11 +0100 Subject: Purelymail! --- muttrc | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) (limited to 'muttrc') diff --git a/muttrc b/muttrc index fed0b11..6ad4c06 100644 --- a/muttrc +++ b/muttrc @@ -60,7 +60,7 @@ hdr_order from: to: cc: bcc: date: subject: # and in this order # Account Settings ----------------------------------- # Default inbox. -set spoolfile = "+matt-matthewlemon.com/INBOX" +set spoolfile = "+purelymail/INBOX" #set spoolfile = "+INBOX" # Alternate email addresses. @@ -70,24 +70,23 @@ set spoolfile = "+matt-matthewlemon.com/INBOX" subscribe announce@openbsd.org -named-mailboxes Inbox +matt-matthewlemon.com/INBOX \ - Sent +matt-matthewlemon.com/Sent \ - Archive +matt-matthewlemon.com/Archive \ - Drafts +matt-matthewlemon.com/Drafts \ - # Archive.2020 +matt-matthewlemon.com/Archive.2020 \ - # Sent.2020 +matt-matthewlemon.com/Sent.2020 \ - Trash +matt-matthewlemon.com/Trash - -# mailboxes +matt-matthewlemon.com/INBOX \ -# +matt-matthewlemon.com/INBOX.Archive \ -# +matt-matthewlemon.com/INBOX.Sent\ Items \ -# +matt-matthewlemon.com/INBOX.Drafts \ -# +matt-matthewlemon.com/INBOX.Trash \ +named-mailboxes Inbox +purelymail/INBOX \ + Sent +purelymail/Sent \ + Archive +purelymail/Archive \ + Subscriptions +purelymail/Subscriptions \ + Drafts +purelymail/Drafts \ + Trash +purelymail/Trash + +# mailboxes purelymail/INBOX \ +# purelymail/INBOX.Archive \ +# purelymail/INBOX.Sent\ Items \ +# purelymail/INBOX.Drafts \ +# purelymail/INBOX.Trash \ #mailboxes +INBOX +INBOX.Archive +INBOX.Sent\ Items +INBOX.Drafts +INBOX.Trash # Other special folders. -set mbox = "+matt-matthewlemon.com/INBOX.Archive" -set postponed = "+matt-matthewlemon.com/INBOX.Drafts" +set mbox = "purelymail/INBOX.Archive" +set postponed = "purelymail/INBOX.Drafts" # Index View Options --------------------------------- set date_format = "%d-%m-%Y" @@ -113,9 +112,9 @@ macro index,pager \cb 'urlview' 'Follow links with urlview' macro attach,compose \cb 'urlview' 'Follow links with urlview' # Folder Shortcuts -macro index Ei '+matt-matthewlemon.com/INBOX' 'Go to Inbox' -macro index Ea '+matt-matthewlemon.com/Archive' 'Go to Archive' -macro index Es '+matt-matthewlemon.com/Sent' 'Go to Sent Mail' +macro index Ei 'purelymail/INBOX' 'Go to Inbox' +macro index Ea 'purelymail/Archive' 'Go to Archive' +macro index Es 'purelymail/Sent' 'Go to Sent Mail' # Navigate threads bind index { previous-thread @@ -131,8 +130,8 @@ bind index collapse-thread macro index \Cr "T~UN." "mark all messages as read" # Sync email -macro index O "offlineimap" "run offlineimap to sync all mail" -macro index o "offlineimap -qf INBOX" "run offlineimap to sync inbox" +macro index O "clear && mbsync -a" "run mbsync to sync all mail" +#macro index o "offlineimap -qf INBOX" "run offlineimap to sync inbox" # Saner copy/move dialogs macro index C "?" "copy a message to a mailbox" @@ -194,9 +193,9 @@ set forward_quote # include message in forwards set editor = "vim %s" set from = "matt@matthewlemon.com" -set sendmail = "/usr/bin/msmtp -a matthewlemon" +set sendmail = "/usr/bin/msmtp -a purelymail" set sendmail_wait = 0 -set record = "+matt-matthewlemon.com/Sent" +set record = "+purelymail/Sent" #bind compose p postpone-message #bind index p recall-message @@ -225,7 +224,7 @@ bind pager N search-opposite macro index a "all\n" "show all messages (undo limit)" # get an email from mutt to taskwarrior -macro index T "mutt2task +matt-matthewlemon.com/INBOX.Archive" +macro index T "mutt2task purelymail/INBOX.Archive" # Handle searching using notmuch (see Steve Losh article) # this doesn't work on linux so using another macro index S "unset wait_keymutt-notmuch-py.py ~/.mail/temporary/search+temporary/search" "search mail (using notmuch)" -- cgit v1.2.3