email: add posteo.de email account flavor

Add `posteo.de` to `accounts.email.accounts.<name>.flavor`. See
<https://posteo.de/en/help/how-do-i-set-up-posteo-in-an-email-client-pop3-imap-and-smtp>
for their setup guide.
This commit is contained in:
nescias 2026-01-30 17:20:48 +00:00 committed by Robert Helgesson
parent 1a7b0c4315
commit 475921375d
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -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";