[Bug 7644] Extreme scores from FRNAME rules.

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7644

John Hardin  changed:

   What|Removed |Added

 CC||jhar...@impsec.org
 Resolution|--- |INVALID
 Status|NEW |RESOLVED

--- Comment #1 from John Hardin  ---
Please take concerns about rule scores / FPs to the Users list first. Thanks.

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

[Bug 7643] False positive DATE_IN_FUTURE

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7643

RW  changed:

   What|Removed |Added

 CC||rwmailli...@googlemail.com

--- Comment #1 from RW  ---
I suggest you take this to the user list. DATE_IN_FUTURE is based on the
headers that are in the email when the scan takes place. It's a case of
"garbage in, garbage out" The chance that this is a SpamAssassin bug is very
small.

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

[Bug 7647] syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

--- Comment #7 from Reindl Harald  ---
you have the whole command already at
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647#c4

perl-interpreter-5.26.2-413.fc28.x86_64

perl-Algorithm-Diff-1.1903-9.fc28.noarch
perl-Archive-Tar-2.28-1.fc28.noarch
perl-BerkeleyDB-0.55-11.fc28.x86_64
perl-BSD-Resource-1.291.100-5.fc28.x86_64
perl-Carp-1.42-396.fc28.noarch
perl-Compress-Raw-Bzip2-2.081-1.fc28.x86_64
perl-Compress-Raw-Zlib-2.081-1.fc28.x86_64
perl-constant-1.33-396.fc28.noarch
perl-Crypt-OpenSSL-Bignum-0.09-2.fc28.x86_64
perl-Crypt-OpenSSL-Random-0.11-9.fc28.x86_64
perl-Crypt-OpenSSL-RSA-0.28-21.fc28.x86_64
perl-Data-Dump-1.23-7.fc28.noarch
perl-Data-Dumper-2.167-399.fc28.x86_64
perl-Date-Manip-6.73-1.fc28.noarch
perl-DB_File-1.842-1.fc28.x86_64
perl-Digest-1.17-395.fc28.noarch
perl-Digest-HMAC-1.03-17.fc28.noarch
perl-Digest-MD5-2.55-396.fc28.x86_64
perl-Digest-SHA-6.02-1.fc28.x86_64
perl-Encode-2.97-3.fc28.x86_64
perl-Encode-Detect-1.01-26.fc28.x86_64
perl-Encode-Locale-1.05-9.fc28.noarch
perl-Errno-1.28-413.fc28.x86_64
perl-Error-0.17025-2.fc28.noarch
perl-Exporter-5.72-396.fc28.noarch
perl-File-Listing-6.04-17.fc28.noarch
perl-File-Path-2.16-1.fc28.noarch
perl-File-Scan-ClamAV-1.93-7.fc28.20181003.rh.noarch
perl-File-Tail-1.3-8.fc28.noarch
perl-File-Temp-0.230.600-1.fc28.noarch
perl-Getopt-Long-2.50-4.fc28.noarch
perl-HTML-Parser-3.72-11.fc28.x86_64
perl-HTML-Tagset-3.20-33.fc28.noarch
perl-HTTP-Cookies-6.04-2.fc28.noarch
perl-HTTP-Date-6.02-18.fc28.noarch
perl-HTTP-Message-6.18-1.fc28.noarch
perl-HTTP-Negotiate-6.01-19.fc28.noarch
perl-HTTP-Tiny-0.076-1.fc28.noarch
perl-interpreter-5.26.2-413.fc28.x86_64
perl-IO-1.38-413.fc28.x86_64
perl-IO-Compress-2.081-1.fc28.noarch
perl-IO-HTML-1.001-10.fc28.noarch
perl-IO-Multiplex-1.16-9.fc28.noarch
perl-IO-Socket-INET6-2.72-12.fc28.noarch
perl-IO-Socket-IP-0.39-5.fc28.noarch
perl-IO-Socket-SSL-2.056-1.fc28.noarch
perl-IO-Zlib-1.10-413.fc28.noarch
perl-libnet-3.11-3.fc28.noarch
perl-libs-5.26.2-413.fc28.x86_64
perl-libwww-perl-6.34-1.fc28.noarch
perl-LWP-MediaTypes-6.02-14.fc28.noarch
perl-macros-5.26.2-413.fc28.x86_64
perl-Mail-DKIM-0.52-2.fc28.noarch
perl-Mail-SPF-2.9.0-15.fc28.noarch
perl-MailTools-2.20-2.fc28.noarch
perl-Math-BigInt-1.9998.11-5.fc28.noarch
perl-Math-Complex-1.59-413.fc28.noarch
perl-MIME-Base64-3.15-396.fc28.x86_64
perl-NetAddr-IP-4.079-7.fc28.x86_64
perl-Net-CIDR-Lite-0.21-20.fc28.noarch
perl-Net-DNS-1.15-1.fc28.noarch
perl-Net-HTTP-6.18-1.fc28.noarch
perl-Net-Patricia-1.22-17.fc28.x86_64
perl-Net-Server-2.009-2.fc28.noarch
perl-Net-SMTP-SSL-1.04-5.fc28.noarch
perl-Net-SSLeay-1.85-1.fc28.x86_64
perl-NTLM-1.09-17.fc28.noarch
perl-parent-0.236-395.fc28.noarch
perl-PathTools-3.75-1.fc28.x86_64
perl-Pod-Escapes-1.07-395.fc28.noarch
perl-podlators-4.11-1.fc28.noarch
perl-Pod-Perldoc-3.28.01-1.fc28.noarch
perl-Pod-Simple-3.35-395.fc28.noarch
perl-Pod-Usage-1.69-395.fc28.noarch
perl-Razor-Agent-2.85-29.fc28.x86_64
perl-Scalar-List-Utils-1.49-2.fc28.x86_64
perl-Socket-2.027-2.fc28.x86_64
perl-Socket6-0.28-6.fc28.x86_64
perl-Storable-3.11-3.fc28.x86_64
perl-Sys-CPU-0.61-14.fc28.x86_64
perl-Sys-MemInfo-0.99-6.fc28.x86_64
perl-Sys-Syslog-0.35-397.fc28.x86_64
perl-Term-ANSIColor-4.06-396.fc28.noarch
perl-Term-Cap-1.17-395.fc28.noarch
perl-Text-Diff-1.45-2.fc28.noarch
perl-Text-ParseWords-3.30-395.fc28.noarch
perl-Text-Tabs+Wrap-2013.0523-395.fc28.noarch
perl-threads-2.21-2.fc28.x86_64
perl-threads-shared-1.58-2.fc28.x86_64
perl-TimeDate-2.30-13.fc28.noarch
perl-Time-HiRes-1.9758-1.fc28.x86_64
perl-Time-Local-1.280-1.fc28.noarch
perl-Try-Tiny-0.30-2.fc28.noarch
perl-Unicode-Normalize-1.25-396.fc28.x86_64
perl-URI-1.73-2.fc28.noarch
perl-version-0.99.24-1.fc28.x86_64
perl-WWW-RobotRules-6.02-18.fc28.noarch
rrdtool-perl-1.7.0-11.fc28.x86_64

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

