> Hanno,

> > 2007-01-08 12:12:18.315862500 Use of uninitialized value in substitution
> > (s///) at ./plugins/spamassassin line 189, <SPAMD> line 16.
> > 2007-01-08 12:12:18.318479500 15607 spamassassin plugin: check_spam:
> > finished reading from spamd
> Hmm, this should be these lines (193,194 in svn rev 704):
>   my $tests = <SPAMD>;
>   $tests =~ s/\015//;  # hack for outlook
> Can you confirm this in your plugins/spamassassin version?

The plugin does have those two lines in it. I have no idea about the
version. I d/l the latest tarball the other day.

> The rest of warnings are the result of this. Never seen this at my
> setups, maybe just because I've never had a mail which hit no tests... 

I get quite a lot.

> The easy fix would be to insert 
>   $tests = "" unless defined $tests;
> between those two lines... 

I have inserted the code and I haven't had the warnings since.
So that's fixed it.

Thank you for your time.

John


Reply via email to