Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 151137 - description for ... is over 50 chars
Summary: description for ... is over 50 chars
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Warren Togami
QA Contact:
Depends On:
Blocks: FC5Target
TreeView+ depends on / blocked
Reported: 2005-03-15 11:27 UTC by Felix Schwarz
Modified: 2007-11-30 22:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-10-18 03:01:44 UTC

Attachments (Terms of Use)
output from spamassassin --lint --debug (deleted)
2005-03-15 11:30 UTC, Felix Schwarz
no flags Details

Description Felix Schwarz 2005-03-15 11:27:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

Description of problem:
Some of the default rules doesn't pass the SpamAssassin checks (spamassassin --lint). Therefore it isn't possible to use the rules du jour.

It seems that some rule descriptions are simply too long.
warning: description for ... is over 50 chars

Version-Release number of selected component (if applicable):
SpamAssassin 3.0.1, Perl 5.8.5

How reproducible:

Steps to Reproduce:
1. spamassassin --lint --debug

Actual Results:  I will attach a log after submitting

Expected Results:  no warnings about non-existing rules and all descriptions below 50 chars.

Additional info:

Comment 1 Felix Schwarz 2005-03-15 11:30:34 UTC
Created attachment 112011 [details]
output from spamassassin --lint --debug

The lines "length is: xx chars" have been added by me by patching in
order to see how long the description is. Please note that there are four
descriptions for non-existant rules ("warning: description exists for
non-existent ...").

Comment 2 Felix Schwarz 2005-03-15 11:41:03 UTC
After some debugging I think I found the error source. It seems to be a locale

[root@ipx10171 rules]# locale

[root@ipx10171 rules]# grep -i HTML_SHOUTING4 /usr/share/spamassassin/*
/usr/share/spamassassin/ HTML_SHOUTING4           
/usr/share/spamassassin/ HTML_SHOUTING4               
HTML has very strong "shouting" markup
/usr/share/spamassassin/ de describe HTML_SHOUTING4 Viele
visuell auffällige ("schreiende") HTML-Elemente

perl -e "print length('Viele visuell auffällige (\"schreiende\") HTML-Elemente');"
perl -e "print length('HTML has very strong \"shouting\" markup');"

Obviously there is an error in the translation of the rule description (longer
than 50 chars).

A diff -u /usr/share/spamassassin/ shows that there
is no notable difference between the upstream version (first file, default
SpamAssassin 3.0.1) and the Fedora version. Therefore this bug exists in

As you can see below the bug is still present in the current SpamAssassin version.
cd Mail-SpamAssassin-3.0.2/rules
diff -u ~/Mail-SpamAssassin-3.0.1/rules/
(no output)

I will file a bug in the SpamAssassin Bugzilla.

Comment 3 Felix Schwarz 2005-03-15 11:48:58 UTC
The issue is being discussed in the SpamAssassin Bugzilla:

Comment 4 Justin Mason 2005-03-15 17:23:47 UTC
already fixed upstream in 3.1.0 svn trunk.

Comment 5 Warren Togami 2005-10-18 03:01:44 UTC
Fixed in rawhide, and not worth fixing in earlier spamassassin-3.0.x

Note You need to log in before you can comment on or make changes to this bug.