You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Kevin A. McGrail" <KM...@PCCC.com> on 2014/03/01 02:42:01 UTC

Re: warn: Use of uninitialized value $header_field_name in pattern match

On 2/28/2014 5:04 AM, Nuno Fernandes wrote:
> On Thursday 27 February 2014 09:54:44 Kevin A. McGrail wrote:
>> On 2/27/2014 5:54 AM, Axb wrote:
>>> On 02/27/2014 11:41 AM, Nuno Fernandes wrote:
>>>> On Thursday 27 February 2014 11:09:06 Axb wrote:
>>>>> On 02/27/2014 10:49 AM, Nuno Fernandes wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I'm having the following error after upgrading to 3.4.0
>>>>>>
>>>>>> # spamassassin --lint
>>>>>> Feb 27 09:38:27.905 [26166] warn: Use of uninitialized value
>>>>>> $header_field_name in pattern match (m//) at
>>>>>> /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm line
>>>>>> 648.
>>>>>> Feb 27 09:38:27.905 [26166] warn: Use of uninitialized value
>>>>>> $header_field_name in pattern match (m//) at
>>>>>> /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm line
>>>>>> 648.
>>>>>> Feb 27 09:38:27.905 [26166] warn: Use of uninitialized value
>>>>>> $header_field_name in pattern match (m//) at
>>>>>> /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm line
>>>>>> 648.
>> Can you show spamassassin --lint -D?
>>
>> The header_field_name pattern match is new in 3.4.0 from my checking.
>>
>> Also, do you have any non-stock rules or channels?
>>
>> regards,
>> KAM
>
> We'll it's solved.. The problem was in an aditional patch that need to be
> ported to 3.4. (patch-src::MultiCaseSensHeadersCheck).
>
> Still don't know why even installing from cpan produced the same error.. Maybe
> some stale file as installing from source in a pristine centos box didn't
> produced any error.
>
> Thanks for the help,
> Nuno Fernandes
Absolutely.  Thanks for the follow-up.