[Bug 7647] syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

--- Comment #6 from Dave Jones  ---
What is your version of perl?  I am still running CentOS 6 so it's v5.14.1.

Can you show what the command is in the spamfilter-check-config.sh so I can see
the whole line with arguments?  I would like to run the same command on my
server to see if that makes a difference.

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

[Bug 7647] syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

Reindl Harald  changed:

   What|Removed |Added

 CC||h.rei...@thelounge.net

--- Comment #5 from Reindl Harald  ---
"cat /var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf |
grep -i scoresptr" also don't show anything for this but i guess the problem
starts at the first error


[root@mail-gw:~]$ /usr/bin/bash /usr/local/bin/spamfilter-check-config.sh
Oct 22 14:00:08.444 [1387595] warn: Backslash found where operator expected at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__MY_VICTIM, line 1, near "svictim\"
Oct 22 14:00:08.445 [1387595] warn: rules: failed to compile
Mail::SpamAssassin::Plugin::Check::_body_tests_0_4, skipping:
Oct 22 14:00:08.445 [1387595] warn:  (syntax error at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__MY_VICTIM, line 1, near "/\b(?: [...]hi|hello),/("
Oct 22 14:00:08.445 [1387595] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__MY_VICTIM, line 10.
Oct 22 14:00:08.445 [1387595] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__NOT_DEAD_YET, line 10.
Oct 22 14:00:08.445 [1387595] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
TVD_APPROVED, line 10.
Oct 22 14:00:08.445 [1387595] warn: syntax error at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_drugs.cf, rule
__DRUGS_ANXIETY2, line 9, near "}
Oct 22 14:00:08.445 [1387595] warn:  }")

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

