|
# -- MAIN -- |
|
set realname="Daniel Duclos-Cavalcanti" |
|
set from="daniel.duclos.cavalcanti@gmail.com" |
|
|
|
set imap_user = "daniel.duclos.cavalcanti@gmail.com" |
|
set imap_pass = `pass show mutt` |
|
|
|
# smtp[s]://[user[:pass]@]host[:port] |
|
set smtp_url="smtps://daniel.duclos.cavalcanti@gmail.com@smtp.gmail.com:465/" |
|
set smtp_pass = `pass show mutt` |
|
set smtp_authenticators='gssapi:login' |
|
|
|
# -- MAILBOXES AND FOLDERS -- |
|
set sort=reverse-date |
|
set sort_aux=last-date-received |
|
|
|
# temporary files |
|
set tmpdir=/tmp |
|
|
|
# in case notmuch is being used |
|
# notmuch://<absolute path>. |
|
# set nm_default_uri = "notmuch:///home/user/.mail" |
|
# set nm_record = yes |
|
|
|
# mailbox type and location |
|
# set mbox_type=Mail |
|
|
|
set folder=imaps://imap.gmail.com:993 |
|
set spoolfile = "+INBOX" |
|
set postponed = "+Drafts" # drafts |
|
set record = "+Sent" # outgoing messages |
|
set trash = "+Trash" # trash |
|
|
|
# The mailboxes specifies folders which can receive mail and which will |
|
# be checked for new messages. When changing folders, pressing space will |
|
# cycle through folders with new mail. |
|
unmailboxes * |
|
mailboxes =INBOX =[Gmail]/Sent\ Mail =[Gmail]/Drafts =[Gmail]/Spam =[Gmail]/Trash |
|
# mailboxes +Drafts +Sent +Spam |
|
|
|
# Using my_hdr, you can define headers which will be added to the messages |
|
# composed |
|
# unmy_hdr * |
|
# my_hdr X-Location: Europe, Germany |
|
|
|
set editor = "nvim -c set wrap" |
|
set mailcap_path = ~/.config/neomutt/mailcap |
|
auto_view text/html |
|
alternative_order text/plain text/enriched text/html |
|
|
|
# When set along with $edit_headers, NeoMutt will skip the initial |
|
# send-menu (prompting for subject and recipients) and allow you to |
|
# immediately begin editing the body of your message. |
|
set autoedit = no |
|
set sleep_time=0 |
|
|
|
# GNU's spell-checking software |
|
# set ispell="ispell" |
|
# set ispell="aspell -e -c" |
|
|
|
# This is the string that will precede a message which has been included in |
|
# a reply. |
|
# set attribution = "On %d, %n wrote:" |
|
|
|
# This variable controls the default subject when forwarding a message. |
|
# set forward_format = "[%a: %s]" |
|
|
|
# set signature = "~/.config/neomutt/signature" |
|
|
|
# This variable specifies the subject to be used when replying to an email |
|
# with an empty subject. |
|
set empty_subject = "Re: your mail" |
|
|
|
# -- FORMATTING -- |
|
# %a Address of the author |
|
# %A Reply-to address (if present; otherwise: address of author) |
|
# %b Filename of the original message folder (think mailbox) |
|
# %B The list to which the letter was sent, or else the folder name (%b). |
|
# %C Current message number |
|
# %c Number of characters (bytes) in the message |
|
# %D Date and time of message using date_format and local timezone |
|
# %d Date and time of message using date_format and sender's timezone |
|
# %e Current message number in thread |
|
# %E Number of messages in current thread |
|
# %F Author name, or recipient name if the message is from you |
|
# %f Sender (address + real name), either From: or Return-Path: |
|
# %g Newsgroup name (if compiled with NNTP support) |
|
# %g Message tags (e.g. notmuch tags/imap flags) |
|
# %Gx Individual message tag (e.g. notmuch tags/imap flags) |
|
# %H Spam attribute(s) of this message |
|
# %I Initials of author |
|
# %i Message-id of the current message |
|
# %J Message tags (if present, tree unfolded, and != parent's tags) |
|
# %K The list to which the letter was sent (if any; otherwise: empty) |
|
# %L If an address in the “To:” or “Cc:” header field matches an address Defined by the users “subscribe” command, this displays "To <list-name>", otherwise the same as %F |
|
# %l Number of lines in the message (does not work with maildir, Mh, and possibly IMAP folders) |
|
# %M Number of hidden messages if the thread is collapsed |
|
# %m Total number of message in the mailbox |
|
# %N Message score |
|
# %n Author's real name (or address if missing) |
|
# %O Original save folder where NeoMutt would formerly have Stashed the message: list name or recipient name If not sent to a list |
|
# %P Progress indicator for the built-in pager (how much of the file has been displayed) |
|
# %q Newsgroup name (if compiled with NNTP support) |
|
# %R Comma separated list of “Cc:” recipients |
|
# %r Comma separated list of “To:” recipients |
|
# %S Single character status of the message (“N”/“O”/“D”/“d”/“!”/“r”/“*”) |
|
# %s Subject of the message |
|
# %T The appropriate character from the $to_chars string |
|
# %t “To:” field (recipients) |
|
# %u User (login) name of the author |
|
# %v First name of the author, or the recipient if the message is from you |
|
# %W Name of organization of author (“Organization:” field) |
|
# %x “X-Comment-To:” field (if present and compiled with NNTP support) |
|
# %X Number of MIME attachments (please see the “attachments” section for possible speed effects) |
|
# %Y “X-Label:” field, if present, and (1) not at part of a thread tree, (2) at the top of a thread, or (3) “X-Label:” is different from Preceding message's “X-Label:” |
|
# %y “X-Label:” field, if present |
|
# %Z A three character set of message status flags. |
|
# %zc Message crypto flags |
|
# %zs Message status flags |
|
# %zt Message tag flags |
|
# %{fmt} the date and time of the message is converted to sender's time zone, and “fmt” is expanded by the library function strftime(3); a leading bang disables locales |
|
# %[fmt] the date and time of the message is converted to the local time zone, and “fmt” is expanded by the library function strftime(3); a leading bang disables locales |
|
# %(fmt) the local date and time when the message was received. “fmt” is expanded by the library function strftime(3); a leading bang disables locales |
|
# %>X right justify the rest of the string and pad with character “X” |
|
# %|X pad to the end of the line with character “X” |
|
# %*X soft-fill with character “X” as pad |
|
set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" |
|
|
|
# %b Number of mailboxes with new mail * |
|
# %d Number of deleted messages * |
|
# %f The full pathname of the current mailbox |
|
# %F Number of flagged messages * |
|
# %h Local hostname |
|
# %l Size (in bytes) of the current mailbox * |
|
# %L Size (in bytes) of the messages shown (i.e., which match the current limit) * |
|
# %m The number of messages in the mailbox * |
|
# %M The number of messages shown (i.e., which match the current limit) * |
|
# %n Number of new messages in the mailbox * |
|
# %o Number of old unread messages * |
|
# %p Number of postponed messages * |
|
# %P Percentage of the way through the index |
|
# %r Modified/read-only/won't-write/attach-message indicator, According to $status_chars |
|
# %R Number of read messages * |
|
# %s Current sorting mode ($sort) |
|
# %S Current aux sorting method ($sort_aux) |
|
# %t Number of tagged messages * |
|
# %u Number of unread messages * |
|
# %v NeoMutt version string |
|
# %V Currently active limit pattern, if any * |
|
# %>X Right justify the rest of the string and pad with “X” |
|
# %|X Pad to the end of the line with “X” |
|
# %*X Soft-fill with character “X” as pad |
|
set status_format = "-%r-NeoMutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-" |
|
|
|
# Specifies the format of the data displayed for the ``alias'' menu. The |
|
# following printf(3)-style sequences are available: |
|
# %a Alias name |
|
# %f Flags - currently, a ``d'' for an alias marked for deletion |
|
# %n Index number |
|
# %r Address which alias expands to |
|
# %t Character which indicates if the alias is tagged for inclusion |
|
set alias_format="%4n %2f %t %-10a %r" |
|
|
|
# This variable allows you to customize the sidebar display. This string is |
|
# similar to $index_format, but has its own set of printf(3)-like |
|
# sequences: |
|
# %B Name of the mailbox |
|
# %S * Size of mailbox (total number of messages) |
|
# %N * Number of unread messages in the mailbox |
|
# %n N if mailbox has new mail, blank otherwise |
|
# %F * Number of Flagged messages in the mailbox |
|
# %! “!” : one flagged message; “!!” : two flagged messages; “n!” : n flagged messages (for n > 2). Otherwise prints nothing. |
|
# %d * @ Number of deleted messages |
|
# %L * @ Number of messages after limiting |
|
# %t * @ Number of tagged messages |
|
# %>X right justify the rest of the string and pad with “X” |
|
# %|X pad to the end of the line with “X” |
|
# %*X soft-fill with character “X” as pad |
|
# * = Can be optionally printed if nonzero @ = Only applicable to the current folder |
|
# |
|
# In order to use %S, %N, %F, and %!, $mail_check_stats must be set. When |
|
# thus set, a suggested value for this option is "%B%?F? [%F]?%* |
|
# %?N?%N/?%S". |
|
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" |
|
|
|
# -- SIDERBAR -- |
|
set sidebar_visible = yes |
|
set sidebar_width = 50 |
|
set sidebar_delim_chars='/' |
|
set sidebar_component_depth=2 |
|
set sidebar_divider_char='|' |
|
|
|
# -- ALIASES -- |
|
set alias_file="~/.config/neomutt/aliases" |
|
set reverse_alias=no |
|
set sort_alias=alias |
|
|
|
source "~/.config/neomutt/aliases" |
|
|
|
# -- BINDINGS -- |
|
source "~/.config/neomutt/bindings" |
|
|
|
# -- COLORS -- |
|
source "~/.config/neomutt/colors" |
|
|
|
# -- ENCRYPTION -- |
|
# use gpgme code for S/MIME and PGP encryption |
|
set crypt_use_gpgme |
|
|
|
# This is the default key-pair to use for PGP operations. It will be used |
|
# for encryption. |
|
# set pgp_default_key = "0x12345678" |
|
set crypt_autoencrypt = no |
|
set crypt_autosign = no |
|
set crypt_use_gpgme = yes |
|
# set crypt_replyencrypt = yes, encrypt replies to PGP emails by default |
|
|
|
# -- QUERY -- |
|
# neomutt will use this command to make external address queries |
|
# set query_command="/usr/bin/lbdbq '%s'" |
|
|
|
# -- HOOKS -- |
|
# folder-hook |
|
# mbox-hook |
|
# message-hook |
|
# reply-hook |
|
# send-hook |
|
# send-hook |
|
# crypt-hook |
|
|
|
# for questions go to |
|
# https://github.com/neomutt/samples/blob/main/config/neomuttrc-example |