mail: Rename mail synchronization script to mail-sync

Since we do not use neomutt anymore. Additionally, perhaps a 'mail-'
prefixed system is better for scripts etc which run independent of a
specific MUA.
This commit is contained in:
Marty Oehme 2025-09-24 08:30:15 +02:00
parent b5a1560970
commit 40a0d45d6c
Signed by: Marty
GPG key ID: 4E535BC19C61886E
4 changed files with 6 additions and 7 deletions

View file

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