Re: "use POSIX" in ruleqa?

2019-08-31 Thread Henrik K
On Sat, Aug 31, 2019 at 12:08:31PM -0700, John Hardin wrote:
> All:
> 
> I'd like to add "use POSIX" to some code used in ruleqa - anybody know
> whether that would break ruleqa because that module isn't installed?

It's core module, so it's not possible to be missing.  What are you
planning?



"use POSIX" in ruleqa?

2019-08-31 Thread John Hardin

All:

I'd like to add "use POSIX" to some code used in ruleqa - anybody know 
whether that would break ruleqa because that module isn't installed?


Thx!

--
 John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
 jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  The question of whether people should be allowed to harm themselves
  is simple. They *must*.   -- Charles Murray
---
 884 days since the first commercial re-flight of an orbital booster (SpaceX)


[Bug 7735] Meta rules need to handle missing/unrun dependencies

2019-08-31 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

--- Comment #6 from Henrik Krohns  ---
But if some of these rules do indeed disappear from our daily masschecks, I
might revert this change to my previous code which was simply Reuse.pm doing
the same thing: forcing reuse of the net-dependent metas.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7735] Meta rules need to handle missing/unrun dependencies

2019-08-31 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

--- Comment #5 from John Hardin  ---
(In reply to Henrik Krohns from comment #4)
> Yes it's a bit tricky, but honestly, who uses "non-net rulesets" these days
> anyway? 

True.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7735] Meta rules need to handle missing/unrun dependencies

2019-08-31 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

--- Comment #4 from Henrik Krohns  ---
Yes it's a bit tricky, but honestly, who uses "non-net rulesets" these days
anyway? You can't even use SpamAssassin without sa-update. And those with some
strange private network usage, probably don't care that much about the scoring.

Either this or we have to come up with some other way for foolproof "reuse"
masschecking. Again today I notifed I was blasting DNS queries all over, due to
missing reuse flags.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7735] Meta rules need to handle missing/unrun dependencies

2019-08-31 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

John Hardin  changed:

   What|Removed |Added

 CC||jhar...@impsec.org

--- Comment #3 from John Hardin  ---
I object to many of these rules being marked as TFLAGS NET.

Your trivial examples are indeed valid, but for more-complex rules where the
NET rule is used simply as an exclusion to reduce FPs (rather than a critical
component of the logical rule itself), the effect of the NET rule being zero is
not important, as the non-NET masscheck scores will reflect the results of that
NET exclusion rule not having an effect: the score will be lower for non-NET
because the S/O will be lower. The overall rule should not be *entirely
disabled* in a non-NET environment.

For this reason I also dislike the inheritance being automatic.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7735] Meta rules need to handle missing/unrun dependencies

2019-08-31 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

--- Comment #2 from Henrik Krohns  ---

As a related commit, Reuse now forces reusing any net rules (thus the inherited
ones also from above).

Sendinglib/Mail/SpamAssassin/Plugin/Reuse.pm
Transmitting file data .done
Committing transaction...
Committed revision 1866217.

