Great Circle Associates Majordomo-Users
(December 2002)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: taboo
From: Chad Martin <chad @ tharasix . com>
Date: Thu, 05 Dec 2002 19:15:27 -0500
To: Pete Holsberg <pjh @ mccc . edu>
Cc: majordomo-users @ greatcircle . com
References: <Pine.GSO.4.10.10212051726490.22860-100000@tecoma.mccc.edu>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Pete Holsberg wrote:
> It doesn't block any of the emails that have the matching
> "content-type" strings.

It may be your syntax.  I'm not terribly familiar with the config file, 
but in perl, a multi-line print goes like this:

print <<MONKEY;
Lines
of
printing
MONKEY

Upshot is that I don't think you need the single quotes around your 
ENDs, and you'll need to add a semicolon at the end of you taboo_body line.

Somebody can correct me if I have the details wrong, but I think I'm on 
the right track here.

Chad Martin

>>>In my majordomo/lists config file, I have:
>>>
>>>taboo_body = <<'END'
>>>/^content-type:.*application/i
>>>/^content-type:.*(exe|zip|gif|jpg|scr|bat|pdf|doc|xls|pif|txt)/i
>>>END      
>>>
>>>taboo_headers = <<'END';
>>>/^Content-Type:\smultipart\/mixed/i
>>>/^Content-Type:\smultipart\/alternative/i
>>>/^Content-Type:\stext\/html/i
>>>END
>>>
>>>They do not seem to be working. How do I troubleshoot this
>>>problem?



Follow-Ups:
  • Re: taboo
    From: Pete Holsberg <pjh@mccc.edu>

References:
  • Re: taboo
    From: Pete Holsberg <pjh@mccc.edu>
Indexed By Date Previous: Re: taboo
From: Pete Holsberg <pjh@mccc.edu>
Next: Re: majordomo install without root permissions
From: Daniel Liston <dliston@sonny.org>
Indexed By Thread Previous: Re: taboo
From: Pete Holsberg <pjh@mccc.edu>
Next: Re: taboo
From: Pete Holsberg <pjh@mccc.edu>

Google
 
Search Internet Search www.greatcircle.com