Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] trying to get anti-spam rule working
- From: Miles Fidelman <address@concealed>
- To: address@concealed
- Subject: [sympa-users] trying to get anti-spam rule working
- Date: Wed, 06 Sep 2006 00:54:42 -0400
Hi,
I've been trying to get this working from the FAQs (HOWTO/How to moderate/reject suspected Spam messages ?)"
-----
For the send action, the scenario header file will be include.send.header, here is an example that moderates presumed spam messages :
is_subscriber(blacklist,[sender]) smtp,md5,smime -> reject
match([header->X-Spam-Flag],/yes/) smtp -> request_auth
If the message sender is subscribed to our blacklist his message will be rejected. If the message was considered as Spam by SpamAssassin (X-Spam-Flag: yes) Sympa will request a mail confirmation (request_auth) from the sender.
------
I seem to be running into several problems, and I'm wondering if a) I'm doing something wrong, or b) this no longer works in later revs of Sympa:
1. Where do I put the "include.send.header?" I've been trying it as /home/sympa/expl/<testlist>/scenari/include.send.header, but even after restarting sympa it seems to be ignored.
Am I correct that this should be read before whatever send.* scenario I select for the list (either from the default set or one that's overloaded by a local definition)?
Am I correct that if I put include.send.header in /home/sympa/etc/ then it will apply to the send.scenarios selected for all lists?
Note: I can't find any reference to "include.send.header" in any of the documentation, which leads me to wonder if this is no longer functional.
2. The syntax in the FAQ - match([header->X-Spam-Flag],/yes/) - doesn't seem quite right. I'm wondering if it should be:
match([msg_header->X-Spam-Flag],/YES/)
3. I'm trying to work out the logic here. I particularly want to apply this to a list I'm using as a "drop box" for submissions to a publication - i.e., anybody can send to the list, which distributes things to an internal set of editors. But I'd like to apply spam filters.
If I just add the above rules, the seem to conflict with the basic definition of a public list:
true() smtp,smime,md5 -> do_it
Any thoughts on how to do the following:
- if X-Spam-Flag = YES - request_auth (and if autherisation is recieved, then distribute)
- if X-Spam-Flat not exist, or = NO -> do_it
Thanks much,
Miles
- [sympa-users] trying to get anti-spam rule working, Miles Fidelman, 09/06/2006
Archive powered by MHonArc 2.6.19+.