reuse: forcing reuse of net rule RCVD_IN_MSPIKE_BL
reuse: forcing reuse of net rule URI_WP_HACKED_2
reuse: forcing reuse of net rule BODY_URI_ONLY
reuse: forcing reuse of net rule __RCVD_IN_MSPIKE_LOW
reuse: forcing reuse of net rule FORM_LOW_CONTRAST
reuse: forcing reuse of net rule ENV_AND_HDR_SPF_MATCH
reuse: forcing reuse of net rule URI_WP_HACKED
reuse: forcing reuse of net rule __SPF_RANDOM_SENDER
reuse: forcing reuse of net rule T_SUBJ_BRKN_WORDNUMS
reuse: forcing reuse of net rule __HTML_FONT_LOW_CONTRAST_MINFP
reuse: forcing reuse of net rule __FROM_FMBLA_NEWDOM28
reuse: forcing reuse of net rule NML_ADSP_CUSTOM_HIGH
reuse: forcing reuse of net rule FSL_BULK_SIG
reuse: forcing reuse of net rule COMPENSATION
reuse: forcing reuse of net rule T_END_FUTURE_EMAILS
reuse: forcing reuse of net rule FROM_MISSP_SPF_FAIL
reuse: forcing reuse of net rule __SPOOFED_FREEMAIL
reuse: forcing reuse of net rule NORDNS_LOW_CONTRAST
reuse: forcing reuse of net rule URI_ONLY_MSGID_MALF
reuse: forcing reuse of net rule TVD_SPACE_ENCODED
reuse: forcing reuse of net rule HDRS_LCASE
reuse: forcing reuse of net rule __PDS_SPF_ONLYALL
reuse: forcing reuse of net rule BODY_EMPTY
reuse: forcing reuse of net rule BITCOIN_MALWARE
reuse: forcing reuse of net rule SINGLETS_LOW_CONTRAST
reuse: forcing reuse of net rule T_PDS_FROM_2_EMAILS
reuse: forcing reuse of net rule TEQF_USR_MSGID_HEX
reuse: forcing reuse of net rule FORM_FRAUD
reuse: forcing reuse of net rule TO_EQ_FM_SPF_FAIL
reuse: forcing reuse of net rule __SPF_FULL_PASS
reuse: forcing reuse of net rule TEQF_USR_MSGID_MALF
reuse: forcing reuse of net rule __SPOOFED_FREEM_REPTO
reuse: forcing reuse of net rule SPOOFED_FREEM_REPTO_CHN
reuse: forcing reuse of net rule __VIA_RESIGNER
reuse: forcing reuse of net rule __FROM_FMBLA_NEWDOM
reuse: forcing reuse of net rule __FROM_FMBLA_NEWDOM14
reuse: forcing reuse of net rule DKIM_INVALID
reuse: forcing reuse of net rule HTML_SINGLET_MANY
reuse: forcing reuse of net rule __FROM_FMBLA_NDBLOCKED
reuse: forcing reuse of net rule __FORM_LOW_CONTRAST
reuse: forcing reuse of net rule STOCK_LOW_CONTRAST
reuse: forcing reuse of net rule __TO_EQ_FROM_USR_NN_MINFP
reuse: forcing reuse of net rule __TO_EQ_FM_DOM_SPF_FAIL
reuse: forcing reuse of net rule RCVD_IN_MSPIKE_ZBI
reuse: forcing reuse of net rule NML_ADSP_CUSTOM_MED
reuse: forcing reuse of net rule TO_NO_BRKTS_MSFT
reuse: forcing reuse of net rule T_MANY_HDRS_LCASE
reuse: forcing reuse of net rule FORM_FRAUD_3
reuse: forcing reuse of net rule SPOOFED_FREEM_REPTO_RUS
reuse: forcing reuse of net rule FROM_MISSP_REPLYTO
reuse: forcing reuse of net rule T_GB_FROMNAME_SPOOFED_EMAIL_IP
reuse: forcing reuse of net rule XPRIO
reuse: forcing reuse of net rule BITCOIN_SPAM_05
reuse: forcing reuse of net rule T_BTC_ORG
reuse: forcing reuse of net rule __TO_EQ_FM_SPF_FAIL
reuse: forcing reuse of net rule TO_EQ_FM_DOM_SPF_FAIL
reuse: forcing reuse of net rule NML_ADSP_CUSTOM_LOW
reuse: forcing reuse of net rule TVD_SPACE_RATIO_MINFP
reuse: forcing reuse of net rule TEQF_USR_IMAGE
reuse: forcing reuse of net rule RCVD_IN_MSPIKE_WL
reuse: forcing reuse of net rule __NOT_SPOOFED
reuse: forcing reuse of net rule SPOOFED_FREEM_REPTO

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7735] Meta rules need to handle missing/unrun dependencies

2019-08-31 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

--- Comment #1 from Henrik Krohns  ---

