Subject: The mailing list for listmasters using Sympa
List archive
- From: Dick Visser <address@concealed>
- To: address@concealed
- Subject: [en@sympa] Scenario question
- Date: Wed, 29 Apr 2026 09:23:41 +0200
Hii
I'm owner of a few lists on a Sympa 6.2 list server. This server
receives its messages from a upstream system that runs rspamd. I'm
looking for a way to moderate suspected spam. To this end I have
created this custom scenario:
title.gettext Test scenario to moderate suspected spam
match([header->X-Foo][0],/test/) smtp,dkim,md5,smime -> editorkey,quiet
equal([msg->spam_status],'spam') smtp,dkim,md5,smime -> editorkey,quiet
true() smtp,dkim,md5,smime -> do_it
This works, but not always. For example, a message with these headers
was not moderated, but sent to the list:
X-Spam: Yes
X-Spam-Status: Yes, score=0.00
A few questions:
* Is the above expected?
* The message->spam_status appears to be some sort of aggregated
check, where can I find what exactly this is doing? On what
headers/values/regexes/etc it works.
* Is there a better way to do what I want? Perhaps a precooked scenario?
* Suppose I tweaked my scenario file enough that I want to make it
available globally, for all our lists. Where do I put it?
thx!!
Dick Visser
GÉANT
- [en@sympa] Scenario question, Dick Visser, 04/29/2026
Archive powered by MHonArc 2.6.19+.