mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(network): rename domain_dotless to uqdn
This commit is contained in:
parent
4b2ffe160d
commit
d38f578630
4 changed files with 6 additions and 6 deletions
|
|
@ -175,7 +175,7 @@
|
|||
type = nullOr str;
|
||||
default = "kittywit.ch.";
|
||||
};
|
||||
domain_dotless = mkOption {
|
||||
uqdn = mkOption {
|
||||
type = nullOr str;
|
||||
default = lib.removeSuffix "." config.target;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ in
|
|||
}
|
||||
protocol lmtp {
|
||||
postmaster_address=postmaster@kittywit.ch
|
||||
hostname=${config.networks.internet.domain_dotless}
|
||||
hostname=${config.networks.internet.uqdn}
|
||||
mail_plugins = $mail_plugins sieve
|
||||
}
|
||||
service auth {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
publicCert = "daiyousei.kittywit.ch";
|
||||
|
||||
ldaps = "ldaps://auth.${config.networks.internet.domain_dotless}:636";
|
||||
ldaps = "ldaps://auth.${config.networks.internet.uqdn}:636";
|
||||
|
||||
virtualRegex = pkgs.writeText "virtual-regex" ''
|
||||
/^kat\.[^@.]+@kittywit\.ch$/ kat@kittywit.ch
|
||||
|
|
@ -90,7 +90,7 @@ in {
|
|||
services.postfix = {
|
||||
enable = true;
|
||||
enableSubmission = true;
|
||||
hostname = config.networks.internet.domain_dotless;
|
||||
hostname = config.networks.internet.uqdn;
|
||||
domain = "kittywit.ch";
|
||||
|
||||
masterConfig."465" = {
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@
|
|||
SOGoMailingMechanism = "smtp";
|
||||
SOGoForceExternalLoginWithEmail = YES;
|
||||
SOGoSMTPAuthenticationType = PLAIN;
|
||||
SOGoSMTPServer = "smtps://${config.networks.internet.domain_dotless}:465";
|
||||
SOGoIMAPServer = "imaps://${config.networks.internet.domain_dotless}:993";
|
||||
SOGoSMTPServer = "smtps://${config.networks.internet.uqdn}:465";
|
||||
SOGoIMAPServer = "imaps://${config.networks.internet.uqdn}:993";
|
||||
SOGoUserSources = (
|
||||
{
|
||||
type = ldap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue