Add mutt config
This commit is contained in:
parent
1c9780ae7a
commit
dd6fc35057
3 changed files with 73 additions and 0 deletions
14
mutt/common
Normal file
14
mutt/common
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
set header_cache = ~/.cache/mutt
|
||||||
|
|
||||||
|
set send_charset = "us-ascii:utf-8"
|
||||||
|
set text_flowed = yes
|
||||||
|
|
||||||
|
unset imap_passive
|
||||||
|
set imap_keepalive = 300
|
||||||
|
set mail_check = 60
|
||||||
|
set timeout = 120
|
||||||
|
set imap_check_subscribed
|
||||||
|
|
||||||
|
set sort = threads
|
||||||
|
|
||||||
|
set beep_new = yes
|
||||||
25
mutt/gmail
Normal file
25
mutt/gmail
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
source ~/.mutt/common
|
||||||
|
|
||||||
|
set my_username = "jeremydkaplan"
|
||||||
|
set my_password = `pass show email/jeremydkaplan@gmail.com`
|
||||||
|
|
||||||
|
set smtp_pass = $my_password
|
||||||
|
|
||||||
|
set folder = "~/.mail/gmail/"
|
||||||
|
set mask = "*"
|
||||||
|
|
||||||
|
set spoolfile = "+Inbox"
|
||||||
|
set record = +Sent
|
||||||
|
set postponed = +Drafts
|
||||||
|
|
||||||
|
set copy = yes
|
||||||
|
|
||||||
|
mailboxes `find ~/.mail/gmail -type d ! -name 'cur' ! -name 'tmp' ! -name 'new' | sed 's|/home/jdkaplan/.mail/gmail/|\+|' | sed ':a;N;$!ba;s/\n/ /g'`
|
||||||
|
|
||||||
|
set realname = "Jeremy Kaplan"
|
||||||
|
set from = "$my_username@gmail.com"
|
||||||
|
set envelope_from = yes
|
||||||
|
set use_from = yes
|
||||||
|
set smtp_url = "smtps://$my_username@smtp.gmail.com:465"
|
||||||
|
set ssl_force_tls = yes
|
||||||
|
set ssl_starttls = yes
|
||||||
34
mutt/mit
Normal file
34
mutt/mit
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
source ~/.mutt/common
|
||||||
|
|
||||||
|
set my_username = "jdkaplan"
|
||||||
|
set my_password = `pass show email/jdkaplan@mit.edu`
|
||||||
|
|
||||||
|
set smtp_pass = $my_password
|
||||||
|
|
||||||
|
set folder = "~/.mail/mit/"
|
||||||
|
|
||||||
|
set spoolfile = "+Inbox"
|
||||||
|
set record = +Sent
|
||||||
|
set postponed = +Drafts
|
||||||
|
|
||||||
|
set copy = yes
|
||||||
|
|
||||||
|
mailboxes `\
|
||||||
|
for file in ~/.mail/mit/*; do \
|
||||||
|
box=$(basename "$file"); \
|
||||||
|
if [ ! "$box" = '.' -a \
|
||||||
|
! "$box" = '..' -a \
|
||||||
|
! "$box" = '.mbsyncstate' -a \
|
||||||
|
! "$box" = '.uidvalidity' ]; then \
|
||||||
|
echo -n "\"+$box\" "; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
`
|
||||||
|
|
||||||
|
set realname = "Jeremy Kaplan"
|
||||||
|
set from = "$my_username@mit.edu"
|
||||||
|
set envelope_from = yes
|
||||||
|
set use_from = yes
|
||||||
|
set smtp_url = "smtps://$my_username@outgoing.mit.edu:465"
|
||||||
|
set ssl_force_tls = yes
|
||||||
|
set ssl_starttls = yes
|
||||||
Loading…
Add table
Add a link
Reference in a new issue