Skip to Content.
Sympa Menu

en - [sympa-users] Scenario for anti-spam, making sure it's right

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • 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.



Archive powered by MHonArc 2.6.19+.

Top of Page