fix: stalwart new config format

This commit is contained in:
Patrick 2024-11-29 23:34:35 +01:00
parent 57454a768b
commit 27e1a7cc3f
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 1 additions and 6 deletions

View file

@ -205,17 +205,12 @@ in
enable = true;
settings =
let
case = field: check: value: data: {
"if" = field;
${check} = value;
"then" = data;
};
ifthen = field: data: {
"if" = field;
"then" = data;
};
otherwise = value: { "else" = value; };
is-smtp = case "listener" "eq" "smtp";
is-smtp = ifthen "listener = 'smtp'";
is-authenticated = data: {
"if" = "!is_empty(authenticated_as)";
"then" = data;

Binary file not shown.