NixOS / infra

NixOS configurations for nixos.org and its servers
MIT License
208 stars 91 forks source link

vaultwarden: smtp credentials invalid #430

Closed mweinelt closed 3 weeks ago

mweinelt commented 1 month ago

Affected service vault.nixos.org

Describe the issue When inviting a user an error appears, that says SMTP authentication failed. An invitation is therefore never sent.

System information [2024-05-23 07:28:30.393][vaultwarden::mail][ERROR] SMTP 5xx error: permanent error (535): 5.7.8 Error: authentication failed: - Authentication credentials invalid

zimbatm commented 1 month ago

The issue is that Gandi stopped providing that service.

Let's use a local mailer like the NixOS wiki?

zimbatm commented 1 month ago

We discuss this during the infra meeting. The easiest would be to use the same technique as the wiki: https://github.com/NixOS/nixos-wiki-infra/blob/main/modules/postfix.nix