You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Marc Perkel <ma...@perkel.com> on 2006/03/12 21:58:38 UTC
SA 3.11 - What's New?
Is there a What's New list somewhere?
Re: SA 3.11 - What's New?
Posted by Raymond Dijkxhoorn <ra...@prolocation.net>.
Hi!
> Is there a What's New list somewhere?
Did you read Theo's announcement? :
3.1.1 includes a large number of bug fixes and documentation updates.
Here is an abbreviated changelog (since 3.1.0) for major updates (see
the Changes file for a complete list):
- better validate a number of different configuration options
- support new Mail::DomainKeys API, which changed incompatibly between
0.18 and 0.80 without warning
- more properly handle new Received header formats
- bug 4788: backport sa-update from 3.2 along with the local_state_dir
code, etc.
- bug 4760: strictly validate trusted/internal network configurations
- bug 4696: consolidated fixes for timeout bugs
- bug 3710: add timeout to connect so spamc -t works
- bug 4363: if a message uses CRLF for line endings, use it for header
rewrites as well
- bug 4748: add ExpressionEngine and Google redirector patterns
- bug 3815: add _RELAYCOUNTRY_ tag so that the RelayCountry plugin can
put in the list of countries relayed through
- bug 4090: x86_64 platforms (linux specifically) have an issue compiling
libspamc.so causing RPM build failures
- bug 4791: fix issue where perl would throw a UTF-8 warning for certain
messages
- bugs 4606, 4609: Adjust MIME parsing limits
- bug 4780: fix IP_ADDRESS & LOCALHOST regexes to correctly parse IPv6
addresses
- bug 4728: DUL rules should only use the last external IP, not all but
the first of the external IPs
- bug 4700: certain privileged configuration settings can inject code,
due to a bad fix for bug 3846. Back that out
- bug 4655: have redhat-rc-script create .pid file for spamassassin
service to avoid killing the wrong processes and leaving spamd running
Its more of less bugfixes, new stuff is going into 3.2
Bye,
Raymond.
Re: SA 3.11 - What's New?
Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Mar 16, 2006 at 04:14:53PM -0700, Philip Prindeville wrote:
> Is there an easy way to get the list of all the debug facilities?
Not really, it's dynamic based on what you're doing. If you use just
"-D" and not specify any facilities you'll enable them all. You'll see
lines such as:
[7517] dbg: rules: running body-text per-line regexp tests; score so far=1.866
[7517] dbg: uri: running uri tests; score so far=1.866
dbg is the level (dbg (debug) is typical), and the next word is the facility.
Common ones are config, rules, uri, plugin, check, etc.
> Okay, so I need to add:
> ok_languages en fr
> loadplugin Mail::SpamAssassin::Plugin::TextCat
Yes, you'll want to just uncomment the loadplugin file in the v310.pre file.
> I also added the plugin in bugid 4255 as TVD.pm, and added:
> loadplugin Mail::SpamAssassin::Plugin::TVD
> but I'm wondering what else is needed.
I think you need to spend some time reading the documentation and the wiki. :)
As for that plugin, as with any rule-focused plugin, you enable the plugin
(typically in a .pre file) and then add in rules that call the functions
from the plugin. I put some information in the bug about what needs to
be done to enable it's usage. It's worth noting that the 4255 plugin is
meant for development and not general usage yet, so I wouldn't enable it
for production use without developing some accurate rules first (it's
worth noting that after some work I put in a version of the plugin w/
some rules this afternoon for the nightly testing run which do work well
on my corpus... so hopefully something will come of all this.)
--
Randomly Generated Tagline:
Knock Knock,
Who's there?
Kosh.
Kosh who?
Gesundheit. - Sheridan on Babylon 5
Re: SA 3.11 - What's New?
Posted by Philip Prindeville <ph...@redfish-solutions.com>.
Theo Van Dinter wrote:
>On Thu, Mar 16, 2006 at 02:07:31PM -0700, Philip Prindeville wrote:
>
>
>>Hmmm... Couple of questions.. The UPGRADE file on the website still
>>reports 3.1.0
>>only...
>>
>>
>
>The UPGRADE file describes how to upgrade to 3.1.x from earlier versions.
>Upgrading from 3.1.x to 3.1.y should be as straightforward as upgrading the
>packages, or installing via CPAN, etc.
>
>
>
>># spamassassin -t -x -D rulesrun=255,enabled=255 < paypal3.eml
>>
>>but didn't get any debugging output. This was an upgrade from 3.1.0 to
>>3.1.1.
>>
>>
>
>Those aren't valid debug facilities anymore. Looking at the code, they were
>removed in 3.1.0.
>
>
Is there an easy way to get the list of all the debug facilities?
>># spamassassin --lint -t -x -Drulesrun=255,enabled=255 < paypal3.eml
>>[5382] warn: config: warning: score set for non-existent rule
>>UNWANTED_LANGUAGE_BODY
>>[5382] warn: lint: 1 issues detected, please rerun with debug enabled
>>for more information
>># grep UNWANTED /usr/share/spamassassin/*.cf
>>/usr/share/spamassassin/25_textcat.cf:body UNWANTED_LANGUAGE_BODY
>>eval:check_language()
>>
>>
>[...]
>
>
>>/usr/share/spamassassin/50_scores.cf:score UNWANTED_LANGUAGE_BODY 2.800
>>
>>
>
>TextCat is a plugin in 3.1.x. It's mentioned in the first paragraph
>of the UPGRADE document. It's also disabled by default and needs to
>be enabled.
>
>
>
Okay, so I need to add:
ok_languages en fr
loadplugin Mail::SpamAssassin::Plugin::TextCat
What else is required to fire this up?
I also added the plugin in bugid 4255 as TVD.pm, and added:
loadplugin Mail::SpamAssassin::Plugin::TVD
but I'm wondering what else is needed.
-Philip
Re: SA 3.11 - What's New?
Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Mar 16, 2006 at 02:07:31PM -0700, Philip Prindeville wrote:
> Hmmm... Couple of questions.. The UPGRADE file on the website still
> reports 3.1.0
> only...
The UPGRADE file describes how to upgrade to 3.1.x from earlier versions.
Upgrading from 3.1.x to 3.1.y should be as straightforward as upgrading the
packages, or installing via CPAN, etc.
> # spamassassin -t -x -D rulesrun=255,enabled=255 < paypal3.eml
>
> but didn't get any debugging output. This was an upgrade from 3.1.0 to
> 3.1.1.
Those aren't valid debug facilities anymore. Looking at the code, they were
removed in 3.1.0.
> # spamassassin --lint -t -x -Drulesrun=255,enabled=255 < paypal3.eml
> [5382] warn: config: warning: score set for non-existent rule
> UNWANTED_LANGUAGE_BODY
> [5382] warn: lint: 1 issues detected, please rerun with debug enabled
> for more information
> # grep UNWANTED /usr/share/spamassassin/*.cf
> /usr/share/spamassassin/25_textcat.cf:body UNWANTED_LANGUAGE_BODY
> eval:check_language()
[...]
> /usr/share/spamassassin/50_scores.cf:score UNWANTED_LANGUAGE_BODY 2.800
TextCat is a plugin in 3.1.x. It's mentioned in the first paragraph
of the UPGRADE document. It's also disabled by default and needs to
be enabled.
--
Randomly Generated Tagline:
"Shell programming can be a difficult lesson in frustration."
- Linux Reference Manual
Re: SA 3.11 - What's New?
Posted by jdow <jd...@earthlink.net>.
From: "Philip Prindeville" <ph...@redfish-solutions.com>
>
> # spamassassin --lint -t -x -Drulesrun=255,enabled=255 < paypal3.eml
^ for one thing you missed a space here.
> [5382] warn: config: warning: score set for non-existent rule
> UNWANTED_LANGUAGE_BODY
> [5382] warn: lint: 1 issues detected, please rerun with debug enabled
...
{o.o}
Re: SA 3.11 - What's New?
Posted by Philip Prindeville <ph...@redfish-solutions.com>.
Theo Van Dinter wrote:
>On Sun, Mar 12, 2006 at 12:58:38PM -0800, Marc Perkel wrote:
>
>
>>Is there a What's New list somewhere?
>>
>>
>
>There was a list in the announcement and there's always the Changes file. :)
>
>
>
Hmmm... Couple of questions.. The UPGRADE file on the website still
reports 3.1.0
only...
Is there anything major that's missing there?
Also, I ran the following:
# spamassassin -t -x -D rulesrun=255,enabled=255 < paypal3.eml
but didn't get any debugging output. This was an upgrade from 3.1.0 to
3.1.1.
What am I missing?
What else... let's see:
# spamassassin --lint -t -x -Drulesrun=255,enabled=255 < paypal3.eml
[5382] warn: config: warning: score set for non-existent rule
UNWANTED_LANGUAGE_BODY
[5382] warn: lint: 1 issues detected, please rerun with debug enabled
for more information
# grep UNWANTED /usr/share/spamassassin/*.cf
/usr/share/spamassassin/25_textcat.cf:body UNWANTED_LANGUAGE_BODY
eval:check_language()
/usr/share/spamassassin/25_textcat.cf:describe UNWANTED_LANGUAGE_BODY
Message written in an undesired language
/usr/share/spamassassin/25_textcat.cf:tflags UNWANTED_LANGUAGE_BODY
userconf/usr/share/spamassassin/30_text_de.cf:lang de describe
UNWANTED_LANGUAGE_BODY Nachrichtentext in unerw\uffffnschter Sprache
/usr/share/spamassassin/30_text_fr.cf:lang fr describe
UNWANTED_LANGUAGE_BODY Message dans une langue non d\uffffsir\uffffe
(config locale)
/usr/share/spamassassin/30_text_nl.cf:lang nl describe
UNWANTED_LANGUAGE_BODY Bericht is opgesteld in een ongewenste taal
/usr/share/spamassassin/30_text_pl.cf:lang pl describe
UNWANTED_LANGUAGE_BODY Wiadomo\uffff\uffff napisana w
niepo\uffff\uffffdanym j\uffffzyku
/usr/share/spamassassin/50_scores.cf:score UNWANTED_LANGUAGE_BODY 2.800
#
-Philip
Re: SA 3.11 - What's New?
Posted by Theo Van Dinter <fe...@apache.org>.
On Sun, Mar 12, 2006 at 12:58:38PM -0800, Marc Perkel wrote:
> Is there a What's New list somewhere?
There was a list in the announcement and there's always the Changes file. :)
--
Randomly Generated Tagline:
I can't live the button-down life like you. I want it all! The
terrifying lows, the dizzying highs, the creamy middles!
-- Homer Simpson
Lisa's Rival