[mutt] feat: add accounts config files
pgp signature enabled by default, one needs my private keys to do so
This commit is contained in:
parent
e842d326da
commit
9bb4a871f2
45
.config/mutt/accounts/1-david.julien@posteo.net.muttrc
Normal file
45
.config/mutt/accounts/1-david.julien@posteo.net.muttrc
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# vim: filetype=neomuttrc
|
||||||
|
# muttrc file for account email@adress.you
|
||||||
|
set realname = "David JULIEN"
|
||||||
|
set from = "david.julien@posteo.net"
|
||||||
|
set sendmail = "msmtp -a david.julien@posteo.net"
|
||||||
|
alias me david.julien <david.julien@posteo.net>
|
||||||
|
set folder = "/home/swytch/.local/share/mail/david.julien@posteo.net"
|
||||||
|
set header_cache = /home/swytch/.cache/mutt/david.julien@posteo.net/headers
|
||||||
|
set message_cachedir = /home/swytch/.cache/mutt/david.julien@posteo.net/bodies
|
||||||
|
set mbox_type = Maildir
|
||||||
|
|
||||||
|
set crypt_autosign = yes
|
||||||
|
set pgp_sign_as = "0x7F03EA9BEFFCB97F"
|
||||||
|
|
||||||
|
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 *
|
||||||
|
set signature="/home/swytch/.config/mutt/accounts/posteo.signature"
|
||||||
|
unmacro index o
|
||||||
|
macro index o "<shell-escape>mailsync<enter>" "run mbsync to sync david.julien@posteo.net"
|
||||||
|
|
||||||
|
mailboxes "=Sent" "=Drafts" "=Trash" "=INBOX" "=Receipts"
|
||||||
|
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 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"
|
||||||
|
macro index,pager gr "<change-folder>=Receipts<enter>" "go to receipts"
|
||||||
|
macro index,pager Mr ";<save-message>=Receipts<enter>" "move mail to receipts"
|
||||||
|
macro index,pager Cr ";<copy-message>=Receipts<enter>" "copy mail to receipts"
|
||||||
|
set trash = "+Trash"
|
||||||
|
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"
|
48
.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc
Normal file
48
.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# vim: filetype=neomuttrc
|
||||||
|
# muttrc file for account david.julien@ens-lyon.fr
|
||||||
|
set realname = "David JULIEN"
|
||||||
|
set from = "david.julien@ens-lyon.fr"
|
||||||
|
set sendmail = "msmtp -a david.julien@ens-lyon.fr"
|
||||||
|
alias me david.julien <david.julien@ens-lyon.fr>
|
||||||
|
set folder = "/home/swytch/.local/share/mail/david.julien@ens-lyon.fr"
|
||||||
|
set header_cache = /home/swytch/.cache/mutt/david.julien@ens-lyon.fr/headers
|
||||||
|
set message_cachedir = /home/swytch/.cache/mutt/david.julien@ens-lyon.fr/bodies
|
||||||
|
set mbox_type = Maildir
|
||||||
|
|
||||||
|
set crypt_autosign = yes
|
||||||
|
set pgp_sign_as = "0x9D5279329BB80FA0"
|
||||||
|
|
||||||
|
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 *
|
||||||
|
set signature="/home/swytch/.config/mutt/accounts/ens.signature"
|
||||||
|
unmacro index o
|
||||||
|
macro index o "<shell-escape>mailsync<enter>" "run mbsync to sync david.julien@ens-lyon.fr"
|
||||||
|
|
||||||
|
mailboxes "=Sent" "=Drafts" "=Trash" "=INBOX" "=internship" "=fanfare"
|
||||||
|
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 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 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"
|
||||||
|
macro index,pager gf "<change-folder>=fanfare<enter>" "go to fanfare"
|
||||||
|
macro index,pager Mf ";<save-message>=fanfare<enter>" "move mail to fanfare"
|
||||||
|
macro index,pager Cf ";<copy-message>=fanfare<enter>" "copy mail to fanfare"
|
||||||
|
macro index,pager gI "<change-folder>=internship<enter>" "go to internship"
|
||||||
|
macro index,pager MI ";<save-message>=internship<enter>" "move mail to internship"
|
||||||
|
macro index,pager CI ";<copy-message>=internship<enter>" "copy mail to internship"
|
4
.config/mutt/accounts/ens.signature
Normal file
4
.config/mutt/accounts/ens.signature
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
David JULIEN
|
||||||
|
M2 Informatique Fondamentale
|
||||||
|
ENS de Lyon
|
2
.config/mutt/accounts/posteo.signature
Normal file
2
.config/mutt/accounts/posteo.signature
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
David JULIEN
|
Reference in New Issue
Block a user