Browse Source

hack with mutt and notmuch

master
Arti Zirk 3 years ago
parent
commit
966ae11d79
  1. 20
      .config/neomutt/neomuttrc
  2. 54
      .config/neomutt/neomuttrc_backup

20
.config/neomutt/neomuttrc

@ -2,13 +2,18 @@ set realname="Arti Zirk"
set from=arti.zirk@gmail.com set from=arti.zirk@gmail.com
set imap_user=arti.zirk@gmail.com set imap_user=arti.zirk@gmail.com
# set imap_pass=PASSWORD # set imap_pass=PASSWORD
source secrets #source secrets
set folder=imaps://imap.gmail.com/ #set folder=imaps://imap.gmail.com/
set spoolfile = +INBOX set virtual_spoolfile=yes
set folder=~/Mail
virtual-mailboxes "inbox" "notmuch://?query=tag:inbox"
#set spoolfile = +INBOX
#mailboxes = +INBOX #mailboxes = +INBOX
set imap_check_subscribed # subscribe to all imap folders
#set imap_check_subscribed
# NotMuch config # NotMuch config
set nm_default_url = "notmuch:///home/arti/Mail" set nm_default_url = "notmuch:///home/arti/Mail"
@ -23,7 +28,7 @@ set header_cache = ~/.cache/mutt/headers
set message_cachedir = "~/.cache/mutt" set message_cachedir = "~/.cache/mutt"
# Specify where to save and/or look for postponed messages. # Specify where to save and/or look for postponed messages.
set postponed = +[Gmail]/Drafts #set postponed = +[Gmail]/Drafts
# Allow Mutt to open a new IMAP connection automatically. # Allow Mutt to open a new IMAP connection automatically.
unset imap_passive unset imap_passive
@ -34,6 +39,10 @@ set imap_keepalive = 300
# How often to check for new mail (time in seconds). # How often to check for new mail (time in seconds).
set mail_check = 120 set mail_check = 120
# group by thread and sort
set sort=threads
set sort_aux=last-date-received
set sidebar_visible set sidebar_visible
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_divider_char = '█' set sidebar_divider_char = '█'
@ -47,6 +56,7 @@ set sidebar_indent_string=" " # Indent with two spaces
color progress white red color progress white red
# Use only 7bit ascii or utf-8
set send_charset="us-ascii:utf-8" set send_charset="us-ascii:utf-8"

54
.config/neomutt/neomuttrc_backup

@ -0,0 +1,54 @@
set realname="Arti Zirk"
set from=arti.zirk@gmail.com
set imap_user=arti.zirk@gmail.com
# set imap_pass=PASSWORD
source secrets
set folder=imaps://imap.gmail.com/
set spoolfile = +INBOX
#mailboxes = +INBOX
set imap_check_subscribed
# NotMuch config
set nm_default_url = "notmuch:///home/arti/Mail"
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
set header_cache = ~/.cache/mutt/headers
# Store messages locally to speed things up, like searching message bodies.
# Can be the same folder as header_cache.
# This will cost important disk usage according to your e-mail amount.
set message_cachedir = "~/.cache/mutt"
# Specify where to save and/or look for postponed messages.
set postponed = +[Gmail]/Drafts
# Allow Mutt to open a new IMAP connection automatically.
unset imap_passive
# Keep the IMAP connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
# How often to check for new mail (time in seconds).
set mail_check = 120
set sidebar_visible
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_divider_char = '█'
set mail_check_stats
set sidebar_short_path # Shorten mailbox names
set sidebar_delim_chars="/" # Delete everything up to the last / character
set sidebar_folder_indent # Indent folders whose names we've shortened
set sidebar_indent_string=" " # Indent with two spaces
color progress white red
set send_charset="us-ascii:utf-8"
## COLORS
source colors
Loading…
Cancel
Save