Add a page about email
All checks were successful
/ build (push) Successful in 4m16s

This commit is contained in:
Chris Cowley 2024-11-02 18:20:20 +01:00
parent 1e0d6d341c
commit cba89464ff
2 changed files with 39 additions and 0 deletions

36
docs/email.md Normal file
View file

@ -0,0 +1,36 @@
# Email
All email is stored on a GCP instance, which runs Postfix and Dovecot.
This host receives all email for both `chriscowley.me.uk` and `cowley.tech`, but does not forward/send them.
!!! note "Why not send through this host?"
First, GCP block outgoing SMTP connections on several ports. Second, email forwarding is based on reputation and I can't be bothered to deal with it.
For a long time I used [Mailjet](https://app.mailjet.com) for sending emails, but then switch to [SMTP2Go](https://smtp2go.com) because it allows more key/secret pairs. These need to be configured on the clients (Thunderbird, Evolution, phone, whatever).
## TLS Certificates
Managed using LetsEncrypt using a really simple script:
```bash
/root/renew_certs.sh
```
It runs daily to renew all certs on that host
## Backup
Backups use [Restic](https://restic.readthedocs.io/en/stable/) and are stored in Backblaze B2. The bucket is called `instance2-backup`.
There are 2 scripts for the backups:
```bash
/usr/local/bin/clean-backup
/usr/local/bin/run-backup
```
The backup is run every day and the clean up runs once a week.

View file

@ -63,6 +63,9 @@ plugins:
- social
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- footnotes
- pymdownx.superfences:
custom_fences: