source ./paths # set debug_level = 5 # set debug_file = "~/neomutt_debug.log" # default account source "$HOME/.config/mutt/accounts/account.com.foozzione_gmail" folder-hook 'account.com.foozzione_gmail' 'source $HOME/.config/mutt/accounts/account.com.foozzione_gmail' folder-hook 'account.com.fz0x1_posteo' 'source $HOME/.config/mutt/accounts/account.com.fz0x1_posteo' # Macros to switch accounts macro index Q "unmailboxes *source $HOME/.config/mutt/accounts/account.com.foozzione_gmail!" macro index P "unmailboxes *source $HOME/.config/mutt/accounts/account.com.fz0x1_posteo!" set sendmail = "msmtp -a gmail" # Установка отправителя по умолчанию set from = "foozzione@gmail.com" set realname = "Tkachenko Ihor" # Определите отправителя в зависимости от текущего ящика send-hook '~f foozzione@gmail.com' 'set sendmail="msmtp -a gmail"' send-hook '~f fz0x1@posteo.net' 'set sendmail="msmtp -a posteo"' # Ensure TLS is enforced set ssl_starttls = yes set ssl_force_tls = yes unset record # settings set beep_new = yes set pager_index_lines = 10 set pager_context = 3 # show 3 lines of context set pager_stop # stop at end of message set menu_scroll # scroll menu set tilde # use ~ to pad mutt set move=no # don't move messages when marking as read set mail_check = 30 # check for new mail every 30 seconds set imap_keepalive = 900 # 15 minutes set sleep_time = 0 # don't sleep when idle set wait_key = no # mutt won't ask "press key to continue" set envelope_from # which from? set edit_headers # show headers when composing set fast_reply # skip to compose when replying set askcc # ask for CC: set fcc_attach # save attachments with the body set forward_format = "Fwd: %s" # format of subject when forwarding set forward_decode # decode when forwarding set forward_quote # include message in forwards set mime_forward # forward attachments as part of body set attribution = "On %d, %n wrote:" # format of quoting header set reply_to # reply to Reply to: field set reverse_name # reply as whomever it was to set include # include message in replies set text_flowed=yes # correct indentation for plain text unset sig_dashes # no dashes before sig unset markers # Sort by newest conversation first. set charset = "utf-8" set uncollapse_jump set sort_re set sort = reverse-threads set sort_aux = last-date-received # How we reply and quote emails. set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*" set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8 # Use GPGME # Use my key for signing and encrypting set pgp_default_key = B2A6D86C6EB94D40A9031FFADDCA1A115D6D2284 # Use GPGME set crypt_use_gpgme = yes # Automatically sign all out-going email set crypt_autosign = yes # Sign replies to signed emails set crypt_replysign = yes # Encrypt replies to encrypted emails set crypt_replyencrypt = yes # Encrypt and sign replies to encrypted and signed email set crypt_replysignencrypted = yes # Attempt to verify signatures automatically set crypt_verify_sig = yes # Attempt to encrypt automatically set crypt_opportunistic_encrypt = no # So you can view encrypted emails automatically auto_view application/pgp-encrypted #sidebar set sidebar_visible # comment to disable sidebar by default set sidebar_short_path set sidebar_folder_indent set sidebar_format = "%B %* [%?N?%N / ?%S]" set mail_check_stats bind index,pager \CP sidebar-prev bind index,pager \CN sidebar-next bind index,pager \CE sidebar-open bind index,pager B sidebar-toggle-visible set editor = "nvim" # bindings macro index A \ "~NN." \ "mark all new as read" bind index j next-entry bind index k previous-entry bind pager j next-line bind pager k previous-line bind attach,index,pager \CD next-page bind attach,index,pager \CU previous-page bind pager g top bind pager G bottom bind attach,index g first-entry bind attach,index G last-entry # open attachments with mailcap with bind attach view-mailcap auto_view text/html # automatically show html (mailcap uses lynx) #urlscan macro index,pager \cb " urlscan" "call urlscan to extract URLs out of a message" macro attach,compose \cb " urlscan" "call urlscan to extract URLs out of a message" #theme source ~/.config/mutt/colors.muttrc