-
Notifications
You must be signed in to change notification settings - Fork 1
/
.muttrc.gmail
32 lines (25 loc) · 1.21 KB
/
.muttrc.gmail
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
set from = "[email protected]"
set realname = "Patrick Totzke"
set imap_user = "[email protected]"
set imap_pass = `~/bin/getpwd Gmail`
set smtp_url = "smtp://[email protected]:587/"
set smtp_pass = $imap_pass
set mbox_type=Maildir
set spoolfile="~/mail/gmail/INBOX"
set folder="~/mail/gmail/"
set mask="!^\\.[^.]"
set record="+Sent"
set postponed="+Drafts"
#mailboxes `echo -n "+ "; find ~/mail/gmail -maxdepth 1 -type d -printf "+'%f' "`
mailboxes ! + `for file in ~/mail/uoe/*; do box=$(basename "$file"); if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = 'Drafts' -a ! "$box" = 'Sent' ]; then echo -n "\"+$box\" "; fi; done`
set header_cache=~/.mutt/cache/headers.gmail
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
source ~/.mutt/rc/ui #my UI settings (incl local aliases)
source ~/.mutt/rc/bindings #macros/bindings
# use goobook (pip install goobook) for goocle contacts
set query_command="goobook query '%s'"
macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
# PGP ui stuff/set default key for this address
source ~/.mutt/rc/gpg
set pgp_sign_as=0xD7D6C5AA # specify the uid to use when encrypting/signing