diff --git a/office/.config/aerc/accounts.conf b/office/.config/aerc/accounts.conf index 1e68aa4..6da73d9 100644 --- a/office/.config/aerc/accounts.conf +++ b/office/.config/aerc/accounts.conf @@ -4,7 +4,7 @@ maildir-store = ~/documents/mail query-map = ~/.config/aerc/Personal.qmap default = Inbox folders-sort = Inbox,Drafts,Sent -check-mail-cmd = neomutt-syncmail +check-mail-cmd = mail-sync exclude-tags = spam multi-file-strategy = act-dir-delete-rest restrict-delete = true diff --git a/office/.config/goimapnotify/goimapnotify.yaml b/office/.config/goimapnotify/goimapnotify.yaml index 32ca462..5cc6b21 100644 --- a/office/.config/goimapnotify/goimapnotify.yaml +++ b/office/.config/goimapnotify/goimapnotify.yaml @@ -8,5 +8,4 @@ configurations: passwordCMD: "{{#if mail_personal_password_cmd}}{{mail_personal_password_cmd}}{{/if}}" boxes: - mailbox: INBOX - onNewMail: neomutt-syncmail personal-inbox - onNewMailPost: 'notify-send "Incoming mail"' + onNewMail: mail-sync personal-inbox diff --git a/office/.local/bin/neomutt-syncmail b/office/.local/bin/mail-sync similarity index 100% rename from office/.local/bin/neomutt-syncmail rename to office/.local/bin/mail-sync diff --git a/office/README.md b/office/README.md index 44c70a7..725c646 100644 --- a/office/README.md +++ b/office/README.md @@ -1,6 +1,6 @@ # office module -neomutt - terminal mail client +aerc - terminal mail client [mbsync](https://isync.sourceforge.io/mbsync.html) - mirror your Imapped mail directory locally with two-way synchronization [notmuch](https://notmuchmail.org/) - index and search your mail msmtp - send mail through shell commands @@ -16,11 +16,11 @@ Take care that most of the credential/account setup of course is highly specific ## mail The current mail setup uses `mbsync` (from the isync project) to locally mirror the GMail imap folder. -It is run through a `neomutt-syncmail` script which can invoke pre- and post-sync hooks +It is run through a `mail-sync` script which can invoke pre- and post-sync hooks (e.g. run your incoming mail through filters as soon as they arrive or ingest them into full-text search engines).[^1] The sync script also automatically unlocks any pass directory so that credentials can be put into their respective applications and the directory closes again after use. -`msmtp` is used for mail sending by neomutt (and git if using git send-email). -`neomutt` then picks up the mail directory filled by `mbsync` and lets you browse it, respond to mail or create new ones. +`msmtp` is used for mail sending by aerc (and git if using git send-email). +`aerc` then picks up the mail directory filled by `mbsync` and lets you browse it, respond to mail or create new ones. [^1]: That being said, the script is a little dusty and could probably use a little overhaul. It *works* but could be more fantastic I feel.