Matt Kettler wrote:
On 1/7/2010 9:14 PM, Matt Doran wrote:
Hi guys,

I was recently doing some reconfigurating/optimization of our SpamAssassin setup. And I've started seeing the following entries in the mail.log. They don't appear for every mail processed, but it does happen multiple times a day.

I'm running Debian stable, SpamAssassin 3.2.5 in daemon mode, and using sa-update to keep the rules up-to-date. I enable the shortcircuiting plugin to implement some of these optimizations, and I'm wondering whether this is what introduced these problems.


There seems to be 2 classes of warning.  The first is this:

    no meta_dependencies defined for SUBJ_RE_NUM at
    /usr/share/perl5/Mail/SpamAssassin/Plugin/Check.pm line 414.
    Use of uninitialized value in split at
    /usr/share/perl5/Mail/SpamAssassin/Plugin/Check.pm line 417.

These 2 lines are repeated over and over for about 280 different rules.


Then next warning is about an "uninitialized value in concatenation". The warning can look a bit different but it's always at the same line. Here's some examples:

    Use of uninitialized value in concatenation (.) or string at
    /usr/share/perl5/Mail/SpamAssassin/Plugin/Check.pm line 1028.
    last message repeated 1088 times

and

    Use of uninitialized value in concatenation (.) or string at
    /usr/share/perl5/Mail/SpamAssassin/Plugin/Check.pm line 1028,
    <$tmpfile> line 2290.

<snip>

I didn't see these warnings before my changes. Any ideas on the cause of these and how to resolve them?

Sounds like you've got major garbage in your config files, and it's causing spamd to freak out every time it reloads. (it looks like it is badly failing to parse your rules).

What happens if you run this command:

spamassassin --lint

Nothing :)

   smaug:~# spamassassin --lint
   smaug:~#


Reply via email to