Browse Source

Add neomutt configs

master
Tovi Jaeschke-Rogers 5 years ago
parent
commit
e229321107
3 changed files with 61 additions and 0 deletions
  1. +31
    -0
      .config/mutt/accounts/1-tovi.muttrc
  2. +4
    -0
      .config/mutt/muttrc
  3. +26
    -0
      .mbsyncrc

+ 31
- 0
.config/mutt/accounts/1-tovi.muttrc View File

@ -0,0 +1,31 @@
# vim: filetype=neomuttrc
# muttrc file for account tovi
set realname = "Tovi Jaeschke-Rogers"
set from = "tovi@tovijaeschke.xyz"
set sendmail = "msmtp -a tovi"
alias me Tovi Jaeschke-Rogers <tovi@tovijaeschke.xyz>
set folder = /Users/tovijaeschke-rogers/.local/share/mail/tovi
set header_cache = /Users/tovijaeschke-rogers/.cache/mutt-wizard/tovi/headers
set message_cachedir = /Users/tovijaeschke-rogers/.cache/mutt-wizard/tovi/bodies
set mbox_type = Maildir
set spoolfile = +INBOX
set postponed = +Drafts
set record = +Sent
set trash = +Trash
mailboxes $spoolfile $record $postponed $trash
set smtp_pass = "`pass mutt-wizard-tovi`"
set smtp_url = "smtp://tovi@mail.tovijaeschke.xyz:587"
set crypt_autosign = yes
set crypt_opportunistic_encrypt = yes
set pgp_self_encrypt = yes
set pgp_default_key = 78CC949ADAAF9556
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
macro index o "<shell-escape>mailsync -V tovi<enter>" "run mbsync to sync tovi"
#unmailboxes *

+ 4
- 0
.config/mutt/muttrc View File

@ -0,0 +1,4 @@
# vim: filetype=neomuttrc
source /usr/local/share/mutt-wizard/mutt-wizard.muttrc # mw-autogenerated
source /Users/tovijaeschke-rogers/.config/mutt/accounts/1-tovi.muttrc # mw-autogenerated
macro index,pager i1 '<sync-mailbox><enter-command>source /Users/tovijaeschke-rogers/.config/mutt/accounts/1-tovi.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to tovi@tovijaeschke.xyz" # mw-autogenerated

+ 26
- 0
.mbsyncrc View File

@ -0,0 +1,26 @@
IMAPStore tovi-remote
Host mail.tovijaeschke.xyz
Port 993
User tovi
PassCmd "pass mutt-wizard-tovi"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/cert.pem
MaildirStore tovi-local
Subfolders Verbatim
Path ~/.local/share/mail/tovi/
Inbox ~/.local/share/mail/tovi/INBOX
Flatten .
Channel tovi
Expunge Both
Master :tovi-remote:
Slave :tovi-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
MaxMessages 0
ExpireUnread no
# End profile

Loading…
Cancel
Save