diff --git a/.config/aerc/accounts.conf b/.config/aerc/accounts.conf index 8f3b3ef9..ee329961 100644 --- a/.config/aerc/accounts.conf +++ b/.config/aerc/accounts.conf @@ -1,25 +1,4 @@ -[Personal] -source = imap://daniel%40ficd.ca@127.0.0.1:1143 -source-cred-cmd = pass show proton/bridge -outgoing = smtp+plain://daniel%40ficd.ca@127.0.0.1:1025 -outgoing-cred-cmd = pass show proton/bridge -default = INBOX -from = Daniel Fichtinger -copy-to = Sent -cache-headers = true -signature-file = /home/fic/mail/daniel@ficd.ca.sig - -[School] -source = imaps+xoauth2://18daf3%40queensu.ca@outlook.office365.com -source-cred-cmd = /home/fic/tools/mutt_oauth2.py /home/fic/tools/tokenfile-test -outgoing = smtp+xoauth2://18daf3%40queensu.ca@outlook.office365.com:587 -outgoing-cred-cmd = /home/fic/tools/mutt_oauth2.py /home/fic/tools/tokenfile-test -from = Daniel Fichtinger -default = INBOX -copy-to = Sent -signature-file = /home/fic/mail/fichtinger.d@queensu.ca.sig - -[Personal-Local] +[personal] source = notmuch://~/.mail/ maildir-store = ~/.mail/ maildir-account-path = personal @@ -36,7 +15,7 @@ check-mail = 5m exclude-tags = spam,archive,deleted folders-sort = InboxNM, SentNM -[School-Local] +[school] source = notmuch://~/.mail/ maildir-store = ~/.mail/ maildir-account-path = school @@ -51,3 +30,24 @@ check-mail-cmd = /home/fic/.config/mail/mail-sync.sh check-mail = 5m exclude-tags = spam,archive,deleted folders-sort = InboxNM, SentNM + +[Personal-IMAP] +source = imap://daniel%40ficd.ca@127.0.0.1:1143 +source-cred-cmd = pass show proton/bridge +outgoing = smtp+plain://daniel%40ficd.ca@127.0.0.1:1025 +outgoing-cred-cmd = pass show proton/bridge +default = INBOX +from = Daniel Fichtinger +copy-to = Sent +cache-headers = true +signature-file = /home/fic/mail/daniel@ficd.ca.sig + +[School-IMAP] +source = imaps+xoauth2://18daf3%40queensu.ca@outlook.office365.com +source-cred-cmd = /home/fic/tools/mutt_oauth2.py /home/fic/tools/tokenfile-test +outgoing = smtp+xoauth2://18daf3%40queensu.ca@outlook.office365.com:587 +outgoing-cred-cmd = /home/fic/tools/mutt_oauth2.py /home/fic/tools/tokenfile-test +from = Daniel Fichtinger +default = INBOX +copy-to = Sent +signature-file = /home/fic/mail/fichtinger.d@queensu.ca.sig diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 276b11b6..7cb2e9cb 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -835,11 +835,11 @@ aerc-shutdown=/home/fic/.config/mail/mail-sync.sh & # # Executed when notmuch tags are modified. -#tag-modified= +tag-modified=/home/fic/.config/mail/mail-sync.sh & # # Executed when flags are changed on a message. -#flag-changed=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" & +flag-changed=/home/fic/.config/mail/mail-sync.sh & [templates] # Templates are used to populate email bodies automatically. diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index e9285242..8d7d8a4a 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -24,6 +24,7 @@ t = :toggle-threads T = :flag -t -x mr = :read mu = :unread +md = :modify-labels +deleted n = :next = :next