Committed net flags inheriting.

Sendinglib/Mail/SpamAssassin/Conf/Parser.pm
Transmitting file data .done
Committing transaction...
Committed revision 1866216.

Please try to monitor if anything funny happens in mass checks etc. :-)

This is seen from current ruleset:

meta SINGLETS_LOW_CONTRAST inherits tflag net, depends on DKIM_VALID
meta SPOOFED_FREEM_REPTO inherits tflag net, depends on SPF_PASS
meta NORDNS_LOW_CONTRAST inherits tflag net, depends on SPF_PASS
meta T_END_FUTURE_EMAILS inherits tflag net, depends on DKIM_SIGNED
meta __NOT_SPOOFED inherits tflag net, depends on SPF_PASS
meta TVD_SPACE_ENCODED inherits tflag net, depends on DKIM_VALID
meta T_SUBJ_BRKN_WORDNUMS inherits tflag net, depends on DKIM_SIGNED
meta NML_ADSP_CUSTOM_HIGH inherits tflag net, depends on __RESIGNER1
meta T_BTC_ORG inherits tflag net, depends on DKIM_SIGNED
meta URI_WP_HACKED_2 inherits tflag net, depends on SPF_PASS
meta STOCK_LOW_CONTRAST inherits tflag net, depends on __NOT_SPOOFED
meta FORM_LOW_CONTRAST inherits tflag net, depends on DKIM_VALID
meta URI_ONLY_MSGID_MALF inherits tflag net, depends on SPF_PASS
meta TEQF_USR_MSGID_MALF inherits tflag net, depends on SPF_PASS
meta FORM_FRAUD_3 inherits tflag net, depends on DKIM_VALID
meta __HTML_FONT_LOW_CONTRAST_MINFP inherits tflag net, depends on DKIM_VALID
meta TO_NO_BRKTS_MSFT inherits tflag net, depends on __NOT_SPOOFED
meta T_GB_FROMNAME_SPOOFED_EMAIL_IP inherits tflag net, depends on
__NOT_SPOOFED
meta __SPOOFED_FREEM_REPTO inherits tflag net, depends on SPF_PASS
meta DKIM_INVALID inherits tflag net, depends on DKIM_SIGNED
meta URI_WP_HACKED inherits tflag net, depends on DKIM_VALID
meta SPOOFED_FREEMAIL_NO_RDNS inherits tflag net, depends on DKIM_VALID
meta __VIA_RESIGNER inherits tflag net, depends on __RESIGNER1
meta T_FROMNAME_SPOOFED_EMAIL inherits tflag net, depends on __RESIGNER1
meta TEQF_USR_MSGID_HEX inherits tflag net, depends on SPF_PASS
meta T_MANY_HDRS_LCASE inherits tflag net, depends on SPF_PASS
meta __SPOOFED_FREEMAIL inherits tflag net, depends on __NOT_SPOOFED
meta TEQF_USR_IMAGE inherits tflag net, depends on DKIM_VALID
meta BITCOIN_MALWARE inherits tflag net, depends on DKIM_VALID
meta __TO_EQ_FROM_USR_NN_MINFP inherits tflag net, depends on SPF_PASS
meta NML_ADSP_CUSTOM_MED inherits tflag net, depends on __RESIGNER2
meta HTML_SINGLET_MANY inherits tflag net, depends on SPF_PASS
meta FORM_FRAUD inherits tflag net, depends on DKIM_VALID
meta NML_ADSP_CUSTOM_LOW inherits tflag net, depends on __VIA_RESIGNER
meta __FORM_LOW_CONTRAST inherits tflag net, depends on
__HTML_FONT_LOW_CONTRAST_MINFP
meta BODY_EMPTY inherits tflag net, depends on __NOT_SPOOFED
meta COMPENSATION inherits tflag net, depends on DKIM_VALID
meta T_PDS_FROM_2_EMAILS inherits tflag net, depends on __VIA_RESIGNER
meta FROM_MISSP_REPLYTO inherits tflag net, depends on SPF_PASS
meta BITCOIN_SPAM_05 inherits tflag net, depends on __SPOOFED_FREEMAIL
meta SPOOFED_FREEM_REPTO_RUS inherits tflag net, depends on
__SPOOFED_FREEM_REPTO
meta BODY_URI_ONLY inherits tflag net, depends on SPF_PASS
meta TVD_SPACE_RATIO_MINFP inherits tflag net, depends on DKIM_VALID
meta HDRS_LCASE inherits tflag net, depends on SPF_PASS
meta SPOOFED_FREEM_REPTO_CHN inherits tflag net, depends on __NOT_SPOOFED

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: 3.4.3-rc4 was Re: 3.4.3-rc3

