Add another domain, fix the mailserver from being able to recieve
This commit is contained in:
parent
ac63821835
commit
47bf9a94cd
|
@ -7,7 +7,12 @@
|
|||
|
||||
mailserver = rec {
|
||||
enable = true;
|
||||
domains = [ "${config.secrets.jimDomain}" ];
|
||||
domains = [
|
||||
"${config.secrets.jimDomain}"
|
||||
"${config.secrets.jimDomain2}"
|
||||
"${config.secrets.lunaDomain}"
|
||||
"${config.secrets.cornDomain}"
|
||||
];
|
||||
fqdn = "mx.${config.secrets.jimDomain}";
|
||||
certificateScheme = "acme-nginx";
|
||||
localDnsResolver = false;
|
||||
|
@ -26,9 +31,15 @@
|
|||
hashedPasswordFile = pkgs.writeText "noreply" config.secrets.noreplyMailHash;
|
||||
sendOnly = true;
|
||||
};
|
||||
"jimbo@${config.secrets.jimDomain}" = {
|
||||
"jimbo@${config.secrets.jimDomain2}" = {
|
||||
hashedPasswordFile = pkgs.writeText "jimbo" config.secrets.jimboMailHash;
|
||||
aliases = [ "james@${config.secrets.jimDomain}" "contact@${config.secrets.jimDomain}" ];
|
||||
aliases = [
|
||||
"jimbo@${config.secrets.jimDomain}"
|
||||
"james@${config.secrets.jimDomain}"
|
||||
"james@${config.secrets.jimDomain2}"
|
||||
"contact@${config.secrets.jimDomain}"
|
||||
"contact@${config.secrets.jimDomain2}"
|
||||
];
|
||||
};
|
||||
"luna@${config.secrets.lunaDomain}" = {
|
||||
hashedPasswordFile = pkgs.writeText "luna" config.secrets.lunaMailHash;
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue