Package: spamassassin
Version: 3.1.1-1
Severity: normal
File: /usr/share/perl5/Mail/SpamAssassin/Plugin/TextCat.pm

       It will always add the results to a "X-Language" name-value pair in the
       message metadata data structure.  This may be useful as Bayes tokens
       and can be added to marked-up messages using "add_header".

What does this mean?
Does it mean that I can use

  loadplugin Mail::SpamAssassin::Plugin::TextCat
  inactive_languages eo
  add_header all Langs _X-Language_

or is that

   add_header all Langs _Language_ (as guessed from Mail::SpamAssassin::Conf)

to get an X-Spam-Langs: th etc. added to the headers?  I just can't
make it work then.

All in all there is no clarity in the documentation.

--debug gives
[6095] dbg: textcat: language possibly: th
[6095] dbg: textcat: X-Languages: "th", X-Languages-Length: 2075
(note the s added, different than the man page.)

However I tried
add_header all X-Langu _X-Languages_
add_header all X-Langu _X-Language_
add_header all X-Langu _Language_
add_header all X-Langu _Languages_
etc. etc. but no no no go. No UNWANTED_LANGUAGE_BODY even after
ok_languages en
so clearly the documentation is too mumbo jumbo for a dumbo like me to
understand.

Is one supposed to learn Mail::SpamAssassin::Message::Metadata?

By the way,
some matches for "remove.php" in *Man Mail::SpamAssassin::Conf*
   1423:           "X-Spam-Spammy: remove.php, UD:jpg"
   1439:           "0.989-6--remove.php, 0.988-+--UD:jpg"
   1459:           "X-Spam-Spammy: 0.989-6--0h-4s--4d--remove.php,
The second one lacks the "X-Spam-Spammy: ".

By the way: empty
$ man Mail::SpamAssassin::PluginHandler|wc -l
10


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to