Tidy filters

Steve Crook steve@bananasplit.info
Sat Jul 12 16:26:17 CEST 2003


Hello,

I use cleanfeed to filter my local INN server which I run as a means to
provide a "de-trolled" view of various groups.  Nearly all the filters
are based on message body and can be quite complex.

In the sub local_filter_last section, I use a single
if ($hdr{__BODY__} =~ statement which is becomming very difficult to
read and maintain due to the number of regexp matches within it.

So my question is:  Is there a way I can host all these filter expressions
in a file with one on each line rather than having them all in my
cleanfeed.local file in one long statement?

Many thanks
Steve 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.bofh.it/pipermail/cleaners/attachments/20030712/61c115b4/attachment.pgp>


More information about the cleaners mailing list