aboutsummaryrefslogtreecommitdiff
path: root/muttrc
blob: 6cde9c825a7992a5e85d07f8804c06dd2005520b (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
################# IMAP ####################
set imap_user=aj46ezos
# Automatically log in to this mailbox at startup
set folder="imaps://$imap_user@faumail.uni-erlangen.de/"
# Define the = shortcut, and the entry point for the folder browser (c?)
set spoolfile="+INBOX"
set record="+Sent"
set postponed="+Drafts"

# activate TLS if available on the server
set ssl_starttls=yes
# always use SSL when connecting to a server
set ssl_force_tls=yes
# Don't wait to enter mailbox manually 
unset imap_passive        
# Automatically poll subscribed mailboxes for new mail (new in 1.5.11)
set imap_check_subscribed
# Reduce polling frequency to a sane level
set mail_check=60
# And poll the current mailbox more often (not needed with IDLE in post 1.5.11)
set timeout=10
# keep a cache of headers for faster loading (1.5.9+?)
set header_cache=~/.hcache
# Display download progress every 5K
set net_inc=5


############### SMTP #######################

set realname = 'Florian Fischer'
set from = "florian.fl.fischer@fau.de"
set use_from = yes

set smtp_url="smtps://$imap_user@smtp-auth.uni-erlangen.de"


############### PASSWORDS ##################
# the passwords are stored in the file .mutt/passwords
# and this file is read and evaluated before mutt is started.
# the file format should be:
#   export <var> <passwd>
#
# see: http://www.mail-archive.com/mutt-users@mutt.org/msg36375.html

set smtp_pass=$FAU_PASS
set imap_pass=$FAU_PASS

############### GPG ########################

source ~/.mutt/gpg.rc

set pgp_use_gpg_agent = yes

set crypt_replyencrypt = yes
set crypt_replysignencrypted=yes
set crypt_verify_sig=yes

############### MISC #######################

set sort=threads
set sort_aux=last-date-received

# open links with urlscan
macro pager,index \cb <pipe-entry>'urlscan -n | dmenu -l 15 | xargs -r $BROWSER '<enter> 'Follow links with urlscan'

############## Bindings ####################

bind pager j next-line
bind pager k previous-line
bind attach,index,pager \CD next-page
bind attach,index,pager \CU previous-page
bind pager g top
bind pager G bottom
bind attach,index g first-entry
bind attach,index G last-entry

############## COLOR #######################

source ~/.mutt/solarized-dark-256