Re: Rule syntax in local.cf?

2022-05-06 Thread Thomas Cameron
trying to get back into it. Sorry if this is a silly question. I tried to add the following line to /etc/mail/spamassassin/local.cf, but it's not firing: [root@mail-east ~]# cat /etc/mail/spamassassin/local.cf # These values can be overridden by editing ~/.spamassassin/user_prefs.cf # (see

Re: Rule syntax in local.cf?

2022-05-06 Thread Bill Cole
k > into it. Sorry if this is a silly question. > > I tried to add the following line to /etc/mail/spamassassin/local.cf, but > it's not firing: > > [root@mail-east ~]# cat /etc/mail/spamassassin/local.cf > # These values can be overridden by editing ~/.spamassassin/us

Rule syntax in local.cf?

2022-05-06 Thread Thomas Cameron
Howdy, all - As I mentioned in a previous email, I'm trying to bump up the score for BAYES_999. I have not messed with SA in years, but I'm trying to get back into it. Sorry if this is a silly question. I tried to add the following line to /etc/mail/spamassassin/local.cf, bu

Re: Linting of local.cf

2022-04-16 Thread Henrik K
On Sat, Apr 16, 2022 at 12:21:55PM +0100, Martin Gregorie wrote: > > - I don't test SA-issued rules updates because they've been verified > before being issued and I've never found errors in them. There is no need to manually test sa-updated rules, since it automatically lints them. And hopeful

Re: Linting of local.cf

2022-04-16 Thread Martin Gregorie
On Sat, 2022-04-16 at 05:30 +0200, Benny Pedersen wrote: > On 2022-04-16 00:35, J Doe wrote: > > > That's an interesting point.  I guess the use case I was thinking of > > is if I added an address or domain for a particularly egregious > > spammer, but made a typo in the SA syntax, I would want to

Re: Linting of local.cf

2022-04-15 Thread Benny Pedersen
On 2022-04-16 00:35, J Doe wrote: That's an interesting point. I guess the use case I was thinking of is if I added an address or domain for a particularly egregious spammer, but made a typo in the SA syntax, I would want to know about it on load so that it didn't continue to slip through. On

Re: Linting of local.cf

2022-04-15 Thread J Doe
On 2022-04-15 09:21, Benny Pedersen wrote: On 2022-04-15 03:52, J Doe wrote: Out of curiosity - why doesn't SpamAssassin lint automatically when it reloads local.cf ? i ask in reverse, do you want spamd to be down on lint fails ? we have not seen default rules never have zerro lint

RE: Linting of local.cf

2022-04-15 Thread Steven Manross
> we have not seen default rules never have zerro lint fails from > upstream, so apache.org is doing well :=) P.S. I am a typo king and love the above typo for "zerro" (and possible never = ever) while talking about lint errors (because I would definitely make that kind of mistake and have) but

Re: Linting of local.cf

2022-04-15 Thread Benny Pedersen
On 2022-04-15 03:52, J Doe wrote: Out of curiosity - why doesn't SpamAssassin lint automatically when it reloads local.cf ? i ask in reverse, do you want spamd to be down on lint fails ? we have not seen default rules never have zerro lint fails from upstream, so apache.org is doing

Re: Linting of local.cf

2022-04-14 Thread J Doe
On 2022-04-14 21:45, Loren Wilton wrote: Is there a tool I can use to do a manual lint of the local.cf file ? At command prompt:    spamassassin --lint    Loren Hi Benny and Loren, Thanks for you replies. I just tried that and it successfully found another mistake I had made in

Re: Linting of local.cf

2022-04-14 Thread Loren Wilton
Is there a tool I can use to do a manual lint of the local.cf file ? At command prompt: spamassassin --lint Loren

Re: Linting of local.cf

2022-04-14 Thread Benny Pedersen
On 2022-04-15 03:13, J Doe wrote: Is there a tool I can use to do a manual lint of the local.cf file ? only spamassassin --lint it does not lint local.cf only :=)

Re: Linting of local.cf

2022-04-14 Thread J Doe
On 2022-04-14 21:09, Benny Pedersen wrote: On 2022-04-15 02:42, J Doe wrote: Because I did not see any warnings or errors on restart, I was wondering: ** Does SpamAssassin lint the local.cf file on re-load ? it does just not load lines with are lint fails, it runs without this line then

Re: Linting of local.cf

