Add email service #526
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/email"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 theemail-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).
WIP: Add email serviceto Add email serviceI 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.