This SHOULD WORK damn it

This commit is contained in:
niten 2023-10-01 08:45:31 -07:00
parent f1b38d7524
commit 8efe768dae
3 changed files with 4 additions and 2 deletions

View File

@ -357,7 +357,6 @@ in {
passdb {
driver = ldap
args = ${cfg.ldap-conf}
pass_attrs = cn=user
}
# All users map to one actual system user

View File

@ -211,6 +211,8 @@ in {
"base = ${cfg.ldap.base}"
"user_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_attrs = =user=%{ldap:cn}"
"user_attrs = =user=%{ldap:cn}"
]);
target-file = "/run/dovecot-secret/ldap.conf";
};

View File

@ -155,6 +155,7 @@ in {
}
'';
# SURBL checks URLs in emails against known-bad urls
"rbl.conf".text = ''
surbl {
rules {
@ -172,7 +173,7 @@ in {
PH_SURBL_MULTI = 8;
SURBL_BLOCKED = 1;
}
}
}
"URIBL_MULTI" {
ignore_defaults = true; # for compatibility with old defaults