-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simple-nixos-mailserver to umbriel #495
Conversation
fe4515d
to
35d2f05
Compare
non-critical-infra/hosts/umbriel.nixos.org/mailserver/default.nix
Outdated
Show resolved
Hide resolved
non-critical-infra/hosts/umbriel.nixos.org/mailserver/default.nix
Outdated
Show resolved
Hide resolved
35d2f05
to
5b29fd6
Compare
I think we only need to provide SMTP logins in special circumstances i.e. for the people that do the vote. Otherwise people can respond with their own email address for transparency reasons and use the alias in cc in case there are multiple people. |
For the sops integration, we should have an ad-hoc sops script that creates one file per recipient. Reason is that the contributor won't have access to anything but the public keys of the admin team and our server. This way they can encrypt but not decrypt. |
All I did here was: - Add `ruff-format` - Run `nix fmt` - Remove `black` stuff from `hydra-packet-importer/` Why? I'm going to add a helper script to NixOS#495 (comment), and I'd like to write it in Python and have autoformatting.
5b29fd6
to
bce451a
Compare
I've added a new |
7775cfc
to
e6c0def
Compare
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
e6c0def
to
f971591
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback!
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Show resolved
Hide resolved
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
f971591
to
d18c700
Compare
0acd302
to
f670f7b
Compare
(I chatted with @Mic92 at the infra meeting) I'm deploying this to umbriel now. |
f670f7b
to
e18d4c4
Compare
@Mic92, this PR is updated with the DKIM TXT record. I've also added a README to umbriel explaining that this will need to be updated if we reprovision the machine from scratch. |
e18d4c4
to
10a60a4
Compare
EDIT: Sorry, I didn't realize this was a future TODO as noted in the original issue:
👍 |
non-critical-infra/packages/encrypt-email-address/encrypt-email-address.py
Outdated
Show resolved
Hide resolved
@jfly I applied your terraform changes. Let me know when this is good to merge. |
I just deployed `simple-nixos-mailserver` to `umbriel`, so we now have a DKIM signature. I'm following the instructions on <https://nixos-mailserver.readthedocs.io/en/latest/setup-guide.html#set-dkim-signature>.
3707c36
to
775b77d
Compare
Any reason this was just merged after #505 was opened? |
We wanted to get this merged because the ruff linter changes felt conflict-prone: 8e5be86. |
@mweinelt I didn't wanted the diff get too large. And given this service is just running on mail-test.nixos.org, the issue mentioned doesn't have any real-world impact on us. |
This is part 1 of #485