-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetagram
37 lines (29 loc) · 828 Bytes
/
metagram
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
source ~/.mutt/common
set my_email = "[email protected]"
set my_password = "`gopass show personal/email/[email protected] | head -n 1`"
set smtp_pass = $my_password
set folder = "~/.mail/metagram/"
set spoolfile = "+Inbox"
set record = +Sent
set postponed = +Drafts
set copy = yes
mailboxes `\
for file in ~/.mail/metagram/*; 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_email"
set envelope_from = yes
set use_from = yes
set smtp_url = "smtps://[email protected]:465"
set ssl_force_tls = yes
set ssl_starttls = yes
color index default green ~N
color index default green ~O