2 set realname="Mart Lubbers"
3 set from="mart@martlubbers.net"
6 set my_msmtp_pass=`gpg -d ~/passwd.gpg | grep -i mail | awk '{print $3}'`
7 set sendmail="/usr/local/bin/msmtp -C /home/mart/.mutt/msmtp --password=$my_msmtp_pass -f mart@martlubbers.net -a net"
8 set my_hdr="X-PGP-Key: http://www.martlubbers.net/mart@martlubbers.net.asc"
11 # Force offlineimap to refresh in the background
12 macro index,pager $ "<sync-mailbox><shell-escape>offlineimap -c ~/.mutt/offlineimaprc -k Repository_Remote:remotepass=$my_msmtp_pass &<enter>" "Force refresh"
13 # Move all the mailing lists to the appropriate folder
14 macro index,pager \CT "\
15 <tag-pattern>~C vim@vim.org | ~C vim_use<enter><tag-prefix-cond><save-message>=vim<enter><end-cond>\
16 <tag-pattern>~C lists.debian.org<enter><tag-prefix-cond><save-message>=debian<enter><end-cond>\
17 <tag-pattern>~C mutt-users@mutt.org<enter><tag-prefix-cond><save-message>=mutt<enter><end-cond>\
18 <sync-mailbox>" "Clean up mailing lists"
20 #Scoring mechanism to pin emails
24 macro index \CP "<flag-message><enter-command>unscore *<enter><enter-command>score ~A 0<enter><enter-command>score ~F 1<enter>" "toggle pin"
25 #set index_format="%1N %4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
30 set folder=~/.mutt/mail/ # Local mailbox
31 set spoolfile=+/INBOX/ # Inbox(first folder)
32 set record="+Sent/" # Sent messages
33 set trash="+Trash/" # Trash
34 set postponed="+Drafts/" # Drafts
36 set certificate_file=~/.mutt/certs
37 set imap_check_subscribed=yes
40 source ~/.mutt/mailboxes # Generated by offlineimap
45 set sort_browser=alpha
46 set sort=reverse-score
47 set sort_aux=reverse-date
49 set duplicate_threads=yes
52 set pager_index_lines=20
57 set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
58 alternative_order text/plain text/enriched text/html
59 bind pager k previous-line
60 bind pager j next-line
63 bind pager R group-reply
66 set sidebar_visible=yes
70 color sidebar_new brightyellow default
71 bind index,pager \CL sidebar-prev
72 bind index,pager \CH sidebar-next
73 bind index,pager \CO sidebar-open
75 # Adress book and url view
76 set alias_file="~/.mutt/alias"
77 source "~/.mutt/alias"
78 macro index,pager \cb "|urlview\n"
81 subscribe debian-user-dutch@lists.debian.org
82 subscribe debian-user@lists.debian.org
83 subscribe vim_use@googlegroups.com
85 subscribe mutt-user@mutt.org
94 color normal white default
95 color attachment brightyellow default
96 color hdrdefault cyan default
97 color indicator default cyan
98 color markers brightred default
99 color quoted green default
100 color signature cyan default
101 color status brightgreen blue
102 color tilde blue default
103 color tree red default
104 color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
105 color body brightblue default (https?|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
107 color quoted1 brightyellow default
108 color quoted2 red default
109 color hdrdefault cyan default
110 color signature cyan default
112 color index green default ~p# To me
113 color index brightyellow default ~N# New
114 color index blue default ~T# Tagged
115 color index red default ~D# Deleted
116 color index brightblue default ~F
119 set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
120 set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
121 set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
122 set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
123 set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
124 set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
125 set pgp_import_command="gpg --no-verbose --import -v %f"
126 set pgp_export_command="gpg --no-verbose --export --armor %r"
127 set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
128 set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
129 set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
131 set pgp_sign_as=0xAD3FEBE7
133 set pgp_good_sign="^gpg: Good signature from"
137 set crypt_replysignencrypted=yes
138 set crypt_verify_sig=yes