1 #set dotlock_program="/usr/bin/mutt_dotlock"
2 #charset-hook ^iso-8859-1$ utf-8
3 #macro index,pager S "|sa-learn --ham -<enter>" "Flag message as ham"
4 #macro index,pager s "|sa-learn --spam -<enter>" "Flag message as spam"
5 #set alias_file=$HOME/var/lib/mutt/aliases.dat
7 #set locale="fr_FR.UTF-8"
8 #set new_mail_command="notify-send 'New Email' '%n new messages, %u unread.' &"
9 #set pgp_mime_signature_description="Signature digitale OpenPGP"
10 #set pgp_mime_signature_filename=msg.sig.gpg
11 #set sendmail="/usr/sbin/ssmtp -C$HOME/.mutt/ssmtp/ssmtp.cfg"
14 alternative_order text/plain text/enriched text text/html
15 auto_view application/octet-stream
17 bind attach i previous-entry
18 bind attach k next-entry
19 bind browser i previous-entry
21 bind browser k next-entry
22 bind browser r check-new
23 bind browser R check-stats
24 bind generic i previous-line
26 bind generic k next-line
27 bind generic l select-entry
28 bind index <Esc><Tab> previous-new-then-unread
29 bind index <Tab> next-new-then-unread
30 bind index L list-reply
31 bind index N search-opposite
32 bind index \; tag-prefix-cond # apply the next function ONLY to tagged messages
34 bind index i previous-entry
35 bind index j collapse-thread
36 bind index k next-entry
37 bind index l display-message
39 bind index,pager M save-message
40 bind index,pager \Cn sidebar-next
41 bind index,pager \Co sidebar-open
42 bind index,pager \Cp sidebar-prev
44 bind pager <BackSpace> exit
45 bind pager <Esc><Tab> previous-new-then-unread
46 bind pager <Tab> next-new-then-unread
47 bind pager L list-reply
48 bind pager i previous-line
50 bind pager k next-line
51 bind pager l next-entry
53 bind pager,index V check-traditional-pgp
54 # object foreground background [regex]
55 color body cyan default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
56 color body magenta default "(ftp|git|http|https|irc|mailto|news|rsync|ssh|svn|xmpp)://[^ >]+" # point out URL
57 color header brightblack default ^Content-Type:
58 color header brightblack default ^Date:
59 color header brightblack default ^List-ID:
60 color header magenta default ^Message-ID:
61 color header brightblack default ^Old-To:
62 color header brightblack default ^Open(PGP|pgp):
63 color header brightblack default ^Reply-To:
64 color header brightblack default ^User-Agent:
65 color header brightblack default ^X-Mailer:
66 color header brightblack default ^X-Operating-System:
67 color header brightblack default ^X-PGP-Key-FingerPrint:
68 color header brightblack default ^X-PGP-Key:
69 color header brightblack default ^X-Spam-Status:
70 color header cyan default ^(Bcc|BCC):
71 color header cyan default ^(Cc|CC):
72 color header cyan default ^From:
73 color header cyan default ^To:
74 color header red default ^Disposition-Notification-To:
75 color header red default ^Return-Receipt-To:
76 color header brightwhite yellow ^Subject:
77 color index yellow default '~F' # Flagged
78 color indicator white red
79 color normal white default
80 color quoted brightblack default
81 color search white red
82 color status white blue
83 color tree magenta default
84 macro browser q "<exit><quit>"
86 macro compose \CP "Fgpg --clearsign\ny"
87 macro index , "<sync-mailbox><change-folder>^<enter>" # Reload current folder
88 macro index <F8> "<shell-escape>rm -rf ~/.mu/results; mu-find -o l -l ~/.mu/results " "mu-find"
89 macro index <F9> "<change-folder-readonly>~/.mu/results\n" "display mu-find results"
90 macro index q "<change-folder>?"
92 macro index,browser L "<enter-command>unset wait_key<enter><shell-escape>read -p 'search: ' x; echo \$x >~/.cache/mutt/terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt/terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "Limit through a notmuch search"
93 macro index,browser \cL "<limit>all\n" "show all messages (undo limit)"
94 macro index,generic \CF "!echo SIGHUP gpg-agent so it forgets the passphrase.; pkill -SIGHUP gpg-agent\n" "SIGHUP gpg-agent so it forgets the passphrase"
95 macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
96 macro index,pager u |urlview\n
97 macro index,pager,generic a "<shell-escape>abook<return>" "launch abook"
99 mime_lookup application/octet-stream
101 unignore From Date Subject To Cc Message-ID
103 unignore x-spam-status
104 unignore x-spam-report
105 set ask_follow_up = no
106 set ask_x_comment_to = no
108 set assumed_charset = UTF-8
109 set attribution = "Le %d, %n a écrit :"
111 set browser_abbreviate_mailboxes
112 #set browser_sticky_cursor
113 set catchup_newsgroup = no
115 set check_mbox_size # This variable should happen before any "mailboxes" directive
116 set collapse_unread = no
117 set config_charset = UTF-8
118 set crypt_replyencrypt
120 set crypt_replysignencrypted
121 set crypt_use_gpgme = no
123 set date_format = "%a %d %b %Y %Hh%M %Z"
125 set editor = "sh -c 'vim -f -c \"set ft=mail tw=64\" -c \":0/^\$\" \"$0\"; echo -ne \"\\033kmutt\\033\\134\"; echo -ne \"\\033]0;TERM: mutt: \$PWD\\007\"' "
126 set envelope_from_address = ""
127 set folder_format = "%N%t [%3n/%3m] %f %> %s %D"
129 set followup_to_poster = ask-yes
130 set group_index_format = '%4C %M%N %5s %-45.45f %d'
132 set honor_followup_to
133 set hostname = "localhost"
134 set imap_check_subscribed
135 set imap_delim_chars = "/.+"
137 set imap_keepalive = 300
138 set imap_list_subscribed
139 set imap_passive = yes
140 set implicit_autoview
141 set include = ask-yes
142 set indent_string = "> "
143 set index_format = "%Z %-18.18L %?M?%3M >>>? %s%> %5cB %D"
148 set mime_forward = no
149 set mime_forward_rest
150 set mime_subject = yes
152 set newsgroups_charset = utf-8
153 set nntp_authenticators = ''
154 set nntp_context = 1000
155 set nntp_listgroup = yes
156 set nntp_load_description = yes
160 set nomark_old # Non read messages not marked as old
161 set pager = "builtin"
162 set pager_context = 2 # Number of lines to be shown when doing next-page
163 set pager_index_lines = 9
164 set pager_stop # When looking at the end of a message dont jump to the beginning of the next one
166 set pgp_autoinline = no
168 set pgp_clearsign_command = "gpg --batch --output - --armor --textmode --clearsign %?a?--local-user %a? <%f"
169 set pgp_decode_command = "gpg --batch --output - --use-agent --decrypt %f"
170 set pgp_decrypt_command = "gpg --batch --output - --use-agent --status-fd 2 --decrypt %f"
171 set pgp_encrypt_only_command = "pgpewrap gpg --batch --output - --use-agent --always-trust --textmode --armor --encrypt -- --recipient %r <%f"
172 set pgp_encrypt_sign_command = "pgpewrap gpg --batch --output - --use-agent --always-trust --textmode --armor %?a?--local-user %a? --sign --encrypt -- --recipient %r <%f"
173 set pgp_entry_format = "%4n %t%f %4l/0x%k %-4a %2c %u"
174 set pgp_export_command = "pgpewrap gpg --batch --export --armor -- '' %r"
175 set pgp_good_sign = "^gpg : bonne signature de"
176 set pgp_ignore_subkeys
177 set pgp_import_command = "gpg --batch --import --verbose %f"
178 set pgp_list_pubring_command = "gpg --no-verbose --batch --quiet --with-colons --list-keys %r"
179 set pgp_list_secring_command = "gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r"
183 set pgp_show_unusable
184 set pgp_sign_command = "gpg --batch --output - --use-agent --armor --detach-sign --textmode %?a?--local-user %a? <%f"
185 set pgp_sort_keys = address
188 set pgp_use_gpg_agent
189 set pgp_verify_command = "gpg --batch --output - --verify %s %f"
190 set pgp_verify_key_command = "gpg --batch --fingerprint --check-sigs %r"
191 set pop_checkinterval = 60
194 set post_moderated = ask-yes
195 set postpone_encrypt = yes
196 set query_command = "abook --mutt-query '%s'"
197 set quote_regexp = "^([ \t]*[|>:}#])+"
200 set reverse_realname = no
201 set save_unsubscribed = yes
202 set send_charset = UTF-8
203 set sendmail = "sendmail -oem -oi"
204 set show_new_news = yes
205 set show_only_unread = no
206 set sidebar_delim_chars = "/.+"
207 set sidebar_folder_indent
208 set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
209 set sidebar_indent_string = ".."
210 set sidebar_visible = no
211 set signature = "~/.mutt/signature"
213 set sort_alias = alias
214 set sort_aux = reverse-last-date
215 set sort_browser = reverse-date
217 set ssl_starttls = no
218 set strict_threads # Use In-Reply-To: header to build threads
220 set to_chars = " +TCFL"
221 set uncollapse_jump = yes
222 set uncollapse_new = yes
223 set use_envelope_from
224 set use_envelope_from
227 set x_comment_to = no
230 unset crypt_autoencrypt
231 unset mark_old # When leaving a box don't mark new messages old
234 unset move # Do not move read mails
236 unset pgp_retainable_sigs
244 # Use very high $read_inc to speed up reading hcache'd maildirs
245 folder-hook . 'set read_inc=1000'
246 # Use lower value for reading slower remote IMAP folders
247 folder-hook (^imap) 'set read_inc=100'
248 # Use even lower value for reading even slower remote POP folders
249 folder-hook (^pop) 'set read_inc=1'