Custom domains for email (MVP)
Description
We'd like some users to be able to send/receive emails from their own domains. This ticket covers an MVP, in which the process is manual - this should be fine for now and we can refine it as we go on.
Currently, there are instructions on how to do this here, however the main issue is that we are using the same DKIM key for all domains, which is bad.
We want to be able to easily generate DKIM keys for each domain, and update the instructions to reflect this. The current test domain schlatt.gay
can be used if you need something to test on.
Finally, before we start offering this generally, we should ensure we are scanning for outbound spam, so that our users can't mess up our reputation.
Resources
- OpenDKIM docs - it might be better to sign with rspamd instead?
- Relevant Nix Configs
- Rspamd docs on outbound spam scanning
Edited by Aria Shrimpton