Mail flagged as spam on command line getting passed through as ham

2018-01-18 Thread Andy Howell
I've been getting annoying spams for "Shark Tank". I added a simple rule in local.cf to check the subject line: header SHARK_TANK Subject =~ /\bshark tank\b/i score SHARK_TANK 7 7 7 7 The mail still get through. In my inbox: X-Spam-Flag: NO X-Spam-Score: 4.148 X-Spam-Level: X-Spam-St

Re: Mail flagged as spam on command line getting passed through as ham

2018-01-18 Thread Andy Howell
whatever glue > calls SpamAssassin (amavisd, for example). > > As a side note, if you want it to score 7 regardless of network/bayes > tests (which is what your score line indicates), you can just use > "score SHARK_TANK 7" > > > On Thu, 18 Jan 2018, Andy Howell wrote:

bayes_path ignored

2019-05-27 Thread Andy Howell
How do I get spamassassin to honor the setting of bayes_path in /etc/spamassassin/local.cf ? bayes_path    /var/spool/postfix/spamassassin/bayes_db It never gets used. I can get sa-learn to create the files there by specifying the path: sa-learn --username=amavis --dbpath=/var/spool/postfix

Re: bayes_path ignored

2019-05-27 Thread Andy Howell
On 5/27/19 6:43 PM, Reindl Harald wrote: Am 28.05.19 um 01:05 schrieb Andy Howell: How do I get spamassassin to honor the setting of bayes_path in /etc/spamassassin/local.cf ? bayes_path    /var/spool/postfix/spamassassin/bayes_db It never gets used. I can get sa-learn to create the files

Re: bayes_path ignored

2019-05-27 Thread Andy Howell
On 5/27/19 8:11 PM, Reindl Harald wrote: Am 28.05.19 um 02:38 schrieb Andy Howell: On 5/27/19 6:43 PM, Reindl Harald wrote: Am 28.05.19 um 01:05 schrieb Andy Howell: How do I get spamassassin to honor the setting of bayes_path in /etc/spamassassin/local.cf ? bayes_path /var/spool/postfix