Re: version now in X-Spam-Checker-Version, so remove from X-Spam-Status

2008-09-13 Thread Karsten Bräckelmann
On Sat, 2008-09-13 at 01:54 +, Duane Hill wrote:
 On Sat, 13 Sep 2008, [EMAIL PROTECTED] wrote:
 
  Gentlemen, I am frustrated by the duplication of information in:
  X-Spam-Checker-Version: SpamAssassin
  3.2.5-mon_sep__8_23_53_29_2008.jidanni2.jidanni.org (2008-06-10) on
  jidanni2.jidanni.org
  X-Spam-Status: No, score=0.0 required=1.9 tests=none autolearn=disabled
  version=3.2.5-mon_sep__8_23_53_29_2008.jidanni2.jidanni.org

Yay, a 51 char long version string.

Indeed, I'd be annoyed (not frustrated, though) by that, too. However,
it's not the default. Not even close. In my headers, the version string
3.2.5 is barely noticeable.


 Then why not just remove it. This is the default:
 
 add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ 
 autolearn=_AUTOLEARN_ version=_VERSION_
 
 according to 'perldoc Mail::SpamAssassin::Conf'.
 
 Add the above in your local.cf and knock off the 'version=_VERSION_' part.
 
 Problem solved. SpamAssassin _IS_ configurable.

Yeah, just remove it. Or, maybe, stick to a shorter version identifier.
You don't need all that information encoded into that string of yours,
do you?

  guenther


-- 
char *t=[EMAIL PROTECTED];
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



Re: version now in X-Spam-Checker-Version, so remove from X-Spam-Status

2008-09-12 Thread Duane Hill

On Sat, 13 Sep 2008, [EMAIL PROTECTED] wrote:


Gentlemen, I am frustrated by the duplication of information in:
X-Spam-Checker-Version: SpamAssassin
3.2.5-mon_sep__8_23_53_29_2008.jidanni2.jidanni.org (2008-06-10) on
jidanni2.jidanni.org
X-Spam-Status: No, score=0.0 required=1.9 tests=none autolearn=disabled
version=3.2.5-mon_sep__8_23_53_29_2008.jidanni2.jidanni.org

Why not just chuck the newly arrived X-Spam-Checker-Version, I said to
myself. However,

  Note that X-Spam-Checker-Version is not removable because
  the version information is needed by mail administrators

OK, then I tried tinkering with

  version_tag string
  This tag is appended to the SA version in the X-Spam-Status
  header...your last name or your initials

which doesn't yet mention that it ends up in X-Spam-Checker-Version
too... indeed it's either both or nothing.

The obvious solution is to not include version in X-Spam-Status
anymore, as it is not a statusy item, and naturally belongs instead in
X-Spam-Checker-Version, which being a like-it-or-not item, might as
well carry it alone.


Then why not just remove it. This is the default:

add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ 
autolearn=_AUTOLEARN_ version=_VERSION_


according to 'perldoc Mail::SpamAssassin::Conf'.

Add the above in your local.cf and knock off the 'version=_VERSION_' part.

Problem solved. SpamAssassin _IS_ configurable.

-d