Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Scenario for anti-spam, making sure it's right
- From: address@concealed
- To: address@concealed
- Subject: [sympa-users] Scenario for anti-spam, making sure it's right
- Date: Tue, 15 Nov 2005 20:03:58 +0100
We have a mail gateway that is our primary spam filter. It runs MailScanner
with SpamAssassin. It marks all messages it considers spam by placing
"{Spam?}"
in the subject line and adds the entry "X-nami-MailScanner-SpamCheck: spam" to
the header. This header entry is not added if the gateway thinks the message
is
"ham". Mail must always pass through this gateway before the sympa server sees
it.
I want to create a send scenario that will allow members to post to a list and
non-members to be moderated, WITH THE EXCEPTION that any message the gateway
considers spam gets rejected outright. I based my new scenario off
send.privateoreditorkey. Here's what I've created so far:
FILENAME: send.privateoreditorkeynospam
CONTENTS:
title.gettext Private, moderated for non subscribers, rejects messages marked
{Spam?}
is_subscriber([listname],[sender]) smtp,smime,md5 -> do_it
is_editor([listname],[sender]) smtp,smime,md5 -> do_it
match([header->X-nami-MailScanner-SpamCheck],/yes/) smtp -> reject
true() smtp,smime,md5 -> editorkey
Is this correct? Apologies for the proofread question, I'm still a little hazy
on just how many options the scenari scheme gives me.
-
[sympa-users] Scenario for anti-spam, making sure it's right,
scott, 11/15/2005
- Re: [sympa-users] Scenario for anti-spam, making sure it's right, Aumont - Comite Reseaux des Universites, 11/16/2005
- Re: [sympa-users] Scenario for anti-spam, making sure it's right, Olivier Salaün - CRU, 11/16/2005
Archive powered by MHonArc 2.6.19+.