Open jfly opened 1 month ago
I just want to make awareness that you probably need to write a mail to t-online and outlook (none 356) to whitelist your IP otherwise mails cannot be delivered.
After the leak of the existing email mappings I would be interested in discussing the privacy aspect of the email mappings. What other organization publishes those? The current set of addresses were not given to us by its recipients with the intent to make them public.
I just want to make awareness that you probably need to write a mail to t-online and outlook (none 356) to whitelist your IP otherwise mails cannot be delivered.
I hear you on this. I've never run a mailserver before, and honestly have no idea what our deliverability is going to be like. I believe the current set of emails is quite tiny, and may not even include any t-online or outlook. My personal opinion on this is that we should make sure we've solved the monitoring story: if we get notified for email stuck in queues, then we can tackle these allowlists as necessary, or we can give up and pay someone to handle this for us.
After the leak of the email mappings I would be interested in discussing the privacy aspect of the email mappings.
Sorry about that. I asked one person about this, but should have talked to more people before posting.
Ideas:
I just want to make awareness that you probably need to write a mail to t-online and outlook (none 356) to whitelist your IP otherwise mails cannot be delivered.
For T-Online at least this is just one email after setting up reverse DNS and everything up correctly.
Overall I also don't expect the NixOS foundation to have to handle large volume of email. The vote was the first time, we had to do this actually.
- We could encrypt the email addresses. This would be hard to code review.
- We could seek consent from all the relevant people. I don't know how hard this would be. I don't have the list anymore, but it didn't seem like an insurmountable number.
- Do this behind some self-hosted (or paid) webapp with a login. That's basically what we do today with ImprovMX.
@zimbatm started to ask existing users of email addresses about that.
I hear you on this. I've never run a mailserver before, and honestly have no idea what our deliverability is going to be like. I believe the current set of emails is quite tiny, and may not even include any t-online or outlook. My personal opinion on this is that we should make sure we've solved the monitoring story: if we get notified for email stuck in queues, then we can tackle these allowlists as necessary, or we can give up and pay someone to handle this for us.
Some DMARC and reading the mail logs in case there are delivery problems. I didn't had any big issues with emails for the NixOS wiki and that looks more like bulk messages compared to what I expect to be sent from nixos.org.
@jfly Is it possible to move the email addresses into sops-encoded secrets, or is this part only configurable with plain Nix code?
For T-Online at least this is just one email after setting up reverse DNS and everything up correctly.
And you need to have a proper imprint on the TLD of the rDNS entry and contact means via I think telephone and e-mail that is not going over the mail server.
I have recently done it and it took me a few back and forths but it is doable.
@jfly Is it possible to move the email addresses into sops-encoded secrets, or is this part only configurable with plain Nix code?
It currently requires plain Nix code:
services.postfix.virtual
.services.postfix.config
. This code is setting Postfix's virtual_alias_maps
setting.Adding support for encrypted emails seems like it might actually not be too hard:
virtual_alias_maps
(currently it supports exactly 0 or 1), and then we could add a new entry to that array to point at a virtual alias map generated with a sops-nix template.
virtual_alias_maps
get this special escape hatch but not other maps like alias_maps
?"postmap
to "compile" these mappings, but I think the existing services.postfix.mapFiles
option is flexible enough to do this for us without changes.tl;dr:
We currently use ImprovMX to handle mail sent to
@nixos.org
(see relevant dns entries).infra@
,marketing@
, etc). Today, nobody sends mail from@nixos.org
, and nobody has any inboxes.The plan
A few weeks ago, @Mic92 asked me to look into self hosting this instead. He recommended Simple NixOS Mailserver (SNM). I've played with it a bit, and it does seem like a good fit here.
mailserver.loginAccounts
empty, and disable pop/imap.mailserver.forwards
listsWithSecretFiles
is up to dateumbriel.nixos.org
.Open questions/TBD:
pluto
. Dumping some links from our discussion:probe_ssl_earliest_cert_expiry
Alternatives considered