1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-22 08:20:59 +02:00

hack with mutt and notmuch

This commit is contained in:
Arti Zirk 2021-11-22 23:07:00 +02:00
parent dfdd735fa0
commit 966ae11d79
2 changed files with 69 additions and 5 deletions

View File

@ -2,13 +2,18 @@ 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/
#source secrets
#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
set imap_check_subscribed
# subscribe to all imap folders
#set imap_check_subscribed
# NotMuch config
set nm_default_url = "notmuch:///home/arti/Mail"
@ -23,7 +28,7 @@ set header_cache = ~/.cache/mutt/headers
set message_cachedir = "~/.cache/mutt"
# 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.
unset imap_passive
@ -34,6 +39,10 @@ set imap_keepalive = 300
# How often to check for new mail (time in seconds).
set mail_check = 120
# group by thread and sort
set sort=threads
set sort_aux=last-date-received
set sidebar_visible
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_divider_char = '█'
@ -47,6 +56,7 @@ set sidebar_indent_string=" " # Indent with two spaces
color progress white red
# Use only 7bit ascii or utf-8
set send_charset="us-ascii:utf-8"

View File

@ -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