2022-04-14 Thread Benny Pedersen
On 2022-04-15 02:42, J Doe wrote: Because I did not see any warnings or errors on restart, I was wondering: ** Does SpamAssassin lint the local.cf file on re-load ? it does just not load lines with are lint fails, it runs without this line then

Linting of local.cf

2022-04-14 Thread J Doe
Hello, I use SpamAssassin 3.4.2 with Perl 5.26.1 on Ubuntu 18.04 LTS (from a package). The other day I was updating the local.cf file to add an address that I wanted to block (in this case I will use a fictional e-mail address of u...@example.com). I entered a new line in local.cf like

Re: which local.cf/user_prefs.cf?

2021-10-20 Thread Bill Cole
On 2021-10-20 at 12:47:44 UTC-0400 (Wed, 20 Oct 2021 11:47:44 -0500) Jerry Malcolm is rumored to have said: > I have read that I should add customization to local.cf.  But on AWS Linux I > have a local.cf in /usr/share/spamassassin.  It says this is the place to > make changes.  &quo

which local.cf/user_prefs.cf?

2021-10-20 Thread Jerry Malcolm
I have read that I should add customization to local.cf.  But on AWS Linux I have a local.cf in /usr/share/spamassassin.  It says this is the place to make changes.  But there's another local.cf in /etc/mail/spamassassin that looks like it has some customization in it as well.  It say

Re: Problem with local.cf rules

2021-03-16 Thread Benny Pedersen
On 2021-03-17 03:58, Peter West wrote: Seconded. The keywords here are "local, caching, *NON-FORWARDING* DNS server for SpamAssassin". URIBL_BLOCKED is not data from sorbs in bind9 its needed to add qname-minimization disabled; into options section if this is not added it breaks uribl and

URIBL_BLOCKED (was: Re: Problem with local.cf rules)

2021-03-16 Thread John Hardin
On Wed, 17 Mar 2021, Peter West wrote: The most pertinent stuff I found was this this Confluence page: https://cwiki.apache.org/confluence/display/SPAMASSASSIN/CachingNameserver So it looks as though I have to install a primary nameserver and a secondary rbldnsd. I’m trying to translate this

Re: Problem with local.cf rules

2021-03-16 Thread Peter West
The most pertinent stuff I found was this this Confluence page: https://cwiki.apache.org/confluence/display/SPAMASSASSIN/CachingNameserver So it looks as though I have to install a primary nameserver and a secondary rbl

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 is

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 SpamAssa

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 pg

Re: Problem with local.cf rules

2021-03-14 Thread jwmincy
dren 5 --helper-home-dir > > > My local.cf has local rules enabled, and contains, inter alia, these rules > = > > header CASINO From =~ /\bcasino\b/i > score 100.0 > > header CASINOS From =~ /\bcasinos\b/i > score 100.0 These two rules can be combi

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 res

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

Re: sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-10 Thread RW
On Tue, 9 Jun 2020 19:55:24 -0700 PGNet Dev wrote: > sorry, that's unclear > > spamc --help | egrep "config|socket|fallback|size|username|log-to" > -U, --socket path Connect to spamd via UNIX domain sockets. > -F, --config path Use this configuration file. > Try conn

Re: sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-09 Thread PGNet Dev
:41 dev.loc spamd[57610]: config: read file /usr/local/etc/spamassassin/local.cf Jun 09 19:46:31 dev.loc spamd[57731]: config: using "/usr/local/etc/spamassassin" for site rules pre files Jun 09 19:46:31 dev.loc spamd[57731]: config: read file /usr/local/etc/spamassassin/in

Re: sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-09 Thread RW
user. > but, with this 'spamc' config, > > cat /usr/local/etc/spamassassin/spamc.conf > --config=/usr/local/etc/spamassassin/local.cf > --socket=/run/spamd/spamd.sock > --no-safe-fallback > --max-size=100 >

sa 3.4.4 'spamassassin' scores test message using local.cf; 'spamd' finds/reads local.cg, but 'spamc' of test msg fails to hit/score?

2020-06-09 Thread PGNet Dev
_scores.cf │   ├── languages │   ├── local.cf │   ├── MIRRORED.BY │   ├── regression_tests.cf │   ├── sa-update-pubkey.txt │   ├── STATISTICS-set0-72_scores.cf.txt │   ├── STATISTICS-set1-72_sco

Re: Do I still need these old spamtips.org rules in local.cf?

2019-01-23 Thread Ian Evans
On Wed, Jan 23, 2019, 12:35 PM Kris Deugau > The Mailspike DNSBL was added to SA upstream, so aside from custom > scores you may want to keep, the base rule definitions are no longer > useful in a third-party ruleset. > > For my part, I found there was little benefit to them in the SA cluster > I

Re: Do I still need these old spamtips.org rules in local.cf?

2019-01-23 Thread Kris Deugau
Ian Evans wrote: Several years ago I added a bunch of rules to my local.cf <http://local.cf> that I picked up from spamtips.org <http://spamtips.org>. That was back in the days of Spamassassin 3.3.2, about 2012. Old rules aren't inherently bad, but they do need review now an

Do I still need these old spamtips.org rules in local.cf?

2019-01-22 Thread Ian Evans
Several years ago I added a bunch of rules to my local.cf that I picked up from spamtips.org. That was back in the days of Spamassassin 3.3.2, about 2012. Just curious, six years later, if it's worth keep any of these rules or whether their functionally has been rolled into or supplanted by

Re: Define new variables in local.cf

2016-11-10 Thread Pedro David Marco
Great! Thanks! Pedro. From: RW To: users@spamassassin.apache.org Sent: Tuesday, November 8, 2016 7:15 PM Subject: Re: Define new variables in local.cf On Tue, 8 Nov 2016 04:39:55 + (UTC) Pedro David Marco wrote: > Hi! > When you the same string repeated many ti

Re: Define new variables in local.cf

2016-11-08 Thread RW
On Tue, 8 Nov 2016 04:39:55 + (UTC) Pedro David Marco wrote: > Hi! > When you the same string repeated many times in a .cf file   is it > possible to use any kind of user-defined variable or constant to > avoid repetition and make it easier to maintain? thanks! -Pedro See https://spamass

Re: Define new variables in local.cf

2016-11-08 Thread Dave Wreski
Hi, having the regex into a variable would help maintenance. Something like: $BankList = "Bank1|Bank2|Bank3|Bank4" uri BANKURI /$BankList/i score BANKURI0.2 body BANKBODY /$BankList/i score BANKBODY0.1 is there any way to do this? You might try something like t

Re: Define new variables in local.cf

2016-11-08 Thread Pedro David Marco
variables in local.cf On 08.11.16 04:39, Pedro David Marco wrote: >When you the same string repeated many times in a .cf file   is it possible > to use any kind of user-defined variable or constant to avoid repetition > and make it easier to maintain? any example of what you mean

Re: Define new variables in local.cf

2016-11-08 Thread Matus UHLAR - fantomas
On 08.11.16 04:39, Pedro David Marco wrote: When you the same string repeated many times in a .cf file   is it possible to use any kind of user-defined variable or constant to avoid repetition and make it easier to maintain? any example of what you mean? -- Matus UHLAR - fantomas, uh...@fanto

Define new variables in local.cf

2016-11-07 Thread Pedro David Marco
Hi! When you the same string repeated many times in a .cf file   is it possible to use any kind of user-defined variable or constant to avoid repetition and make it easier to maintain? thanks! -Pedro

RE: local.cf example

2016-11-02 Thread Motty Cruz
, 2016 10:16 AM To: users@spamassassin.apache.org Subject: Re: local.cf example On 01.11.16 11:24, Motty Cruz wrote: >Very strange, missed configuration, here is another header and I have >not change any configuration and yet this one was scanned: >X-Spam-Status: No, score=2.604 tagged_abo

Re: local.cf example