[Bug 7647] syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

--- Comment #3 from Dave Jones  ---
I don't have "scoresptr" in my 72_active.cf so not sure what is going on there.

# pwd
/var/lib/spamassassin/3.004001/updates_spamassassin_org
# grep scoresptr 72_active.cf 
# ll 72_active.cf 
-rw-r--r-- 1 root root 268811 Oct 22 03:32 72_active.cf

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

[Bug 7647] syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

--- Comment #2 from Dave Jones  ---
My production mail filters received today's update but I don't have any errors
during a lint test.

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

[Bug 7647] syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

Dave Jones  changed:

   What|Removed |Added

 CC||da...@apache.org

--- Comment #1 from Dave Jones  ---
Yes.  The nightly script does do a lint but obviously something has made it
through.

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

Rule updates are too old - 2018-10-22

2018-10-22 Thread darxus
20181021:  Spam or ham is below threshold of 150,000:  
http://ruleqa.spamassassin.org/?daterev=20181021
20181021:  Spam: 106447, Ham: 284300


The spam and ham counts on which this script alerts are from
http://ruleqa.spamassassin.org/?daterev=20181021
Click "(source details)" (it's tiny and low contrast).
It's from the second and third columns of the line that ends with
"(all messages)"

The source to this script is
http://www.chaosreigns.com/sa/update-version-mon.pl

It looks like both the weekly and nightly masschecks need to have sufficient
corpora in order for an update to be generated.


[Bug 7647] New: syntax errors in todays sa-update

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647

Bug ID: 7647
   Summary: syntax errors in todays sa-update
   Product: Spamassassin
   Version: 3.4.2
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: RuleQA
  Assignee: dev@spamassassin.apache.org
  Reporter: h.rei...@thelounge.net
  Target Milestone: Undefined

do you guys not --lint the updates you push out?

seems that was a problem already in the past
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=4755

 Weitergeleitete Nachricht 
Betreff: /usr/local/bin/spamfilter-check-config.sh
Datum: Mon, 22 Oct 2018 12:30:04 +0200 (CEST)

Oct 22 12:30:04.274 [1379652] warn: Backslash found where operator expected at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__MY_VICTIM, line 1, near "svictim\"
Oct 22 12:30:04.280 [1379652] warn: rules: failed to compile
Mail::SpamAssassin::Plugin::Check::_body_tests_0_2, skipping:
Oct 22 12:30:04.280 [1379652] warn:  (syntax error at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__MY_VICTIM, line 1, near "/\b(?: [...]hi|hello),/("
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__MY_VICTIM, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_phrases.cf, rule
GUARANTEED_100_PERCENT, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_vbounce.cf, rule
__VBOUNCE_MAILSWEEP, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__I_INHERIT, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_advance_fee.cf, rule
__FRAUD_IOU, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__COMPENSATION, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_drugs.cf, rule
__DRUGS_SLEEP4, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
EXCUSE_24, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__TVD_PH_BODY_08, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_advance_fee.cf, rule
__FRAUD_NRG, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/20_drugs.cf, rule
__DRUGS_PAIN9, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__YOUR_PERM, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__DOS_I_AM_25, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__I_WILL_YOU, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you forget to declare "my $scoresptr"?) at
/var/lib/spamassassin/3.004002/updates_spamassassin_org/72_active.cf, rule
__INVEST_COUNTRY, line 10.
Oct 22 12:30:04.280 [1379652] warn: Global symbol "$scoresptr" requires
explicit package name (did you 

[Bug 7646] New: spamd running with virtual-config-dir mkdir error

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646

Bug ID: 7646
   Summary: spamd running with virtual-config-dir mkdir error
   Product: Spamassassin
   Version: 3.4.2
  Hardware: PC
OS: Linux
Status: NEW
  Severity: major
  Priority: P2
 Component: spamc/spamd
  Assignee: dev@spamassassin.apache.org
  Reporter: grava...@kng.it
  Target Milestone: Undefined

Hi, 
I'm installin our new relay and as before I'm running spamd with
--virtual-config-dir option enabled:
"spamd -d --pidfile=/var/run/spamd.pid -c -x
--virtual-config-dir=/var/lib/spamassassin/vconfig/%u/ --allow-tell -u
debian-spamd -g debian-spamd --max-children=5 --min-children=3 --max-spare=3"

It works well but it cannot create the vconfig dir if it's not existing.
I've put spamd in debug and the problem is with perl tainted:

config: mkdir /var/lib/spamassassin/vconfig/giuseppe/ failed: Insecure
dependency in mkdir while running with -T switch at
/usr/share/perl/5.26/File/Path.pm line 177,  line 2.

I solved the problem running spamd without -T option (as arch linux is doing)
but it could be great to fix this tainted variable.

Thanks
Giuseppe

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

[Bug 7645] New: Wide character in print at /usr/bin/sa-compile line 433

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7645

Bug ID: 7645
   Summary: Wide character in print at /usr/bin/sa-compile line
433
   Product: Spamassassin
   Version: 3.4.2
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: sa-compile
  Assignee: dev@spamassassin.apache.org
  Reporter: f.dellw...@netfutura.de
  Target Milestone: Undefined

Created attachment 5608
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5608=edit
sa-compile full log

Hi,

since the last update I'm getting this annoying message each time sa-compile
runs (in quiet mode).

> Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 2333.
> Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 2334.
> Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 2849.
> Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 3198.
> Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 3762.

I attached the whole log (without quiet mode).

I'm running Ubuntu 14.04 (Linux mail 4.4.0-130-generic #156~14.04.1-Ubuntu SMP
Thu Jun 14 13:54:07 UTC 2018 i686 athlon i686 GNU/Linux) with german locale:

> [09:44 root@mail ~] > locale
> LANG=de_DE.UTF-8
> LANGUAGE=
> LC_CTYPE="de_DE.UTF-8"
> LC_NUMERIC="de_DE.UTF-8"
> LC_TIME="de_DE.UTF-8"
> LC_COLLATE="de_DE.UTF-8"
> LC_MONETARY="de_DE.UTF-8"
> LC_MESSAGES="de_DE.UTF-8"
> LC_PAPER="de_DE.UTF-8"
> LC_NAME="de_DE.UTF-8"
> LC_ADDRESS="de_DE.UTF-8"
> LC_TELEPHONE="de_DE.UTF-8"
> LC_MEASUREMENT="de_DE.UTF-8"
> LC_IDENTIFICATION="de_DE.UTF-8"
> LC_ALL=

This is my sa-care.sh:

> #!/bin/bash
> chown -R root:root /etc/spamassassin/sa-update-keys 
> chmod -R o-rwx /etc/spamassassin/sa-update-keys 
> sa-update --nogpg --channel spamassassin.heinlein-support.de
> sa-update --channel updates.spamassassin.org
> sa-compile --quiet
> service amavis restart > /dev/null

The message occured with the last sa update this week. Any ideas how to fix
this?

P.S. I'm aware of this 11 years old bug, with no solution:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5607

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

[Bug 7644] New: Extreme scores from FRNAME rules.

2018-10-22 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7644

Bug ID: 7644
   Summary: Extreme scores from FRNAME rules.
   Product: Spamassassin
   Version: 3.4.2
  Hardware: PC
OS: Mac OS X
Status: NEW
  Severity: normal
  Priority: P2
 Component: Rules
  Assignee: dev@spamassassin.apache.org
  Reporter: r...@mrstuudio.ee
  Target Milestone: Undefined

Created attachment 5607
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5607=edit
Sample e-mail.

Hello!

I have this perfectly legit mail that has a +7.5 score from these three rules. 

*  2.5 FRNAME_IN_MSG_XPRIO From name in message + X-Priority
*  2.5 XPRIO_SHORT_SUBJ Has X-Priority header + short subject
*  2.5 FRNAME_IN_MSG_NO_SUBJ From name in message + short or no subject

If it wasn't for the -1.9 from Bayes and -2.6 from TxRep, it would have been
thrown away.

Should these XPRIO/FRNAME rules stack like this?

Thanks!
Reio

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