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:
parent
1a7b0c4315
commit
475921375d
1 changed files with 19 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue