Re: Rule tag for _USERNAME_?

2021-03-14 Thread Dan Mahoney
> On Mar 14, 2021, at 9:45 PM, Kevin A. McGrail wrote: > > Well, SpamAssMilter *must* be capturing the data from spamc and creating that > header. If you look at the cpp, it's building it. You could change the > Milter to create a header called X-ImaMilter and use any data you want. No

Re: Rule tag for _USERNAME_?

2021-03-14 Thread Kevin A. McGrail
Well, SpamAssMilter *must* be capturing the data from spamc and creating that header. If you look at the cpp, it's building it. You could change the Milter to create a header called X-ImaMilter and use any data you want. But it looks like signal_user_changed sets self->{username} in spamd so if

Re: Can a .spamassassin directory in a user's home directory override the site-wide configuration?

2021-03-14 Thread Matus UHLAR - fantomas
On 14.03.21 08:36, Steve Dondley wrote: I'm learning to understand how to properly set up a site-wide bayes database on my server. Thanks for everyone's help and patience so far. I've discovered that the SA score assigned to a user's incoming email is different than the SA score run through

Re: Problem with local.cf rules

2021-03-14 Thread jwmincy
John Hardin writes: > From: John Hardin > Date: Sun, 14 Mar 2021 08:29:01 -0700 (PDT) > > On Sun, 14 Mar 2021, jwmi...@gmail.com wrote: > > > Peter West writes: > > > > And You might want to fix the URIBL_BLOCKED issue. Fixing the > > URIBL_BLOCKED issue will do far more to fix your

Re: Problem with local.cf rules

2021-03-14 Thread John Hardin
On Sun, 14 Mar 2021, jwmi...@gmail.com wrote: Peter West writes: And You might want to fix the URIBL_BLOCKED issue. Fixing the URIBL_BLOCKED issue will do far more to fix your issues than adding rules. Seconded. The keywords here are "local, caching, *NON-FORWARDING* DNS server for

Re: Problem with local.cf rules

2021-03-14 Thread John Hardin
On Mon, 15 Mar 2021, Peter West wrote: Well, that was simple. Thank you. What’s the default value of a rule? Does it have one? The default score for all rules is 1 point. -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.org

Re: Problem with local.cf rules

2021-03-14 Thread jwmincy
Peter West writes: > From: Peter West > Date: Sun, 14 Mar 2021 23:30:03 +1000 > > I m running spamassassin 3.4.2-0 in ubuntu 18.04.4. > > Controlling process is > /usr/bin/perl -T -w /usr/sbin/spamd -d --pidfile=/var/run/spamd.pid > --create-prefs --max-children 5 --helper-home-dir >

Re: Problem with local.cf rules

2021-03-14 Thread Peter West
Well, that was simple. Thank you. What’s the default value of a rule? Does it have one? — p...@ehealth.id.au “Two men went up into the temple to pray, one a Pharisee and the other a tax collector.” > On 14 Mar 2021, at 11:41 pm, Alex Woick wrote: > > Peter West schrieb am 14.03.2021 um 14:30:

Re: Problem with local.cf rules

2021-03-14 Thread Alex Woick
Peter West schrieb am 14.03.2021 um 14:30: header CASINO From =~ /\bcasino\b/i score 100.0 === It’s hitting the CASINO rule, but no matter what valoue I assign to the casino rules - 5, 20 , 100, these messages always come through with a value of 4.1. It’s as though some toerh rule is

Problem with local.cf rules

2021-03-14 Thread Peter West
I’m running spamassassin 3.4.2-0 in ubuntu 18.04.4. Controlling process is /usr/bin/perl -T -w /usr/sbin/spamd -d --pidfile=/var/run/spamd.pid --create-prefs --max-children 5 --helper-home-dir My local.cf has local rules enabled, and contains, inter alia, these rules = header CASINO

Can a .spamassassin directory in a user's home directory override the site-wide configuration?

2021-03-14 Thread Steve Dondley
I'm learning to understand how to properly set up a site-wide bayes database on my server. Thanks for everyone's help and patience so far. I've discovered that the SA score assigned to a user's incoming email is different than the SA score run through the "spamc" or "spamassassin" command.

Re: Rule tag for _USERNAME_?

2021-03-14 Thread Dan Mahoney
> On Mar 13, 2021, at 7:51 PM, Kevin A. McGrail wrote: > > Hi Dan, > > Milters are the glue that change the email. SpamAssassin is just giving data > back to the milter. > > I believe you will find that X-Spam-Status header is being built by > spamass-milter not by spamassasin. You