set up mail account for tlms, separate work and personal email indicator

This commit is contained in:
Grigory Shipunov 2023-01-08 02:31:55 +01:00
parent d8a3df4e4f
commit f0ffc6787a
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 57 additions and 2 deletions

View file

@ -0,0 +1,46 @@
set realname = "Grigory Shipunov"
set from = "grigory@tlm.solutions"
set sendmail = "msmtp -a grigory@tlm.solutions"
alias me <grigory@tlm.solutions>
set folder = "~/mail/grigory@tlm.solutions"
set header_cache = "~/.cache/mutt-cache/grigory_tlm.solutions/headers"
set message_cachedir = "~/.cache/mutt-cache/grigory_tlm.solutions/bodies"
set mbox_type = Maildir
bind index,pager gg noop
bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
unmailboxes *
unalternates *
unset signature
unmacro index o
#macro index o "<shell-escape>mbsync dump@dvb.solutions<enter>" "run mbsync to sync dump@dvb.solutions"
mailboxes "=Sent" "=Drafts" "=Archive" "=Trash" "=Junk" "=INBOX"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive"
macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
macro index,pager gj "<change-folder>=Junk<enter>" "go to junk"
macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
set spoolfile = "+INBOX"
source ./nocrypt.muttrc

View file

@ -4,3 +4,4 @@ source ./accounts/1-mail@oxapentane.com.muttrc
macro index,pager i1 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/1-mail@oxapentane.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to mail@oxapentane.com"
macro index,pager i2 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/2-grigory@shipunov.xyz.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to grigory@shipunov.xyz"
macro index,pager i3 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/3-dump@dvb.solutions.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to dump@dvb.solutions"
macro index,pager i4 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/4-grigory@tlm.solutions.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to grigory@tlm.solutions"

View file

@ -1,5 +1,5 @@
[theme]
name = "foot"
name = "moonfly"
[icons]
name = "awesome6"
@ -7,7 +7,15 @@ name = "awesome6"
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@oxapentane.com/sinkhole", "/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@shipunov.xyz/INBOX"]
inboxes = ["/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@tlm.solutions/INBOX" ]
threshold_critical = 1
display_type = "new"
on_click = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt"
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@oxapentane.com/sinkhole", "/home/grue/mail/grigory@shipunov.xyz/INBOX"]
threshold_warning = 1
threshold_critical = 10
display_type = "new"