You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ji...@jidanni.org on 2008/09/13 03:27:31 UTC

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

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.

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

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Sat, 2008-09-13 at 01:54 +0000, Duane Hill wrote:
> On Sat, 13 Sep 2008, jidanni@jidanni.org 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="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (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

Posted by Duane Hill <d....@yournetplus.com>.
On Sat, 13 Sep 2008, jidanni@jidanni.org 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