about summary refs log tree commit diff stats
path: root/linux/conf/skel/.mutt/muttrc
blob: 6ec1da45eac544fb74cd0512190ff4aa1ad42589 (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
set config_charset="utf-8"
# set locale="de_CH"
set charset="utf-8"
set send_charset="utf-8"
set editor="vim"
set visual=vim
set auto_tag
set sort=threads

set sort_browser=reverse-date
set sort_aux=reverse-last-date-received
set duplicate_threads=yes

set crypt_use_gpgme=yes

## automatically sign all outgoing messages
set crypt_autosign=yes

## automatically encrypt outgoing messages
set crypt_autoencrypt=yes

## automatically verify the sign of a message when opened
set crypt_verify_sig=yes

set pgp_sign_as=0x8BF422F79FC7C975BDF07828E88440BC35095A74
#set pgp_sign_as=0x8BF422F7
set pgp_timeout=1800
set pgp_autosign=yes
#set pgp_replyencrypt=yes

source ~/.mutt/gpg.rc

source "~/.mutt/mail_alias"
set alias_file=~/.mutt/mail_alias

# Header
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates

set timeout=10    # mutt 'presses' (like) a key for you 
                  #(while you're idle) each x sec to trigger 
                  #the thing below
set mail_check=5  # mutt checks for new mails on every keystroke
                  # but not more often then once in 5 seconds
set beep_new      # beep on new messages in the mailboxes

## Local system account
folder-hook '.mail' 'source ~/.mutt/system'

## Remote account
folder-hook '.mailext' 'source ~/.mutt/external'

## Default account
source ~/.mutt/system

## Shortcuts
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/external<enter><change-folder>!<enter>'

macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/system<enter><change-folder>!<enter>'