office: Rename mail module to office module

Reflecting the somewhat expanding scope of the module, renamed it to
office. Still keeps the old files and setups but also got a new README
file.
This commit is contained in:
Marty Oehme 2022-12-06 17:55:47 +01:00
parent 593628b81d
commit 03684ce29f
Signed by: Marty
GPG Key ID: 73BA40D5AFAF49C9
27 changed files with 28 additions and 15 deletions

View File

@ -56,6 +56,7 @@ Enjoy!
* [`pass`](pass/README.md) - Password management suite
* [`bibtex`](bibtex/README.md) - LateX/BibteX/pandoc plaintext writing & reference suite
* [`git`](git/README.md) - distributed version control system.
* [`office`](office/README.md) - office/productivity software for writing e-mail and setting appointments
## Notes

View File

@ -1,15 +0,0 @@
# e-mail module
[aerc](https://aerc-mail.org/) - terminal mail client
[isync](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
The current mail setup uses `mbsync` (from the isync project) to locally mirror the GMail imap folder.
It, as of now, needs to be manually run by invoking `mbsync gmail` -- which expects your username and password to reside in a [`pass`](/pass) accessible file called `misc/aerc-gmail-app-password`.
In other words --- this is very specific to my setup and if transferring the options, please customize to your needs.
Then, `notmuch` can be run on the local maildir to generate and indexed full-text search engine.
Right now, `notmuch` can only be used through its cli, it is not yet connected to `aerc`.
`aerc` picks up the maildir created by `mbsync` in `~/documents/mail` and works on it.
`mbsync` syncs any changes made back to the remote imap directory.

27
office/README.md Normal file
View File

@ -0,0 +1,27 @@
# office module
neomutt - 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
imapfilter - rule-based filtering engine for your incoming mail
vdirsyncer - mirror your contacts and calendars locally with two-way synchronization
khal - terminal vdir-compatible calendar client
calcurse - a pretty terminal calendar client, but not very vdir compatible
Most of the credential/account setup of course is highly specific to my setup and should be changed as required.
The current mail setup uses `mbsync` (from the isync project) to locally mirror the GMail imap folder.
It is run through a `sync-mail` 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.
[^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.
For calendars and contacts, the wonderful `vdirsyncer` is used to sync everything from a remote Dav client (hard-coded to my server currently) to the local directories in documents.
This is then picked up by `khal` to allow you to browse and edit your events, and create new ones - all of which in turn ends up remotely.
You can also browse your events locally with `calcurse` which will import them on each startup, but will not sync back yet;
meaning, any changes you do through the application will not reflect themselves back on any of your other connected devices unfortunately.