aboutsummaryrefslogtreecommitdiff
path: root/mutt/muttrc
blob: a1d8029a0dc49c70f2ff1e148f8f373496530f7b (plain) (blame)
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
# Names
set realname      = 'Tom Ryder'
set from          = 'tej.ryder@gmail.com'
set use_from      = yes
set envelope_from = yes

# SMTP
set sendmail = '/usr/bin/msmtp'

# Mailbox specifics
set mbox_type    = 'Maildir'
set folder       = '~/Mail'
set spoolfile    = '+/'
set header_cache = '~/.cache/mutt'

# Intervals
set mail_check = 30
set record     = '+.Sent'
set postponed  = '+.Drafts'
set sleep_time = 0

# Options
set beep            = no
set beep_new        = yes
set charset         = 'utf-8'
set send_charset    = 'utf-8'
set delete          = yes
set fast_reply      = yes
set include         = yes
set markers         = no
set mask            = ''
set move            = no
set pager_format    = "%4C %Z %[!%b %e at %I:%M %p]  %.20n  %s%* -- (%P)"
set pipe_decode     = yes
set quit            = yes
set smart_wrap      = yes
set sort            = 'reverse-threads'
set sort_aux        = 'last-date-received'
set thorough_search = yes
set wait_key        = no
unset confirmappend
hdr_order Date From To Cc

# Alternates
source ~/.mutt/alternates
set reverse_name      = yes
set use_envelope_from = yes

# Addresses
set query_command = "abook --mutt-query '%s'"

# Colors
color status    color84 color22
color normal    white   black
color indicator black   white

# GPG settings
set crypt_verify_sig         = yes  # Verify all signatures automatically if key available
set crypt_replysign          = yes  # Sign replies to signed messages
set crypt_replysignencrypted = yes  # Encrypt replies to encrypted messages
my_hdr X-PGP-Key: http://static.sanctum.geek.nz/thomas-ryder.asc

# GPG commands
set pgp_use_gpg_agent        = yes
set pgp_clearsign_command    = "gpg --no-verbose --batch --output - --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_decode_command       = "gpg %p --no-verbose --batch --output - %f"
set pgp_decrypt_command      = "gpg --no-verbose --batch --output - %f"
set pgp_encrypt_only_command = "/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f"
set pgp_encrypt_sign_command = "/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f"
set pgp_export_command       = "gpg --no-verbose --export --armor %r"
set pgp_good_sign            = "^gpg: Good signature from"
set pgp_import_command       = "gpg --no-verbose --import -v %f"
set pgp_list_pubring_command = "gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command = "gpg --no-verbose --batch --with-colons --list-secret-keys %r"
set pgp_sign_command         = "gpg --no-verbose --batch --output - --armor --detach-sign --textmode %?a?-u % a? %f"
set pgp_verify_command       = "gpg --no-verbose --batch --output - --verify %s %f"
set pgp_verify_key_command   = "gpg --no-verbose --batch --fingerprint --check-sigs %r"