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
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:
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
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
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