-
Notifications
You must be signed in to change notification settings - Fork 2
/
muttrc
58 lines (46 loc) · 2.22 KB
/
muttrc
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
# Configure GPG support.
source /etc/Muttrc.gpg.dist
# Load encrypted passwords.
source "gpg2 -dq $HOME/.mail-passwords.gpg |"
# hooks for every account
#macro index <F5> '<sync-mailbox><enter-command>source "$HOME/.mutt-uni-account"<enter><change-folder>!<enter>'
#macro index <F6> '<sync-mailbox><enter-command>source "$HOME/.mutt-gxp-account"<enter><change-folder>!<enter>'
macro index <F5> '<change-folder>imaps://imap.informatik.uni-kiel.de<enter>'
macro index <F6> '<change-folder>imaps://mail.jpberlin.de<enter>'
macro index <F7> '<change-folder>imaps://sslin.df.eu<enter>'
folder-hook 'imap.informatik.uni-kiel.de' 'source "$HOME/.mutt-uni-account"'
folder-hook 'mail.jpberlin.de' 'source "$HOME/.mutt-gxp-account"'
folder-hook 'sslin.df.eu' 'source "$HOME/.mutt-prv-account"'
account-hook 'imap.informatik.uni-kiel.de' 'set imap_user=svk imap_pass=$my_pw_uni'
account-hook 'mail.jpberlin.de' 'set [email protected] imap_pass=$my_pw_gxp'
account-hook 'sslin.df.eu' 'set [email protected] imap_pass=$my_pw_prv'
# default account to load on startup:
source "$HOME/.mutt-uni-account"
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
set header_cache = ~/.cache/mutt
# Store messages locally to speed things up, like searching message bodies.
# Can be the same folder as header_cache.
# This will cost important disk usage according to your e-mail amount.
set message_cachedir = "~/.cache/mutt"
# Specify where to save and/or look for postponed messages.
set postponed = +Drafts
# Allow Mutt to open new imap connection automatically.
unset imap_passive
# Keep IMAP connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
# How often to check for new mail (time in seconds).
set mail_check = 120
# Always use UTF8.
set send_charset="utf-8"
# Colorscheme
#source /usr/share/doc/mutt/colors/solarized/mutt-colors-solarized-light-256.muttrc
# key 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