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:
parent
b5a1560970
commit
40a0d45d6c
4 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue