On 1/18/2018 2:09 PM, Chip wrote:
> Newbie excited to use the features of SpamAssassin for a new project
> that needs to flag inbound email for sorting into folders  (this can be
> done via cpanel-level filtering) based on keywords in headers (header
> search by SA).
>
> This is a Centos 6.9 machine running cpanel/WHM 11.68.0.23 and
> SpamAssassin version 3.4.1 running on Perl version 5.10.1.
>
> I would like to TURN OFF any and all Spam Identification features and
> only leave behind SpamAssassin's examination of headers and subsequent
> Subject modification based on keywords in headers (such as keywords in
> DKIM or SPF, etc)

Basically all the rules included with SpamAssassin are for spam
identification, and header modification is based on detecting mail
as spam.

I think SA is poorly suited for your stated purpose of sorting mail
by header keywords.

If you really really wanted to use SA for this project, you would
need to *remove* all the bundled rules and then add your own header
parsing rules in local.cf, and then SA only knows how to modify the
subject with a spam tag or not at all.

This seems like more trouble than it's worth for an end product that
doesn't suit your needs very well.  There are other established ways
to sort mail with userland imap filters, procmail, seive, etc.


Good luck.




  -- Noel Jones

Reply via email to