diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-28 11:46:02 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-28 11:47:11 +0100 |
commit | 77a167846ee380a629abf77037b7f428f22a4e68 (patch) | |
tree | 48e3119c76173d2503d3db2312275dc8b310372a /conf/composites.conf | |
parent | febbfb6c70f69029376bdfae4ace88becba99e67 (diff) | |
download | rspamd-77a167846ee380a629abf77037b7f428f22a4e68.tar.gz rspamd-77a167846ee380a629abf77037b7f428f22a4e68.zip |
[Conf] Modernize composites config
Diffstat (limited to 'conf/composites.conf')
-rw-r--r-- | conf/composites.conf | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/conf/composites.conf b/conf/composites.conf index b3372a997..5125de45c 100644 --- a/conf/composites.conf +++ b/conf/composites.conf @@ -14,28 +14,22 @@ # # See https://rspamd.com/doc/tutorials/writing_rules.html for details -composite { - name = "FORGED_RECIPIENTS_MAILLIST"; +composite "FORGED_RECIPIENTS_MAILLIST" { expression = "FORGED_RECIPIENTS & -MAILLIST"; } -composite { - name = "FORGED_SENDER_MAILLIST"; +composite "FORGED_SENDER_MAILLIST" { expression = "FORGED_SENDER & -MAILLIST"; } -composite { - name = "FORGED_SENDER_FORWARDING"; +composite "FORGED_SENDER_FORWARDING" { expression = "FORGED_SENDER & g:forwarding"; } -composite { - name = "FORGED_SENDER_VERP_SRS"; +composite "FORGED_SENDER_VERP_SRS" { expression = "FORGED_SENDER & (ENVFROM_PRVS | ENVFROM_VERP)"; } -composite { - name = "FORGED_MUA_MAILLIST"; +composite "FORGED_MUA_MAILLIST" { expression = "g:mua and -MAILLIST"; } -composite { - name = "RBL_SPAMHAUS_XBL_ANY"; +composite "RBL_SPAMHAUS_XBL_ANY" { expression = "(-RBL_SPAMHAUS_XBL | -RBL_SPAMHAUS_XBL1 | -RBL_SPAMHAUS_XBL2 | -RBL_SPAMHAUS_XBL3) & RECEIVED_SPAMHAUS_XBL"; } |