Subject: The mailing list for listmasters using Sympa
List archive
- From: Terry McLaren <address@concealed>
- To: address@concealed
- Subject: Re: [en@sympa] Forwarding spam to moderators
- Date: Mon, 11 Dec 2023 12:39:49 -0600
digging a bit deeper it looks like you can key on a simple header tag:
match([header->X-Spam],/Yes/) smtp,dkim,smime,md5 -> editorkey,quiet
Add this to your send scenario above the true() statement and if the header tag x-spam is yes, it should get routed to the moderators before the subscriber group.
Hope this helps,
Terry McLaren
On Sun, Dec 10, 2023 at 3:43 AM Carsten Aulbert <address@concealed> wrote:
Hi all,
sorry for this seemingly stupid question but I'm a bit lost as I don't
find much about this in the documentation (or looked at the wrong places).
I've got a mail server with spam detection running which forwards emails
to sympa (currently at 6.2.60 - Debian bullseye). The headers already
contain very clear indications that this email is spam:
X-Spam-Status: No, score=31.96
X-Spam-Level: *********
X-Spamd-Bar: +++++++++
X-Spam: Yes
But how do I change the list config to forward those to the moderator(s)?
I found a few issues on github discussing this (from 2020) but I'm not
even sure if I only need to enable "spam_status" in sympa.conf or
whether this is just "sugar" on top?
https://github.com/sympa-community/sympa/issues/849 talks about custom
matches and
"
match([msg->spam_status], /spam/) smtp,dkim,md5,smime ->
editorkey,quiet
"
looks like something which ought to work for me, but how do I configure
it setting spam if the score is larger than say 4.0?
Sorry for this probably rookie question, I thought I understood sympa
better after all these years ;-).
Cheers and thanks a lot in advance
Carsten
-
[en@sympa] Forwarding spam to moderators,
Carsten Aulbert, 12/10/2023
- Re: [en@sympa] Forwarding spam to moderators, Terry McLaren, 12/11/2023
-
Re: [en@sympa] Forwarding spam to moderators,
Terry McLaren, 12/11/2023
- Re: [en@sympa] Forwarding spam to moderators, Olivier Salaün, 12/12/2023
Archive powered by MHonArc 2.6.19+.