Add email service #526

Merged
raucao merged 30 commits from feature/email into master 2024-01-10 12:09:22 +00:00
Owner

See https://community.kosmos.org/t/new-service-e-mail-forwarding/71/7 first.

This is setting up Postfix and Dovecot for running mail.kosmos.org on the email-1 VM, behind HAProxy. It's only the basic setup, without additional milters and such, but works well for the initial accounts so far. More PRs to follow for more features.

Currently, traffic is only routed through Draco's first IP. I changed the default gateway for the ZeroTier network to that IP address and manually allowed forwarding for it on Draco, so that sent emails always originate from the one publicly advertised in the MX and respective A record. Only ZeroTier nodes that allow default route overrides will route outgoing traffic through it (see docs).

See https://community.kosmos.org/t/new-service-e-mail-forwarding/71/7 first. This is setting up Postfix and Dovecot for running `mail.kosmos.org` on the `email-1` VM, behind HAProxy. It's only the basic setup, without additional milters and such, but works well for the initial accounts so far. More PRs to follow for more features. Currently, traffic is only routed through Draco's first IP. I changed the default gateway for the ZeroTier network to that IP address and manually allowed forwarding for it on Draco, so that sent emails always originate from the one publicly advertised in the MX and respective A record. Only ZeroTier nodes that allow default route overrides will route outgoing traffic through it (see [docs](https://zerotier.atlassian.net/wiki/spaces/SD/pages/7110693/Overriding+Default+Route+Full+Tunnel+Mode)).
raucao added 2 commits 2023-12-01 08:57:55 +00:00
raucao added 7 commits 2023-12-01 09:02:46 +00:00
raucao added 1 commit 2023-12-01 11:19:38 +00:00
raucao added 1 commit 2023-12-03 17:29:57 +00:00
raucao added 2 commits 2023-12-03 17:32:12 +00:00
raucao added 2 commits 2023-12-03 17:33:23 +00:00
raucao changed title from WIP: Add email service to Add email service 2023-12-03 17:43:53 +00:00
raucao added the
kredits-2
label 2023-12-03 17:43:59 +00:00
raucao added 1 commit 2023-12-04 12:33:56 +00:00
raucao added 2 commits 2023-12-04 12:42:38 +00:00
raucao added 2 commits 2023-12-05 17:37:53 +00:00
raucao added 3 commits 2023-12-06 11:28:16 +00:00
Scan incoming and outgoing email for spam. Use a local Unbound for DNS,
so we don't run into blocks for RBL queries.
Reviewed-on: #529
raucao added 1 commit 2023-12-07 08:37:54 +00:00
raucao added 2 commits 2023-12-13 12:06:46 +00:00
raucao added the
service
email
label 2023-12-17 14:23:16 +00:00
raucao added 1 commit 2024-01-08 07:47:41 +00:00
raucao added 1 commit 2024-01-08 08:30:21 +00:00
raucao added 1 commit 2024-01-08 08:35:18 +00:00
raucao added 1 commit 2024-01-09 12:57:20 +00:00
Author
Owner

I added a couple of commits to fix bootstrap runs on fresh VMs (vmail dir was not being created e.g.). I'm going to finally merge this now, in favor of smaller, separate PRs for any further improvements and new features.

I added a couple of commits to fix bootstrap runs on fresh VMs (vmail dir was not being created e.g.). I'm going to finally merge this now, in favor of smaller, separate PRs for any further improvements and new features.
raucao merged commit 24b22b8f91 into master 2024-01-10 12:09:22 +00:00
raucao deleted branch feature/email 2024-01-10 12:09:22 +00:00
Sign in to join this conversation.
No description provided.