2019-08-31 Thread Giovanni Bechis
On Sat, Aug 31, 2019 at 12:44:32AM -0400, Kevin A. McGrail wrote:
> Resending due to the subject issue...
> 
r1866198 that adds v343.pre to the MANIFEST is needed,
we need to release a rc5 because of that.

 Giovanni

> On 8/31/2019 12:43 AM, Kevin A. McGrail wrote:
> > Evening All,
> >
> > 3.4.3 rc4 is now available at http://talon2.pccc.com/~kmcgrail/devel/
> >
> >
> > sha256sum of archive files:
> >
> >   0024d53893a3d6075132d24f676a74b067888bca4bd442187663624977b6d956  
> > Mail-SpamAssassin-3.4.3-rc4.tar.bz2
> >   8e53020173ff8f6709fa38f84aa570a1a19251b7b56425e8f25e7e028450c58f  
> > Mail-SpamAssassin-3.4.3-rc4.tar.gz
> >   26d1d2997b1fac4c27900d069491209a2108ae7fc4a0d7e75ad70d80b321296a  
> > Mail-SpamAssassin-3.4.3-rc4.zip
> >   3507ca2450096e154881e9fd5eac0592363170f5f2486932d317b75d8659228a  
> > Mail-SpamAssassin-rules-3.4.3-rc4.r1866061.tgz
> >
> > sha512sum of archive files:
> >
> >   
> > b9761546c77047546e1adcfa86898a119b12acef292a9e88391467e382aca1942c1ec77266f828e1d893ab7be5bc9fdb1adffe248c79c2cc00ad8c53efed4595
> >   Mail-SpamAssassin-3.4.3-rc4.tar.bz2
> >   
> > 1287fd3cf9b81d0c4b982f6ad7d3a8cf4318e9736d1f7863a32d17165f6487ee3b81c9d4a291267cb8d0a6bcc91fbda96c1e278c3b95c9f4416d5aaa0c6a3774
> >   Mail-SpamAssassin-3.4.3-rc4.tar.gz
> >   
> > 8d8cd2dc5a2a351b574016b1ed6a0715941edc7fab5bf1e3d523ca36230c768ea419279e27abcb7ddb40851083d33426e0f89d5e874bf8a8d0c877d9a4896e8a
> >   Mail-SpamAssassin-3.4.3-rc4.zip
> >   
> > 483dbbef66a74f32cc92dcd3be6ddf0676a0d838455f2df70605c369e9994459533501dfccfa8d1621d674b1f234480e9f76d17c66aed15cc354876b7a8a
> >   Mail-SpamAssassin-rules-3.4.3-rc4.r1866061.tgz
> >
> > Regards,
> > KAM
> >
> > -- Kevin A. McGrail Member, Apache Software Foundation Chair Emeritus
> > Apache SpamAssassin Project https://www.linkedin.com/in/kmcgrail -
> > 703.798.0171
> 
> -- 
> Kevin A. McGrail
> kmcgr...@apache.org
> 
> Member, Apache Software Foundation
> Chair Emeritus Apache SpamAssassin Project
> https://www.linkedin.com/in/kmcgrail - 703.798.0171
> 


signature.asc
Description: PGP signature