Andy Millar-2 wrote: > > I get the following error when trying to use sa-learn. > > SA Learn: Use of uninitialized value in hash element at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 357., > Use of uninitialized value in hash element at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 358., > Use of uninitialized value in hash element at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 357., > Use of uninitialized value in hash element at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 358., > Use of uninitialized value in pattern match (m//) at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 240., > Use of uninitialized value in pattern match (m//) at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 242., > Use of uninitialized value in concatenation (.) or string at > /usr/share/perl5/Mail/SpamAssassin/Message/Metadata/Received.pm line 243., > Forgot tokens from 0 message(s) (1 message(s) examined) > > Does anyone have any suggestions as to what I can do to resolve it. > > I am using spamassassin 3.1.7-2 from apt on Debian. > >
Just for the record (because it took me a good half an hour to figure it out) installing the "libnet-dns-perl" package fixed this for me. Hope this helps, George. -- View this message in context: http://www.nabble.com/Use-of-uninitialized-value-in-hash-element-at-Received.pm-line-357-tf3908356.html#a12237842 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.