On Tue, Apr 30, 2002 at 01:58:01PM -0700, Jeff Shepherd wrote:
> 
> I'm not a PERL programmer and not familiar with unix expressions, but 
> to show  I'm willing to do some footwork, I think I need to add 
> something like the following lines to 
> /usr/share/spamassassin/20_head_tests.cf
> 
> header HAS_UNSUB             List-Unsubscribe =~ /*/
> describe HAS_UNSUB           Has a List-Unsubscribe: line

Should be like:

List-Unsubscribe =~ /.*/

Note the dot. To make it case insensitive, use "/.*/i"

It is possible that it also works with anything: //

> P.S.  I suppose I also need to add to 50_scores.cf a line like
> 
> score HAS_UNSUB  -4.0

You might want to modify the files in the local definitions directory,
so they will not be overwritten during next rules update.

> P.P.P.S. I've got SpamAssassin installed as the system administrator 
> and accessible by the entire site.  I'm assuming editing the files in 
> /usr/share/spamassassin will affect filtering site wide.  If I put 
> files (20_head_tests.cf, 50_scores.cf, ...) in ~userX/.spamassassin/ 
> would they only affect userX? (For example, to test the mods on 
> myself first, before sticking them out on the enire site.)

Yep. That should work.

J

-- 

Jesus Climent | Unix System Admin | Helsinki, Finland.
www.HispaLinux.es/~data/ || www.simauria.upv.es/~data/
------------------------------------------------------
Please, encrypt mail address to me. Download my public
key from http://www.hispalinux.es/~data/public.gpg.txt
------------------------------------------------------
Registered Linux user #66350 Debian 3.0 & Linux 2.4.19

Attachment: msg04303/pgp00000.pgp
Description: PGP signature

Reply via email to