> -----Original Message-----
> From: John Weissberg [mailto:[EMAIL PROTECTED]]
> Sent: 17 January 2002 07:35
> To: Tony Hoyle
> Cc: [EMAIL PROTECTED]
> Subject: Re: [SAtalk] Postfix set-up
> 
> 
> Sorry to be such a newbie but... I have no idea what the 
> spamfilter file should
> look like. Can you supply a simple one? All I want to do is 
> re-label spam files
> with the "***SPAM***" message so that my mail users can 
> easily identify and/or
> delete them. SA does not need, at this point, to segregate 
> spam messages into a
> special mail account.

Spamassassin already puts the ***SPAM*** bit in for you, so:

#!/bin/bash
spamc -f | /usr/sbin/sendmail -i $2

Should be OK for you.

My own filter script is pretty similar, except there's an extra stuff that
catches spam
and resends it to the spamtrap user, then pipes the result to amavis.

(Looking at spamproxyd reminds me I *must* get a new camel book.  Mine is
from perl 5.0
and has none of the perl 5.5/6.0 stuff in it like classes and structures and
CPAN).

Tony




_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to