2016-11-02 Thread Matus UHLAR - fantomas
On 01.11.16 11:24, Motty Cruz wrote: Very strange, missed configuration, here is another header and I have not change any configuration and yet this one was scanned: X-Spam-Status: No, score=2.604 tagged_above=-999.9 required=5.6 tests=[AWL=2.468, DATE_IN_PAST_03_06=1.076, DKIM_SIGNED=0

RE: local.cf example

2016-11-01 Thread Motty Cruz
header.d=kevineikenberry.com I'm very confused. Thanks, Motty -Original Message- From: Matus UHLAR - fantomas [mailto:uh...@fantomas.sk] Sent: Tuesday, November 01, 2016 9:41 AM To: users@spamassassin.apache.org Subject: Re: local.cf example On 01.11.16 08:43, Motty Cruz wrot

Re: local.cf example

2016-11-01 Thread Matus UHLAR - fantomas
On 01.11.16 08:43, Motty Cruz wrote: X-Virus-Scanned: amavisd-new at fqdn.com X-Spam-Flag: NO X-Spam-Score: 5.5 X-Spam-Level: * X-Spam-Status: No, score=5.5 tagged_above=-999.9 required=5.6 tests=[RDNS_NONE=5.5] autolearn=no autolearn_force=no Received: from HOST1.fqdn.com ([127.0.0.1]

RE: local.cf example

2016-11-01 Thread John Hardin
On Tue, 1 Nov 2016, Motty Cruz wrote: If I disable AWL: X-Virus-Scanned: amavisd-new at fqdn.com X-Spam-Flag: NO X-Spam-Score: 5.5 X-Spam-Level: * X-Spam-Status: No, score=5.5 tagged_above=-999.9 required=5.6 tests=[RDNS_NONE=5.5] autolearn=no autolearn_force=no Received: from HOST1.

RE: local.cf example

2016-11-01 Thread Motty Cruz
ssage- From: RW [mailto:rwmailli...@googlemail.com] Sent: Saturday, October 29, 2016 5:35 AM To: users@spamassassin.apache.org Subject: Re: local.cf example On Fri, 28 Oct 2016 22:25:54 -0700 motty cruz wrote: > AWL is allowing spam email through, It will do, it's a score averager, it mo

Re: local.cf example

2016-10-29 Thread RW
On Fri, 28 Oct 2016 22:25:54 -0700 motty cruz wrote: > AWL is allowing spam email through, It will do, it's a score averager, it moves the score towards the average score for the sender. AWL is vulnerable to spoofing so you check the from address on the spam. If that's happening you should cons

local.cf example

2016-10-28 Thread motty cruz
Hello, can someone provide local.cf working example? AWL is allowing spam email through, X-Virus-Scanned: amavisd-new at fqdn.com X-Spam-Flag: NO X-Spam-Score: 5.114 X-Spam-Level: * X-Spam-Status: No, score=5.114 tagged_above=-999.9 required=5.6 tests=[AWL=-2.530, BAYES_99=4.799

Re: How to you add GEO -IP restrictions to local.cf

2016-03-09 Thread RW
On Wed, 9 Mar 2016 11:12:23 -0600 (CST) Peter Wilcox wrote: > How to you add GEO -IP restrictions to local.cf See: https://wiki.apache.org/spamassassin/RelayCountryPlugin

How to you add GEO -IP restrictions to local.cf

2016-03-09 Thread Peter Wilcox
How to you add GEO -IP restrictions to local.cf

Re: local.cf, user_prefs etc

2015-05-22 Thread Forrest
On 5/22/15 8:13 AM, Kevin A. McGrail wrote: On 5/22/2015 4:35 AM, Dmitry Baronov wrote: I use spamassassin with CommuniGatePro cgpsa helper, . With Spamassassin 3.3.2 I had ability to customize default values in local.cf file. With 3.4.x I lost this ability i can't find again :/ Nothi

Re: local.cf, user_prefs etc

2015-05-22 Thread Dmitry Baronov
customize default values in local.cf file. With 3.4.x I lost this ability i can't find again :/ Nothing in 3.4.x has removed any such feature. I would run spamassassin --version from the command line, confirm it's 3.4.x and then run: spamassassin -D --lint 2>&1 | grep LOCAL_RULES_D

Re: local.cf, user_prefs etc

2015-05-22 Thread Kevin A. McGrail
On 5/22/2015 8:24 AM, RW wrote: On Fri, 22 May 2015 08:13:05 -0400 Kevin A. McGrail wrote: On 5/22/2015 4:35 AM, Dmitry Baronov wrote: I use spamassassin with CommuniGatePro cgpsa helper, . With Spamassassin 3.3.2 I had ability to customize default values in local.cf file. With 3.4.x I lost

Re: local.cf, user_prefs etc

2015-05-22 Thread RW
On Fri, 22 May 2015 08:13:05 -0400 Kevin A. McGrail wrote: > On 5/22/2015 4:35 AM, Dmitry Baronov wrote: > > I use spamassassin with CommuniGatePro cgpsa helper, . > > > > With Spamassassin 3.3.2 I had ability to customize default values > > in local.cf file. > >

Re: local.cf, user_prefs etc

2015-05-22 Thread Kevin A. McGrail
On 5/22/2015 4:35 AM, Dmitry Baronov wrote: I use spamassassin with CommuniGatePro cgpsa helper, . With Spamassassin 3.3.2 I had ability to customize default values in local.cf file. With 3.4.x I lost this ability i can't find again :/ Nothing in 3.4.x has removed any such feature. I

Re: local.cf, user_prefs etc

2015-05-22 Thread Dmitry Baronov
I use spamassassin with CommuniGatePro cgpsa helper, . With Spamassassin 3.3.2 I had ability to customize default values in local.cf file. With 3.4.x I lost this ability i can't find again :/ 21.05.2015 17:33, Dave Funk пишет: On Thu, 21 May 2015, Dmitry Baronov wrote: Hello folk

Re: local.cf, user_prefs etc

2015-05-21 Thread Dave Funk
On Thu, 21 May 2015, Dmitry Baronov wrote: Hello folks! I use 3.4.1 freebsd version with compiled rules. Please, give me advice how I could use local config file to override downloaded default values? All my attemps were unsuccessful. I placed local.cf and user_prefs files in /root

Re: local.cf, user_prefs etc

2015-05-21 Thread Reindl Harald
Am 21.05.2015 um 15:48 schrieb Dmitry Baronov: Hello folks! I use 3.4.1 freebsd version with compiled rules. Please, give me advice how I could use local config file to override downloaded default values? All my attemps were unsuccessful. I placed local.cf and user_prefs files in /root

local.cf, user_prefs etc

2015-05-21 Thread Dmitry Baronov
Hello folks! I use 3.4.1 freebsd version with compiled rules. Please, give me advice how I could use local config file to override downloaded default values? All my attemps were unsuccessful. I placed local.cf and user_prefs files in /root/spamassassin /etc/mail/spamassassin /usr/local/etc

Re: SA 3.4 and user_prefs or local.cf still bouncing a whitelist host

2015-03-08 Thread John Hardin
On Sat, 7 Mar 2015, Forrest wrote: whitelist_from_rcvd *@spamcop.net vmx.spamcop.net whitelist_from_rcvd *@spamcop.net spamcop.net DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_MED,SPF_PASS,T_RP_MATCHES_RCVD,URIBL_BLACK,URIBL_DBL_SPAM,URIBL_JP_SURBL,URIBL_SBL_A,URIBL_WS_SURBL DKIM_VALID and SPF_PASS

Re: SA 3.4 and user_prefs or local.cf still bouncing a whitelist host

2015-03-07 Thread Axb
On 03/07/2015 08:32 PM, Forrest wrote: Since upgrading to 3.4, I've been having an annoying problem with SpamCop mails being (seemingly) randomly bounced and/or miscategorized; that is, despite being specifically configured in user_prefs and local.cf. Here's what I've placed

SA 3.4 and user_prefs or local.cf still bouncing a whitelist host

2015-03-07 Thread Forrest
Since upgrading to 3.4, I've been having an annoying problem with SpamCop mails being (seemingly) randomly bounced and/or miscategorized; that is, despite being specifically configured in user_prefs and local.cf. Here's what I've placed in the configs # spamcop whit

Re: Problems in local.cf

2013-09-19 Thread James B. Byrne
from the EPEL repository. The present local.cf was inherited from our previous CentOs-5.x Sendmail/MailScanner MX server which in turn inherited it from its predecessor, whose particulars I no longer recall. However, we have been using SA at least since the early 2000's and no doubt we have

Re: Problems in local.cf

2013-09-19 Thread Karsten Bräckelmann
.0.1 to your internal_networks. > Sep 19 12:37:11.056 [27093] info: config: failed to parse line, skipping, in > "/etc/mail/spamassassin/local.cf": auto_whitelist_factor 1 The AWL plugin is disabled by default since 3.3. That option is only valid, if the AWL plugin is loaded. Add the

Problems in local.cf

2013-09-19 Thread James B. Byrne
assin/local.cf": auto_whitelist_factor 1 Sep 19 12:37:11.056 [27093] info: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": num_check_received 10 local.cf contains these directives: . . . trusted_networks 10.0.0.0/8 trusted_networks 127.0.0.1

Re: SA not "honoring" customs in "local.cf"

2013-09-06 Thread Joe Acquisto-j4
ww.impsec.org/~jhardin/ > > The /etc/init.d/spamd file has a hardcoded reference to that specific file. > I'm pretty sure it is the one being read. > > However, I am not so certain others are not being read later. > > I find a lot of references, for example, to BAYES_99 in > /usr/share/spamassassin/blah.cf. I certainly don't know if these would > override the setting in /etc/mail/spamassassin/local.cf. > > joe a. > > > >

Re: SA not "honoring" customs in "local.cf"

2013-09-06 Thread Joe Acquisto-j4
Thanks for the leads. >>> On 9/6/2013 at 10:05 AM, Kris Deugau wrote: > Joe Acquisto-j4 wrote: >. . . > I read back a bit in the thread; you've definitely got something > strange going on. > > I don't see a couple of bits of information that might help narrow it down: > > - which distribution

Re: SA not "honoring" customs in "local.cf" - was Re: RP_MATCHES_RCVD letting in SPAM

2013-09-06 Thread Kris Deugau
Joe Acquisto-j4 wrote: > I'd like to revisit this, now that I have sufficient energy to devote to > some hard sleuthing. Despite the > fact that I was less than sharp (ahem) when first looking at this, I do > feel I have covered all the obvious > suspects. > > Some gentle nudges (or not) might g

Re: SA not "honoring" customs in "local.cf" - was Re: RP_MATCHES_RCVD letting in SPAM

2013-09-06 Thread Axb
ty sure it is the one being read. However, I am not so certain others are not being read later. I find a lot of references, for example, to BAYES_99 in /usr/share/spamassassin/blah.cf. I certainly don't know if these would override the setting in /etc/mail/spamassassin/local.cf. joe a.

SA not "honoring" customs in "local.cf" - was Re: RP_MATCHES_RCVD letting in SPAM

2013-09-06 Thread Joe Acquisto-j4
t being read later. I find a lot of references, for example, to BAYES_99 in /usr/share/spamassassin/blah.cf. I certainly don't know if these would override the setting in /etc/mail/spamassassin/local.cf. joe a.

SA not honoring entry in local.cf

2013-08-16 Thread Joe Acquisto-j4
After making a change a weight, noticed it did not "take" after a restart. Ran lint and found the snippet provided below. I'm confused as I see some of these in the header of some email: Aug 16 16:03:11.268 [15719] dbg: config: warning: score set for non-existent rule RCVD_IN_MSPIKE_H4 Aug 16

Re: Unable to verify custom rules being loaded from 'local.cf'

2013-07-17 Thread Axb
[[.]]cf listed on jp.surbl.org local[[.]]cf listed on ws.surbl.org local[[.]]cf listed on uri.invaluement.com local[[.]]cf listed on dbl.spamhaus.org local.cf is a parked domain will see this is taken care of...

Re: Unable to verify custom rules being loaded from 'local.cf'

2013-07-17 Thread Kevin A. McGrail
How can I test whether the custom rule sets in 'local(munged to avoid URIBLs).cf' are being loaded by spamassassin on my production setup? Put your rules in another file, let's say ASHISH.cf. Run spamassassin -D --lint 2>&1 | grep ASHISH Look for something like: Jul 17 09:22:26.419 [12158]

Unable to verify custom rules being loaded from 'local.cf'

2013-07-17 Thread Sharma, Ashish
Original Message Subject: Unable to verify custom rules being loaded from 'local.cf' From: "Sharma, Ashish" To: users@spamassassin.apache.org CC: Hi, I have a amavisd-new setup with spamassassin(3.3.1) on RHEL 5.8 , at the following location: /e

Re: Quick question about enabling a private rules in the local.cf

2012-03-26 Thread RW
On Mon, 26 Mar 2012 16:06:41 +0200 Simon Loewenthal wrote: > Hi, > > Still lost with this so I created a simple rule in the local.cf > (spamassasin --lint && restart done) :- > > describe MYTEST mytest > body MYTEST /cdromland/ > score MYTEST 0.1 > >

Re: Quick question about enabling a private rules in the local.cf

2012-03-26 Thread Simon Loewenthal
Hi, Still lost with this so I created a simple rule in the local.cf (spamassasin --lint && restart done) :- describe MYTEST mytest body MYTEST /cdromland/ score MYTEST 0.1 I added this since word in to a file named aaa. cdromland # spamc -y -R > # spamc -y -R < 201203

Re: Quick question about enabling a private rules in the local.cf

2012-03-23 Thread Simon Loewenthal
# spamc -y -R < 20120323.spam http://pastebin.com/kVFn71B3 Full email with headers via spamassassin -t . Slightly redacted: http://pastebin.com/HFmWfZa6 On 23/03/12 13:59, Banyan He wrote: > 60.Mar 23 10:39:43.265 [28017] dbg: config: read file > /etc/spamassassin/local.cf > 61.

Re: Quick question about enabling a private rules in the local.cf

2012-03-23 Thread Simon Loewenthal
ban...@rootong.com > > > On 2012-03-23 5:48 PM, Simon Loewenthal wrote: >> Hi there everyone, >> >> I have a many custom rules defined in the local.cf shown below. I >> checked spamassassin -D --lint, and did not find any reference to it. >> Neither w

Quick question about enabling a private rules in the local.cf

2012-03-23 Thread Simon Loewenthal
Hi there everyone, I have a many custom rules defined in the local.cf shown below. I checked spamassassin -D --lint, and did not find any reference to it. Neither were any error messages reported. Any example is this private black list:- describe RBODY_PDOMAINS1 private blacklist of

Re: Custom rawbody rule in local.cf not triggered

2011-11-23 Thread Ned Slider
/) * 1.4 PYZOR_CHECK Listed in Pyzor (http://pyzor.sf.net/) * 0.3 DIGEST_MULTIPLE Message hits more than one network digest check * 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS What I fail to understand is why it did not hit on this local.cf rule: describe

Re: Custom rawbody rule in local.cf not triggered

2011-11-23 Thread Simon Loewenthal
_NONE Delivered to internal network by a host with no rDNS >> >> What I fail to understand is why it did not hit on this local.cf rule: >> >> describe RBODY_JOB_DOMAINS1 English language job opportunity1 >> rawbody RBODY_JOB_DOMAINS1 >> /\@(?:axeabout|career-lists|ca

Re: Custom rawbody rule in local.cf not triggered

2011-11-23 Thread Martin Gregorie
ite.com/anti-spam/dcc/) > * 1.4 PYZOR_CHECK Listed in Pyzor (http://pyzor.sf.net/) > * 0.3 DIGEST_MULTIPLE Message hits more than one network digest check > * 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS > > What I fail to understand is why

Re: Custom rawbody rule in local.cf not triggered

2011-11-23 Thread Simon Loewenthal
* 0.8 RDNS_NONE Delivered to internal network by a host with no >> rDNS >> >> What I fail to understand is why it did not hit on this local.cf rule: >> >> describe RBODY_JOB_DOMAINS1 English language job opportunity1 >> rawbody RBODY_JOB_DOMAINS1 >> /\@(?:

Re: Custom rawbody rule in local.cf not triggered

2011-11-23 Thread Axb
(http://pyzor.sf.net/) * 0.3 DIGEST_MULTIPLE Message hits more than one network digest check * 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS What I fail to understand is why it did not hit on this local.cf rule: describe RBODY_JOB_DOMAINS1 English language job

Custom rawbody rule in local.cf not triggered

2011-11-23 Thread Simon Loewenthal
Message hits more than one network digest check * 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS What I fail to understand is why it did not hit on this local.cf rule: describe RBODY_JOB_DOMAINS1 English language job opportunity1 rawbody RBODY_JOB_DOMAINS1 /\@(?:axeabout

local.cf rules are executed just "arbitrarily"?

2011-09-13 Thread khaosis
stfix before-queue) - this service finally adds an X-header to the message (spam/ham) * latest Amavisd-new + Spamassassin through Postfix content_filter In the local.cf file, I have: header EXPURGATE_SPAM X-purgate =~ /spam/ score EXPURGATE_SPAM 5.0 This works well *most* of the time. Ho

Re: Custom rule in local.cf

2011-09-06 Thread Martin Gregorie
On Tue, 2011-09-06 at 10:43 +0200, J4K wrote: > body __PR1/(Employment opportunity|Job offer match, > respond to apply|Employment you've been searching|Job > opportunity|Career opportunity inside|Position opening in your area|Work > offer inside|Vacancy - apply online|Job ad -

Re: Custom rule in local.cf

2011-09-06 Thread J4K
emailed to >>>> the list about my custom rules. Usually, someone points out the >>>> blindingly obvious when I fail to note it. This has been going on for >>>> months. I'll have a last hack at this, and then be quiet on this >>>> topic >>>

Re: Custom rule in local.cf

2011-09-06 Thread Axb
been going on for months. I'll have a last hack at this, and then be quiet on this topic for at least a month, and then pester you all again. Apologies in advance. I have a rule in the local.cf. I am trying to use it to catch mail show in http://pastebin.com/exWh652x It does no

Re: Custom rule in local.cf

2011-09-06 Thread J4K
te it. This has been going on for >> months. I'll have a last hack at this, and then be quiet on this topic >> for at least a month, and then pester you all again. Apologies in >> advance. >> >> I have a rule in the local.cf. I am trying to use it to catch

Re: Custom rule in local.cf

2011-09-06 Thread Axb
en be quiet on this topic for at least a month, and then pester you all again. Apologies in advance. I have a rule in the local.cf. I am trying to use it to catch mail show in http://pastebin.com/exWh652x It does not hit. The two hits should be the Subject: Virtual Assistant Position

Re: Quicky custom rule in local.cf question - dbg: rules: PRIVATE_PHONICA2 merged duplicates: PRIVATE_RULE1

2011-09-01 Thread Benny Pedersen
On Thu, 01 Sep 2011 16:23:11 +0200, J4K wrote: body __PP1/(New Release Update)/i uri __PP2 /(\.com|\.com)/i meta PRIVATE_PHONICA2 (__PR1 && __PR2) __pp.. not __pr..

Re: Quicky custom rule in local.cf question - dbg: rules: PRIVATE_PHONICA2 merged duplicates: PRIVATE_RULE1

2011-09-01 Thread J4K
On 09/01/2011 04:33 PM, John Wilcock wrote: > Le 01/09/2011 16:23, J4K a écrit : >> meta PRIVATE_RULE1 (__PR1&& __PR2) > ... >> meta PRIVATE_PHONICA2 (__PR1&& __PR2) >> >> Spamassassin -D -lint records this: >> Sep 1 15:45:56.313 [11484] dbg: rules: PRIVATE_PHONICA2 merged >> duplicates:

Re: Quicky custom rule in local.cf question - dbg: rules: PRIVATE_PHONICA2 merged duplicates: PRIVATE_RULE1

2011-09-01 Thread John Wilcock
Le 01/09/2011 16:23, J4K a écrit : meta PRIVATE_RULE1 (__PR1&& __PR2) ... meta PRIVATE_PHONICA2 (__PR1&& __PR2) Spamassassin -D -lint records this: Sep 1 15:45:56.313 [11484] dbg: rules: PRIVATE_PHONICA2 merged duplicates: PRIVATE_RULE1 What is this really telling me, and why is th

Re: Quicky custom rule in local.cf question - dbg: rules: PRIVATE_PHONICA2 merged duplicates: PRIVATE_RULE1

2011-09-01 Thread Bowie Bailey
On 9/1/2011 10:23 AM, J4K wrote: > Hi there, > > I've got these two rules in the local.cf. > > describe PRIVATE_RULE1 English language job opportunity > body __PR1/(Employment opportunity|Job offer match, respond > to apply|Employment you've been s

Quicky custom rule in local.cf question - dbg: rules: PRIVATE_PHONICA2 merged duplicates: PRIVATE_RULE1

2011-09-01 Thread J4K
Hi there, I've got these two rules in the local.cf. describe PRIVATE_RULE1 English language job opportunity body __PR1/(Employment opportunity|Job offer match, respond to apply|Employment you've been searching|Job opportunity|Career opportunity inside|Position openi

Re: local.cf permissions

2011-04-03 Thread Sahil Tandon
On Sun, 2011-04-03 at 14:38:49 -0700, Ori Bani wrote: > On Sun, Apr 3, 2011 at 2:08 PM, Sahil Tandon wrote: > > On Sun, 2011-04-03 at 13:30:44 -0700, Ori Bani wrote: > > > >> From what I can tell, it is common to have local.cf > >> permissions/ownership as

Re: local.cf permissions

2011-04-03 Thread Ori Bani
>>> I played with it and set /etc/mail/spamassassin/local.cf to: >>> >>> root:root 600 (rw---) >> >> updates will reset it to 644 Really? Doesn't that depend on delivery method (yum, apt-get, etc)? Permissions get reset? But custom changes *ins

Re: local.cf permissions

2011-04-03 Thread John Hardin
On Mon, 4 Apr 2011, Benny Pedersen wrote: On Sun, 3 Apr 2011 15:16:06 -0700, Ori Bani wrote: I played with it and set /etc/mail/spamassassin/local.cf to: root:root 600 (rw---) updates will reset it to 644 ...so create /etc/mail/spamassassin/passwords.cf root:root 600 and put just

Re: local.cf permissions

2011-04-03 Thread Benny Pedersen
On Sun, 3 Apr 2011 15:16:06 -0700, Ori Bani wrote: > I played with it and set /etc/mail/spamassassin/local.cf to: > > root:root 600 (rw---) updates will reset it to 644 > And it seems to work fine in simple testing. spamd starts as root and drop privileges when local.cf is

  1   2   3   4   5   >