-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/07/09 03:05, quoth Mark Martinec:
Steven,
Jul 6 22:38:08 saturn spamd[32217]: Argument 2.long isn't \
numeric in numeric lt () at \
/usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/PerMsgStatus.pm line
1004.
Should I be concerned?
595 spamassassin -V
SpamAssassin version 3.2.5
running on Perl version 5.10.0
596
Fedora 10
Do I have a problem?
Looks like you have a typo in a config file where a format
for HAMMYTOKENS or SPAMMYTOKENS is specified.
Argument should be 2,long, not 2.long (comma, not a dot).
man Mail::SpamAssassin::Conf :
The HAMMYTOKENS and SPAMMYTOKENS tags have an optional second argument
which specifies a format. See the HAMMYTOKENS/SPAMMYTOKENS TAG FORMAT
section, below, for details.
HAMMYTOKENS/SPAMMYTOKENS TAG FORMAT
The HAMMYTOKENS and SPAMMYTOKENS tags have an optional second argument
which specifies a format: _SPAMMYTOKENS(N,FMT)_, _HAMMYTOKENS(N,FMT)_
The following formats are available:
[...]
long
Probability, declassification distance, number of times seen in a ham
message, number of times seen in a spam message, age and the token are
listed.
For example, preference file entry:
add_header all Spammy _SPAMMYTOKENS(2,long)_
Mark
Mark. Thanks for replying.
I think you got something there. I commented out a bunch of old and useless
stuff from the local.cf and the problem seemed to go away. I don't actually
see anything wrong with what I removed so I was wondering if I could borrow
your eyeballs to see if there's anything obvious. My guess is that I'm doing
something wrong with perl re meta-chars.
header MY_NUMERIC_TO To =~ /^[\d@syslang\.net/i
score MY_NUMERIC_TO 5.0
describeMY_NUMERIC_TO All numeric address in To:
header MY_MNUMERIC_TO To =~ /^?m\...@syslang.net/i
score MY_MNUMERIC_TO 5.0
describeMY_MNUMERIC_TO All numeric address after M in To:
header MY_MAIL_TO To =~ /.*mail...@syslang.net/i
score MY_MAIL_TO 5.0
describeMY_MAIL_TO All address have mail in To:
body MY_IMPORTANT_REPLACE /(Important\S* )?Replace . with . in the above
link/i
score MY_IMPORTANT_REPLACE 3.0
describe MY_IMPORTANT_REPLACE Messages which explain how to fix a broken link
body MY_IMPORTANT_REMOVE /(Important\S* )?Remove \S+ (in the above|from the)
link/i
score MY_IMPORTANT_REMOVE 3.0
describe MY_IMPORTANT_REMOVE Messages which explain how to fix a broken link
body MY_IMPORTANT_REMOVE2 /(Important\S* )?Remove \S+ to make the link working/i
score MY_IMPORTANT_REMOVE2 3.0
describe MY_IMPORTANT_REMOVE2 Messages which explain how to fix a broken link
# Nice girl wants to send pics, but only if you email the address in the body
# start scoring at .5, see how that whacks'em.
body NICE_GIRL_01 /Hello! I am (?:bored|tired) (?:today|this
(?:afternoon|evening)|tonight)\./
describe NICE_GIRL_01 Nice girls dont spam
score NICE_GIRL_01 1.6
body NICE_GIRL_02 /I am nice girl that would like to chat with you\./
describe NICE_GIRL_02 Nice girls dont spam
score NICE_GIRL_02 1.6
body NICE_GIRL_03 /Email me at [^\s]{,74} only, because I am writing not
from my personal email\./
describe NICE_GIRL_03 Nice girls dont spam
score NICE_GIRL_03 1.6
body NICE_GIRL_032 /Email me at [^\s]{,74} only, because I am using my
friend\'s email/
describe NICE_GIRL_032 Nice girls dont spam
score NICE_GIRL_032 1.6
body VIRUS_CURE_1 /This letter contains a virus which has been/
describe VIRUS_CURE_1 Catcher for ...successfully detected and cured
score VIRUS_CURE_1 2.5
# not actually the same spam, but same class/type
body NICE_GIRL_04 /I will respond right away and send a pic and some of
my info right away/
score NICE_GIRL_04 1.6
describe NICE_GIRL_04 Nice girls don\'t spam
body NICE_GIRL_05 /Reply to me and tell me about yourself if you want
to chat/
score NICE_GIRL_05 1.6
describe NICE_GIRL_05 Nice girls dont spam
# Seniors reverse mortgage
body SEN_REV_MORT_00 /803338/
describe SEN_REV_MORT_00 Senior reverse mortgage
score SEN_REV_MORT_00 4
body SEN_REV_MORT_01 /Find out how much you can get with our simple online
calculator/
describe SEN_REV_MORT_01 Senior reverse mortgage duh
score SEN_REV_MORT_01 4
body SEN_REV_MORT_02 /10163-4668/
describe SEN_REV_MORT_02 Senior reverse mortgage2
score SEN_REV_MORT_02 4
body SEN_REV_MORT_03 /Seniors recognize/
describe SEN_REV_MORT_03 Senior reverse mortgage3
score SEN_REV_MORT_3 4
body SEN_REV_MORT_4/wealth they have accumulated/
describe SEN_REV_MORT_04 Senior reverse mortgage4
score SEN_REV_MORT_4 4
body SEN_REV_MORT_5 /you know that there is a federally insured program
that will allow you to/
describe SEN_REV_MORT_5 Senior reverse mortgage5
score SEN_REV_MORT_5 4
body SEN_REV_MORT_6 /We're committed to exceptional customer service/