From 475921375def3eb930e1f8883f619ff8609accb6 Mon Sep 17 00:00:00 2001 From: nescias Date: Fri, 30 Jan 2026 17:20:48 +0000 Subject: [PATCH] email: add `posteo.de` email account flavor Add `posteo.de` to `accounts.email.accounts..flavor`. See for their setup guide. --- modules/accounts/email.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/modules/accounts/email.nix b/modules/accounts/email.nix index e3f6f044..289afb2a 100644 --- a/modules/accounts/email.nix +++ b/modules/accounts/email.nix @@ -372,6 +372,7 @@ let "migadu.com" "outlook.office365.com" "plain" + "posteo.de" "runbox.com" "yandex.com" ]; @@ -619,6 +620,24 @@ let }; }) + ( + let + tls.enable = true; + host = "posteo.de"; + in + mkIf ("posteo.de" == config.flavor) { + userName = mkDefault config.address; + imap = { + inherit host tls; + port = 993; + }; + smtp = { + inherit host tls; + port = 465; + }; + } + ) + (mkIf (config.flavor == "runbox.com") { imap = { host = "mail.runbox.com";