Skip to Content.
Sympa Menu

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

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Scenario for anti-spam, making sure it's right
  • Date: Wed, 16 Nov 2005 09:20:53 +0100

If you wish to include the anti-spam rule ion all 'send' scenario, then you should add this rule in a 'include.send.header' file at the site level (/home/sympa/etc/scenari/), as explained here : http://www.sympa.org/doc/html/node13.html#SECTION001330000000000000000

address@concealed wrote:

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.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page