You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Rosenbaum, Larry M." <ro...@ornl.gov> on 2007/08/14 17:18:18 UTC
warning - score undef for rule 'MISSING_SUBJECT'...
The first time I run sa-update after a v3.2.3 install, I get the
following warnings:
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 2140.
rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 2140.
rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 2140.
rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
line 2140.
...
(repeated several times)
The update succeeds anyway. What causes these warnings?
Thanks, Larry
RE: warning - score undef for rule 'MISSING_SUBJECT'...
Posted by Skip Brott <sb...@dmp.com>.
> The first time I run sa-update after a v3.2.3 install, I get
> the following warnings:
>
> rules: score undef for rule 'MISSING_SUBJECT' in ''
> 'MISSING_SUBJECT' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'EMPTY_MESSAGE' in ''
> 'EMPTY_MESSAGE' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED'
> at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'MISSING_SUBJECT' in ''
> 'MISSING_SUBJECT' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'EMPTY_MESSAGE' in ''
> 'EMPTY_MESSAGE' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED'
> at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> ...
> (repeated several times)
>
I got these as well for both upgrades to 3.2.2 and 3.2.3...
- Skip
RE: warning - score undef for rule 'MISSING_SUBJECT'...
Posted by Leon Kolchinsky <lk...@univ.haifa.ac.il>.
> > > The first time I run sa-update after a v3.2.3 install, I get the
> > > following warnings:
> > >
> > > rules: score undef for rule 'MISSING_SUBJECT' in ''
> 'MISSING_SUBJECT'
> > at
> > > ...
> >
> > The score MISSING_SUBJECT is removed from 3.1.x and 3.2.x now.
> > You could check your local.cf (or in some .pre file) for this score
> and
> > remove it.
>
> That's not what grep says:
>
> email# grep MISSING_SUBJECT
> /var/lib/spamassassin/3.002003/updates_spamassassin_org/*
> /var/lib/spamassassin/3.002003/updates_spamassassin_org/20_head_tests.cf
> :meta MISSING_SUBJECT !__HAS_SUBJECT
> /var/lib/spamassassin/3.002003/updates_spamassassin_org/20_head_tests.cf
> :describe MISSING_SUBJECT Missing Subject: header
> /var/lib/spamassassin/3.002003/updates_spamassassin_org/30_text_de.cf:la
> ng de describe MISSING_SUBJECT Betreff ("Subject") fehlt
> /var/lib/spamassassin/3.002003/updates_spamassassin_org/50_scores.cf:sco
> re MISSING_SUBJECT 2.307 1.285 2.476 1.762
>
> email# grep MISSING_SUBJECT /usr/local/share/spamassassin/*.cf
> /usr/local/share/spamassassin/20_head_tests.cf:meta MISSING_SUBJECT
> !__HAS_SUBJECT
> /usr/local/share/spamassassin/20_head_tests.cf:describe MISSING_SUBJECT
> Missing Subject: header
> /usr/local/share/spamassassin/30_text_de.cf:lang de describe
> MISSING_SUBJECT Betreff ("Subject") fehlt
> /usr/local/share/spamassassin/50_scores.cf:score MISSING_SUBJECT 2.307
> 1.285 2.476 1.762
>
> email# grep MISSING_SUBJECT /etc/mail/spamassassin/*.cf
> email#
Right, I'm seeing those too, but according to this http://spamassassin.apache.org/tests_3_2_x.html there is no such score.
Regards,
Leon
RE: warning - score undef for rule 'MISSING_SUBJECT'...
Posted by "Rosenbaum, Larry M." <ro...@ornl.gov>.
> From: Leon Kolchinsky [mailto:lkolchin@univ.haifa.ac.il]
>
> > The first time I run sa-update after a v3.2.3 install, I get the
> > following warnings:
> >
> > rules: score undef for rule 'MISSING_SUBJECT' in ''
'MISSING_SUBJECT'
> at
> > ...
>
> The score MISSING_SUBJECT is removed from 3.1.x and 3.2.x now.
> You could check your local.cf (or in some .pre file) for this score
and
> remove it.
That's not what grep says:
email# grep MISSING_SUBJECT
/var/lib/spamassassin/3.002003/updates_spamassassin_org/*
/var/lib/spamassassin/3.002003/updates_spamassassin_org/20_head_tests.cf
:meta MISSING_SUBJECT !__HAS_SUBJECT
/var/lib/spamassassin/3.002003/updates_spamassassin_org/20_head_tests.cf
:describe MISSING_SUBJECT Missing Subject: header
/var/lib/spamassassin/3.002003/updates_spamassassin_org/30_text_de.cf:la
ng de describe MISSING_SUBJECT Betreff ("Subject") fehlt
/var/lib/spamassassin/3.002003/updates_spamassassin_org/50_scores.cf:sco
re MISSING_SUBJECT 2.307 1.285 2.476 1.762
email# grep MISSING_SUBJECT /usr/local/share/spamassassin/*.cf
/usr/local/share/spamassassin/20_head_tests.cf:meta MISSING_SUBJECT
!__HAS_SUBJECT
/usr/local/share/spamassassin/20_head_tests.cf:describe MISSING_SUBJECT
Missing Subject: header
/usr/local/share/spamassassin/30_text_de.cf:lang de describe
MISSING_SUBJECT Betreff ("Subject") fehlt
/usr/local/share/spamassassin/50_scores.cf:score MISSING_SUBJECT 2.307
1.285 2.476 1.762
email# grep MISSING_SUBJECT /etc/mail/spamassassin/*.cf
email#
RE: warning - score undef for rule 'MISSING_SUBJECT'...
Posted by Leon Kolchinsky <lk...@univ.haifa.ac.il>.
> The first time I run sa-update after a v3.2.3 install, I get the
> following warnings:
>
> rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'MISSING_SUBJECT' in '' 'MISSING_SUBJECT' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'EMPTY_MESSAGE' in '' 'EMPTY_MESSAGE' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> rules: score undef for rule 'NO_RECEIVED' in '' 'NO_RECEIVED' at
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2140.
> ...
> (repeated several times)
>
> The update succeeds anyway. What causes these warnings?
>
> Thanks, Larry
The score MISSING_SUBJECT is removed from 3.1.x and 3.2.x now.
You could check your local.cf (or in some .pre file) for this score and remove it.
Regards,
Leon Kolchinsky