mail: Add aerc notmuch configuration

This commit is contained in:
Marty Oehme 2020-09-15 11:11:51 +02:00
parent 7871442bcd
commit 674b1cfeac
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 24 additions and 9 deletions

View file

@ -1,8 +1,9 @@
[Personal] [Personal]
source = maildir://~/documents/mail source = notmuch://~/documents/mail
outgoing = smtp+plain://marty.oehme%40gmail.com@smtp.gmail.com:587 outgoing = smtp+plain://marty.oehme%40gmail.com@smtp.gmail.com:587
outgoing-cred-cmd = pass 'misc/aerc-gmail-app-password' | head -1 outgoing-cred-cmd = pass 'misc/aerc-gmail-app-password' | head -1
default = Inbox default = Inbox
smtp-starttls = yes smtp-starttls = yes
from = Marty Oehme <marty.oehme@gmail.com> from = Marty Oehme <marty.oehme@gmail.com>
copy-to = Sent copy-to = Sent
query-map = ~/.config/aerc/notmuch-querymap

View file

@ -1,9 +1,10 @@
# Binds are of the form <key sequence> = <command to run> # Binds are of the form <key sequence> = <command to run>
# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>" # To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit # If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
<C-p> = :prev-tab<Enter> gT = :prev-tab<Enter>
<C-n> = :next-tab<Enter> gt = :next-tab<Enter>
<C-t> = :term<Enter> <C-t> = :term<Enter>
gR = :exec updatemail
[messages] [messages]
q = :quit<Enter> q = :quit<Enter>
@ -26,9 +27,12 @@ J = :next-folder<Enter>
<C-n> = :next-folder<Enter> <C-n> = :next-folder<Enter>
K = :prev-folder<Enter> K = :prev-folder<Enter>
<C-p> = :prev-folder<Enter> <C-p> = :prev-folder<Enter>
gi = :cf INBOX<Enter> gi = :cf Inbox<Enter>
ga = :cf [Google Mail]/All Mail<Enter> gm = :cf Important<Enter>
gt = :cf [Google Mail]/Trash<Enter> ga = :cf Archive<Enter>
gA = :cf All<Enter>
gs = :cf Sent<Enter>
gt = :cf Trash<Enter>
v = :mark -t<Enter> v = :mark -t<Enter>
V = :mark -v<Enter> V = :mark -v<Enter>
@ -36,9 +40,9 @@ V = :mark -v<Enter>
<Enter> = :view<Enter> <Enter> = :view<Enter>
l = :view<Enter> l = :view<Enter>
D = :prompt 'Really delete this message?' 'delete-message'<Enter> D = :prompt 'Really delete this message?' 'delete-message'<Enter>
d = :mv [Google Mail]/Trash<Enter> d = :modify-labels +deleted -inbox -archived<Enter>
a = :mv [Google Mail]/All Mail<Enter> a = :modify-labels +archived -deleted -inbox<Enter>
A = :mv [Google Mail]/All Mail<Enter> A = :modify-labels +archived -deleted -inbox<Enter>
C = :compose<Enter> C = :compose<Enter>

View file

@ -0,0 +1,9 @@
All=*
Inbox=tag:inbox and not tag:archived and not tag:dump
Archive=tag:archived and not tag:inbox and not tag:dump
Dump=tag:dump and not tag:inbox
Trash=tag:deleted
Important=tag:flagged
Sent=from:marty.oehme@gmail.com
Replied=tag:replied
Patches=subject:/^\[PATCH/

View file

@ -14,6 +14,7 @@ SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt CertificateFile /etc/ssl/certs/ca-certificates.crt
#CertificateFile ~/.cert/imap.gmail.com.pem #CertificateFile ~/.cert/imap.gmail.com.pem
#CertificateFile ~/.cert/Equifax_Secure_CA.pem #CertificateFile ~/.cert/Equifax_Secure_CA.pem
PipelineDepth 50
IMAPStore gmail-remote IMAPStore gmail-remote
Account gmail Account gmail