Re: Increase scores based on lewd body text

2018-05-03 Thread RW
On Thu, 3 May 2018 10:38:14 -0300
Steve Mallett wrote:

> Didn't cc users@
> 
> How do I add a non sa-compile ruleset to spamassassin? The googles
> are not helping.
> 

If  you mean non sa-update, you put them in the directory that
contains the global configuration file local.cf. In Linux this is
usually /etc/mail/spamassassin.

More generally  you can find it like this:


$ grep  LOCAL_RULES_DIR   `which spamassassin`
my $LOCAL_RULES_DIR = '/usr/local/etc/mail/spamassassin';#



Re: Fwd: Increase scores based on lewd body text

2018-05-03 Thread Benny Pedersen

Steve Mallett skrev den 2018-05-03 15:38:

Didn't cc users@

How do I add a non sa-compile ruleset to spamassassin? The googles are
not helping.


non sa-compile ?

show what you have tryed would help us to help you more

all rules must support sa-compile

else spamassassin --lint will fail

i dont know where local.cf is in ubuntu, but your edits must be there in 
this file


Fwd: Increase scores based on lewd body text

2018-05-03 Thread Steve Mallett
Didn't cc users@

How do I add a non sa-compile ruleset to spamassassin? The googles are not
helping.

on Ubuntu16

Steve

On Tue, May 1, 2018 at 7:52 PM, Kevin A. McGrail 
wrote:

> I have several rules for sexually explicit content in KAM.cf.  See
> https://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf
>
> --
> Kevin A. McGrail
> Asst. Treasurer & VP Fundraising, Apache Software Foundation
> Chair Emeritus Apache SpamAssassin Project
> https://www.linkedin.com/in/kmcgrail - 703.798.0171
>
> On Tue, May 1, 2018 at 6:42 PM, Steve Mallett  wrote:
>
>>
>> Hi,
>>
>> I have mboxs I'm running spamassassin against & many emails with very
>> lewd body text have the same scores as other emails without.
>>
>> I'm invoking via: formail -s procmail ~/procmail.rc < mbox
>>
>> SA V: 3.4.1
>>
>> Running on Ubuntu 16.04LTS
>>
>> How can increase the scores on bad words in body text and/or is there a
>> recipe specifically for that type of thing?
>>
>>
>> Steve
>>
>
>


Re: Increase scores based on lewd body text

2018-05-01 Thread Benny Pedersen

Steve Mallett skrev den 2018-05-02 00:42:


How can increase the scores on bad words in body text and/or is there
a recipe specifically for that type of thing?


# add to local.cf

body FOO /foo/i
describe FOO foo found in body
score FOO 0.01 0.01 0.01 0.01

aditional can be

tflags FOO learn autolearn_force

that will make bayes learning based on foo found in body

more help, post a sample to pastebin.com and give links here


Re: Increase scores based on lewd body text

2018-05-01 Thread Kevin A. McGrail
I have several rules for sexually explicit content in KAM.cf.  See
https://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf

--
Kevin A. McGrail
Asst. Treasurer & VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171

On Tue, May 1, 2018 at 6:42 PM, Steve Mallett  wrote:

>
> Hi,
>
> I have mboxs I'm running spamassassin against & many emails with very lewd
> body text have the same scores as other emails without.
>
> I'm invoking via: formail -s procmail ~/procmail.rc < mbox
>
> SA V: 3.4.1
>
> Running on Ubuntu 16.04LTS
>
> How can increase the scores on bad words in body text and/or is there a
> recipe specifically for that type of thing?
>
>
> Steve
>


Increase scores based on lewd body text

2018-05-01 Thread Steve Mallett
Hi,

I have mboxs I'm running spamassassin against & many emails with very lewd
body text have the same scores as other emails without.

I'm invoking via: formail -s procmail ~/procmail.rc < mbox

SA V: 3.4.1

Running on Ubuntu 16.04LTS

How can increase the scores on bad words in body text and/or is there a
recipe specifically for that type of thing?


Steve