As part of a nightly cron job that deletes accumulated spam and runs the
messages through sa-learn, I see the following error relatively frequently:
Use of uninitialized value in pattern match (m//) at
/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Message/Node.pm line
119
The cron script looks for messages older than seven days, runs them through
sa-learn, then deletes them. On the last run, it processed over 300
messages, and the error appeared about 200 times (I can't be more specific
about the messages that triggered, since this is just the script output as
captured by cron and mailed to me). I'm running SA 3.1.0, perl 5.8.7 (as you
can see above), on FreeBSD 5.4-STABLE. The Bayes data is stored in MySQL
(version 4.1.12, if that matters). I looked through the bug database and
didn't see anything that stuck out as related to this. Any ideas?