spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: "meta" rule using wildcard to

Re: "meta" rule using wildcard to include other rules?

From: Martin Gregorie <martin_at_nospam>
Date: Fri Dec 30 2011 - 16:00:36 GMT
To: users@spamassassin.apache.org

On Fri, 2011-12-30 at 07:25 -0800, Jeff_47 wrote:

> Put another way, I'd like to be able to add a new __L_LOANS_BODY rule and
> have the meta rule automatically incorporate it. Is this possible?
>
I have a considerably larger collection of rules and phrases, but then
again, I need to filter the spew that from a mailing list linked to an
unfiltered forum, so I wrote a gawk script that builds rules from a set
of files, each containing the list(s) of terms that go into each rule.
This doesn't save any typing or testing, but the rule definition files,
which have one match term per line, are much easier to edit. You can
download the package and manpage, test data (think examples) and
installation instructions as a compressed tarball from here:
http://www.libelle-systems.com/free/portmanteau/portmanteau.tgz

Martin