[Mailman-Users] Utilizing SpamAssassin w/ MailMan (repost)

2004-03-29 Thread Chris Barnes
This is a repost, but judging by the lack of responses, I think it might
be good to ask again.  Is there a way to utilize SpamAssassin running on
the same box as Mailman?

By that, I mean SA is already running, so all email coming in will be
scored by SA for its 'spamminess'.

Is there a way to get MM to place those messages with a Spam=Yes score
on hold until the list owner can review the message on an otherwise
unmoderated list?  I want this for ALL lists (a global setting).


--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes AOL IM: CNBarnes
[EMAIL PROTECTED]  Yahoo IM: chrisnbarnes
Computer Systems Manager ph: 979-845-7801
Department of Physics   fax: 979-845-2590
Texas AM University




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] Utilizing SpamAssassin w/ MailMan (repost)

2004-03-29 Thread Jamie L. Penman-Smithson
Hey Chris,

On Mon, 2004-03-29 at 19:07, Chris Barnes wrote:
 This is a repost, but judging by the lack of responses, I think it might
 be good to ask again.  Is there a way to utilize SpamAssassin running on
 the same box as Mailman?
 
 By that, I mean SA is already running, so all email coming in will be
 scored by SA for its 'spamminess'.
 
 Is there a way to get MM to place those messages with a Spam=Yes score
 on hold until the list owner can review the message on an otherwise
 unmoderated list?  I want this for ALL lists (a global setting).

There was discussion of a plugin which integrated Mailman and SA at
http://zgp.org/linux-elitists/[EMAIL PROTECTED]
but that was for Mailman 2.0 - I don't know whether such a plugin still
exits.

IMO content filtering should be taken care of before it gets to Mailman,
e.g. by MailScanner, or AMaViS - they integrate SA and virus scanning. 

Personally I block, forward, and auto-learn spam above 10 or so points,
which takes the load of Mailma, but you may not be comfortable doing
this. 

If you want Mailman to filter for SA's headers you can use the
header_filter_rules option under Privacy Options to filter for that
particular header.

You can defer, hold, reject, discard, or accept based on this regexp.
Something like this *MAY* work, although my understanding of regular
expressions is full of holes at best:

/^X-Spam-Status: Yes*/

As I said - I don't know if that'll work, so someone who is more
familiar with regexp's will hopefully put me right if need be. Also, I
use AMaViS, so your headers may differ - as usual, YMMV.

You could do it the other way round, and only accept messages with
X-Spam-Status: No, or you could put messages SA thinks are spammy on
hold and check them over yourself.

HTH

-- 
-jamie [EMAIL PROTECTED] | spamtrap: [EMAIL PROTECTED]
 w: http://www.silverdream.org | p: [EMAIL PROTECTED]
 pgp key @ http://silverdream.org/~jps/pub.key
 20:30:01 up 1 day, 22:36,  3 users,  load average: 0.69, 0.61, 0.44


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/