41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{ 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;
|
|
};
|
|
"misskey@owo.monster" = {
|
|
name = "misskey@owo.monster";
|
|
passwordFile = "${secrets.misskey_mail_passwd.path}";
|
|
aliases = [];
|
|
sieveScript = null;
|
|
};
|
|
"system@owo.monster" = {
|
|
name = "system@owo.monster";
|
|
passwordFile = "${secrets.system_mail_passwd.path}";
|
|
aliases = [];
|
|
sieveScript = null;
|
|
};
|
|
};
|
|
};
|
|
}
|