2022-11-17 12:06:16 +00:00
|
|
|
{ config, ... }:
|
|
|
|
let secrets = config.services.secrets.secrets;
|
|
|
|
in {
|
|
|
|
config.mailserver = {
|
|
|
|
enable = true;
|
|
|
|
fqdn = "mail.owo.monster";
|
|
|
|
domains = [ "owo.monster" "kitteh.pw" ];
|
|
|
|
|
|
|
|
debug_mode = false;
|
|
|
|
|
|
|
|
accounts = {
|
|
|
|
"chaoticryptidz@owo.monster" = {
|
|
|
|
name = "chaoticryptidz@owo.monster";
|
|
|
|
passwordFile = "${secrets.chaos_mail_passwd.path}";
|
|
|
|
aliases = [
|
|
|
|
"all@owo.monster"
|
|
|
|
# for sending from
|
|
|
|
"chaos@owo.monster"
|
|
|
|
|
|
|
|
# TODO: legacy - to be deprecated by 2023-01-01
|
|
|
|
"kitteh@owo.monster"
|
|
|
|
"kitteh@kitteh.pw"
|
|
|
|
];
|
|
|
|
sieveScript = null;
|
|
|
|
};
|
2022-11-23 15:58:12 +00:00
|
|
|
"misskey@owo.monster" = {
|
|
|
|
name = "misskey@owo.monster";
|
|
|
|
passwordFile = "${secrets.misskey_mail_passwd.path}";
|
|
|
|
aliases = [];
|
|
|
|
sieveScript = null;
|
|
|
|
};
|
2022-11-24 13:29:48 +00:00
|
|
|
"system@owo.monster" = {
|
|
|
|
name = "system@owo.monster";
|
|
|
|
passwordFile = "${secrets.system_mail_passwd.path}";
|
|
|
|
aliases = [];
|
|
|
|
sieveScript = null;
|
|
|
|
};
|
2022-11-17 12:06:16 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|