neomutt, isync, msmtp: Add configuration
This commit is contained in:
parent
cb9cdf0d38
commit
de2fb12185
18
src/.config/isync/mbsyncrc
Normal file
18
src/.config/isync/mbsyncrc
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
IMAPStore disroot-remote
|
||||||
|
Host disroot.org
|
||||||
|
User dogeystamp@disroot.org
|
||||||
|
PassCmd "pass msg/mail/dogeystamp@disroot.org"
|
||||||
|
SSLType IMAPS
|
||||||
|
|
||||||
|
MaildirStore disroot-local
|
||||||
|
SubFolders Verbatim
|
||||||
|
Path ~/dox/mail/disroot/
|
||||||
|
Inbox ~/dox/mail/disroot/Inbox
|
||||||
|
|
||||||
|
Channel disroot
|
||||||
|
Far :disroot-remote:
|
||||||
|
Near :disroot-local:
|
||||||
|
Patterns *
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
11
src/.config/msmtp/config
Normal file
11
src/.config/msmtp/config
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
account mail
|
||||||
|
host disroot.org
|
||||||
|
port 587
|
||||||
|
protocol smtp
|
||||||
|
auth on
|
||||||
|
user dogeystamp@disroot.org
|
||||||
|
from dogeystamp@disroot.org
|
||||||
|
tls on
|
||||||
|
tls_starttls on
|
||||||
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
passwordeval "pass msg/mail/dogeystamp@disroot.org"
|
70
src/.config/neomutt/colors.muttrc
Normal file
70
src/.config/neomutt/colors.muttrc
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
# Default index colors:
|
||||||
|
color index yellow default '.*'
|
||||||
|
color index_author red default '.*'
|
||||||
|
color index_number blue default
|
||||||
|
color index_subject cyan default '.*'
|
||||||
|
|
||||||
|
# New mail is boldened:
|
||||||
|
color index brightyellow black "~N"
|
||||||
|
color index_author brightred black "~N"
|
||||||
|
color index_subject brightcyan black "~N"
|
||||||
|
|
||||||
|
# Tagged mail is highlighted:
|
||||||
|
color index brightyellow blue "~T"
|
||||||
|
color index_author brightred blue "~T"
|
||||||
|
color index_subject brightcyan blue "~T"
|
||||||
|
|
||||||
|
# Other colors and aesthetic settings:
|
||||||
|
mono bold bold
|
||||||
|
mono underline underline
|
||||||
|
mono indicator reverse
|
||||||
|
mono error bold
|
||||||
|
color normal default default
|
||||||
|
color indicator brightblack white
|
||||||
|
color sidebar_highlight red default
|
||||||
|
color sidebar_divider brightblack black
|
||||||
|
color sidebar_flagged red black
|
||||||
|
color sidebar_new green black
|
||||||
|
color normal brightyellow default
|
||||||
|
color error red default
|
||||||
|
color tilde black default
|
||||||
|
color message cyan default
|
||||||
|
color markers red white
|
||||||
|
color attachment white default
|
||||||
|
color search brightmagenta default
|
||||||
|
color status brightyellow black
|
||||||
|
color hdrdefault brightgreen default
|
||||||
|
color quoted green default
|
||||||
|
color quoted1 blue default
|
||||||
|
color quoted2 cyan default
|
||||||
|
color quoted3 yellow default
|
||||||
|
color quoted4 red default
|
||||||
|
color quoted5 brightred default
|
||||||
|
color signature brightgreen default
|
||||||
|
color bold black default
|
||||||
|
color underline black default
|
||||||
|
color normal default default
|
||||||
|
|
||||||
|
# Regex highlighting:
|
||||||
|
color header blue default ".*"
|
||||||
|
color header brightmagenta default "^(From)"
|
||||||
|
color header brightcyan default "^(Subject)"
|
||||||
|
color header brightwhite default "^(CC|BCC)"
|
||||||
|
color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
|
||||||
|
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
|
||||||
|
color body green default "\`[^\`]*\`" # Green text between ` and `
|
||||||
|
color body brightblue default "^# \.*" # Headings as bold blue
|
||||||
|
color body brightcyan default "^## \.*" # Subheadings as bold cyan
|
||||||
|
color body brightgreen default "^### \.*" # Subsubheadings as bold green
|
||||||
|
color body yellow default "^( | )*(-|\*) \.*" # List items as yellow
|
||||||
|
color body brightcyan default "[;:][-o][)/(|]" # emoticons
|
||||||
|
color body brightcyan default "[;:][)(|]" # emoticons
|
||||||
|
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
|
||||||
|
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
|
||||||
|
color body red default "(BAD signature)"
|
||||||
|
color body cyan default "(Good signature)"
|
||||||
|
color body brightblack default "^gpg: Good signature .*"
|
||||||
|
color body brightyellow default "^gpg: "
|
||||||
|
color body brightyellow red "^gpg: BAD signature from.*"
|
||||||
|
mono body bold "^gpg: Good signature"
|
||||||
|
mono body bold "^gpg: BAD signature from.*"
|
55
src/.config/neomutt/neomuttrc
Normal file
55
src/.config/neomutt/neomuttrc
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
source ~/.config/neomutt/colors.muttrc
|
||||||
|
|
||||||
|
set folder = ~/dox/mail/disroot/
|
||||||
|
set spoolfile = "+Inbox"
|
||||||
|
set postponed = "+Drafts"
|
||||||
|
set record = "+Sent"
|
||||||
|
set trash = "+Trash"
|
||||||
|
set header_cache = ~/.cache/neomutt/headers
|
||||||
|
set message_cachedir = ~/.cache/neomutt/bodies
|
||||||
|
set certificate_file = /etc/ssl/certs/ca-certificates.crt
|
||||||
|
set tmpdir = .cache/neomutt/tmp
|
||||||
|
|
||||||
|
set wait_key = no
|
||||||
|
set mbox_type = Maildir
|
||||||
|
set use_from=yes
|
||||||
|
set ssl_starttls=yes
|
||||||
|
set ssl_force_tls=yes
|
||||||
|
|
||||||
|
set editor="nvim"
|
||||||
|
set rfc2047_parameters = yes
|
||||||
|
set sleep_time = 0 # Pause 0 seconds for informational messages
|
||||||
|
set markers = no # Disables the `+` displayed at line wraps
|
||||||
|
set mark_old = no # Unread mail stay unread until read
|
||||||
|
set mime_forward = yes # attachments are forwarded with mail
|
||||||
|
set wait_key = no # mutt won't ask "press key to continue"
|
||||||
|
set fast_reply # skip to compose when replying
|
||||||
|
set fcc_attach # save attachments with the body
|
||||||
|
set forward_format = "Fwd: %s" # format of subject when forwarding
|
||||||
|
set forward_quote # include message in forwards
|
||||||
|
set reverse_name # reply as whomever it was to
|
||||||
|
set include # include message in replies
|
||||||
|
|
||||||
|
set sidebar_visible = yes
|
||||||
|
set sidebar_width = 20
|
||||||
|
set sidebar_short_path = yes
|
||||||
|
set sidebar_next_new_wrap = yes
|
||||||
|
set mail_check_stats
|
||||||
|
set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
|
||||||
|
set charset = "utf-8"
|
||||||
|
|
||||||
|
mailboxes =Inbox
|
||||||
|
mailboxes =Archive =Sent =Drafts =Junk =Trash
|
||||||
|
|
||||||
|
set sendmail="/usr/bin/msmtp -a mail"
|
||||||
|
|
||||||
|
macro index O "<shell-escape>mbsync -c \"$XDG_CONFIG_HOME\"/isync/mbsyncrc disroot <enter>" "run offlineimap to sync all mail"
|
||||||
|
bind index,pager \CP sidebar-prev
|
||||||
|
# Ctrl-P – Previous Mailbox
|
||||||
|
bind index,pager \CN sidebar-next
|
||||||
|
# Ctrl-N – Next Mailbox
|
||||||
|
bind index,pager \CO sidebar-open
|
||||||
|
# Ctrl-O – Open Highlighted Mailbox
|
||||||
|
|
||||||
|
set realname = "dogeystamp"
|
||||||
|
set signature = ~/dox/sig
|
Loading…
Reference in New Issue
Block a user