update mail to nixos mailserver 25.11
This commit is contained in:
parent
afa380060b
commit
7f0c0483c4
2 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
|
||||
description = "A very basic flake";
|
||||
description = "StuRa HTWD NixOS Configurations";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
url = "github:nix-community/authentik-nix";
|
||||
};
|
||||
mailserver = {
|
||||
url = "git+https://gitlab.com/simple-nixos-mailserver/nixos-mailserver?ref=nixos-25.05";
|
||||
url = "git+https://gitlab.com/simple-nixos-mailserver/nixos-mailserver?ref=nixos-25.11";
|
||||
};
|
||||
sops = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
|
|
|
|||
|
|
@ -88,7 +88,8 @@ in
|
|||
ldap = {
|
||||
enable = true;
|
||||
bind = {
|
||||
dn = "cn=dovecot,ou=users,DC=test,DC=htw,DC=stura-dresden,DC=de";
|
||||
# dn = "cn=dovecot,ou=users,DC=test,DC=htw,DC=stura-dresden,DC=de";
|
||||
dn = "cn=ldapuser,ou=users,dc=ldap,dc=goauthentik,dc=io";
|
||||
passwordFile = "/var/lib/dovecot_ldap_passwd";
|
||||
};
|
||||
dovecot = {
|
||||
|
|
@ -101,7 +102,8 @@ in
|
|||
mailAttribute = "mail";
|
||||
uidAttribute = "cn";
|
||||
};
|
||||
searchBase = "DC=test,DC=htw,DC=stura-dresden,DC=de";
|
||||
#searchBase = "DC=test,DC=htw,DC=stura-dresden,DC=de";
|
||||
searchBase = "DC=ldap,DC=goauthentik,DC=io";
|
||||
uris = [
|
||||
"ldap://auth.test.htw.stura-dresden.de:3389"
|
||||
];
|
||||
|
|
@ -136,6 +138,7 @@ in
|
|||
maxConnectionsPerUser = 10;
|
||||
messageSizeLimit = 10 * 1000 * 1024; # 10 MiB
|
||||
|
||||
stateVersion = 3;
|
||||
};
|
||||
|
||||
# services.dovecot2.mailLocation = lib.mkForce "maildir:/var/vmail/%n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue