Skip to content

Instantly share code, notes, and snippets.

@even4void
Created May 27, 2025 11:37
Show Gist options
  • Save even4void/0d461940afa72f1d2602530d187155ad to your computer and use it in GitHub Desktop.
Save even4void/0d461940afa72f1d2602530d187155ad to your computer and use it in GitHub Desktop.
Neomutt (20250510) config file
set certificate_file = /opt/homebrew/opt/ca-certificates/share/ca-certificates/cacert.pem
set folder = ~/.mail
set header_cache = ~/.cache/neomutt
set mailcap_path = ~/.config/neomutt/mailcap
set message_cachedir = ~/.cache/neomutt
set tmpdir = ~/.cache/neomutt/tmp
set attach_save_dir = ~/tmp
set beep_new = no
set check_new
set confirmappend = no
set delete
set mail_check = 60
set mail_check_stats
set mark_old
set mbox_type = Maildir
set move = no
set pipe_decode
set quit = ask-yes
set sleep_time = 0
set thorough_search
set timeout = 15
set wait_key = no
# set reverse_name
# set sig_on_top
set askcc
set attribution = "On %d, %n wrote:"
set edit_headers
set envelope_from
set fast_reply
set fcc_attach
set forward_decode
set forward_format = "Fwd: %s"
set forward_quote
set include
set mime_forward = no
set reply_to
set sig_dashes
set text_flowed
# set hidden_host
set editor = "nvim +8"
set ispell="aspell --mode=email --add-email-quote=%,#,:,} --check"
# set postpone_encrypt = yes
set crypt_autoencrypt = no
set crypt_autopgp = yes
set crypt_autosign = no
set crypt_replysign = yes
set crypt_replysignencrypted = yes
set crypt_use_gpgme = yes
set crypt_verify_sig = yes
set pgp_self_encrypt = yes
set pgp_sign_as = 152E3E3F7C4CCE44
set pgp_use_gpg_agent = yes
set charset = "utf-8"
set collapse_all = yes
set collapse_unread = no
set date_format = "%Y-%m-%d %H:%M"
set folder_format = " %3C %f %* [%m] "
set help = no
set markers = no
set menu_scroll
set pager_context = 3
set pager_index_lines = 0
set pager_stop
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set send_charset = "utf-8:iso-8859-1:us-ascii"
set sort = threads
set sort_aux = reverse-last-date-received
set sort_re
set status_chars = " *%A"
set status_format = " %f sort:%s msgs:%?M?%M/?%m %l%?n? new:%n?%?o? old:%o?%?d? del:%d?%?F? flag:%F?%?t? tag:%t?%?p? post:%p?%?b? inc:%b?%?l?? %> "
set status_on_top = no
set tilde
set uncollapse_jump
set uncollapse_new = yes
ignore *
unignore from: to: reply-to: cc: bcc: date: subject:
unhdr_order *
hdr_order from: to: reply-to: cc: bcc: date: subject:
set query_command = "mu cfind --format=mutt-ab '%s'"
set sidebar_folder_indent
set sidebar_format="%B%* %?N?%N?"
set sidebar_indent_string = ""
set sidebar_short_path
set sidebar_width = 23
unset sidebar_visible
mailboxes =icloud/INBOX
mailboxes =icloud/Drafts =icloud/Sent\ Messages =icloud/Deleted\ Messages =icloud/Archive
mailboxes =icloud/lists
mailboxes =icloud/digests
mailboxes =archives
source ~/.config/neomutt/colors
source ~/.config/neomutt/bindings
source ~/.config/neomutt/aliases
source ~/.config/neomutt/nntp
source ~/.config/neomutt/gpg
source ~/.config/neomutt/lists
set alias_file=~/.config/neomutt/aliases
set print_command="a2ps -1gEmail --borders=no --strip=3 -o /Users/chl/tmp/mail.ps"
alternates (xxx)|(xxx)
set realname = "xxx"
source ~/.config/neomutt/accounts/icloud
folder-hook . set strict_threads=no
folder-hook . set sort=threads
folder-hook archives/* 'set read_inc=1000'
folder-hook archives/* 'set index_format="[%[%Y-%m-%d %H:%M]] [%Z %?X?A&-? %?l?%4l&%4c?] %-25.25F %?M?<%M> ?%s "'
folder-hook icloud/* source ~/.config/neomutt/accounts/icloud
folder-hook icloud/* 'set index_format="[%[!%m-%d %H:%M]] %zt %-25.25F %?M?<%M> ?%s "'
folder-hook icloud/Sent 'set index_format="[%[!%m-%d %H:%M]] [%Z %?X?A&-?] %-25.25F %s "'
folder-hook icloud/Sent 'set sort=reverse-date-sent'
folder-hook icloud/Sent set strict_threads=yes
alternative_order text/plain text/enriched
# alternative_order text/html text/plain text/enriched
# set show_multipart_alternative=inline
# auto_view text/html
auto_view application/pgp-encrypted
auto_view application/pgp-keys
auto_view application/pgp-signature
auto_view application/x-tar-gz
auto_view application/x-zip-compressed
auto_view application/zip
auto_view text/x-patch
auto_view text/x-vcard
auto_view text/x-diff
@even4void
Copy link
Author

Replace xxx with your email address and real name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment