http://bugzilla.spamassassin.org/show_bug.cgi?id=3804

           Summary: _LANGUAGES_ tag does not get set properly
           Product: Spamassassin
           Version: 3.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


My local.cf sets:

   clear_report_template
   report _LANGUAGES_
   report _SUMMARY_

   ok_languages en

The report produced does not contain the language found, even when the 
UNWANTED_LANGUAGE_BODY appears in _SUMMARY_.

Note before reading further: I AM NOT A PERL PROGRAMMER.

That said, I did poke around a bit and I found that changing this:

   $self->{tag_data}->{LANGUAGES} = $self->{msg}->{metadata}->{"X-Languages"};

to this:

   $self->{tag_data}->{LANGUAGES} = $self->{msg}->get_metadata("X-Languages");

in sub extract_message_metadata around line 1229 of PerMsgStatus.pm does fix 
the problem. I can't tell what the intention of the original line was.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to