summaryrefslogtreecommitdiff
path: root/muttrc
blob: f6ddfdb882889f72fd176f1316a8ed4590ec7d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# vim: filetype=muttrc

set realname = "Ben Sima"
set mbox_type = Maildir

my_hdr X-URL: https://www.bsima.me
# my_hdr Bcc: ben@bsima.me

set editor = "vim -f"
set mail_check = 60
set timeout = 60
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates

# Contacts
set display_filter=~/config/mutt/generate-contacts.sh
set alias_file=~/contacts.txt
source $alias_file

set move = no
set include
set auto_tag = yes
alternative_order text/plain text/html *
auto_view text/x-vcard text/html text/enriched
bind editor ^T complete
set pager_index_lines = 10
set implicit_autoview = yes

set sort_aux = 'last-date-received'
set index_format = "[%Z]  %D  %-20.20F  %s"
set date_format = "%m.%d..%H.%M"
set nostrict_threads
set sort = 'threads'
set markers = no # hide line-wrap markers

# Ignore all headers
ignore *

# Then un-ignore the ones I want to see
unignore From:
unignore To:
unignore Reply-To:
unignore Subject:
unignore Date:
unignore Organization:
unignore Newsgroups:
unignore CC:
unignore BCC:
unignore User-Agent:

# Now order the visable header lines
hdr_order Date: From: To: CC: BCC: Reply-To: Subject: Organization: User-Agent:

set forward_format = "Fwd: %s"
set fast_reply=yes
set forward_decode                   # decode when forwarding
set reply_to                         # reply to Reply to: field
set use_envelope_from = yes
set envelope_from = yes
set text_flowed = yes

## Accounts

set my_pw = "`pass bnet/helium/mail/ben`"

set imap_user = "ben@bsima.me"
set imap_pass = $my_pw

set sendmail = msmtpq

set from = "ben@bsima.me"
set use_from = yes

#set smtp_url = "smtp://ben@bsima.me@mail.bsima.me:587"
#set smtp_pass = $my_pw

set ssl_starttls = "yes"

set folder = "~/Mail/ben@bsima.me"
set spoolfile = "+INBOX"
set postponed = "+Drafts"
set record = "+Sent"
set imap_pipeline_depth = 0