From 8257b1fbbc478aed8dd56f6012b56111b86fee32 Mon Sep 17 00:00:00 2001 From: Fabian Franz BSc Date: Sun, 6 Jan 2019 20:30:17 +0100 Subject: [PATCH] mail/rspamd: fix model (missing properties), constraint bugs (#1120) * mail/rspamd: fix model (missing properties), constaint bugs --- .../mvc/app/models/OPNsense/Rspamd/RSpamd.xml | 54 ++++++++++++++++++- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/mail/rspamd/src/opnsense/mvc/app/models/OPNsense/Rspamd/RSpamd.xml b/mail/rspamd/src/opnsense/mvc/app/models/OPNsense/Rspamd/RSpamd.xml index 9c7cecb46..b7bf37112 100644 --- a/mail/rspamd/src/opnsense/mvc/app/models/OPNsense/Rspamd/RSpamd.xml +++ b/mail/rspamd/src/opnsense/mvc/app/models/OPNsense/Rspamd/RSpamd.xml @@ -17,10 +17,35 @@ 999 - This field must be bigger than the header score. + This field must be bigger than the subject score. + ComparedToFieldConstraint + subjectscore + gt + + + This field must be bigger than the reject score. ComparedToFieldConstraint headerscore gt + + + This field must be bigger than the greylist score. + ComparedToFieldConstraint + greylistscore + gt + + + + + N + 1 + 999 + + + This field must be lower than the subject score. + ComparedToFieldConstraint + subjectscore + lt This field must be lower than the reject score. @@ -35,7 +60,7 @@ gt - + N 1 @@ -61,6 +86,31 @@ + + N + 1 + 999 + + + This field must be bigger than the header score. + ComparedToFieldConstraint + headerscore + gt + + + This field must be lower than the reject score. + ComparedToFieldConstraint + rejectscore + lt + + + This field must be bigger than the subject score. + ComparedToFieldConstraint + greylistscore + gt + + + N