Problem with "Compile SpamAssassin Once"

Julian Field mailscanner at ecs.soton.ac.uk
Sat Jun 29 11:32:47 IST 2002


At 10:08 29/06/2002, you wrote:
>I just upgraded to 3.21-1, but I'm getting the following error message,
>when I enable "Compile SpamAssassin Once":
>
>-----------------------------------------------------------
># /opt/MailScanner/bin/check_mailscanner
>Starting virus scanner...
>Bareword found where operator expected at (eval 36) line 764, near
>"25FREEMEGS_URL_body_test"
>        (Missing operator before FREEMEGS_URL_body_test?)
>Bareword found where operator expected at (eval 36) line 2854, near
>"25FREEMEGS_URL_body_test"
>        (Missing operator before FREEMEGS_URL_body_test?)
>Failed to compile body SpamAssassin tests, skipping:
>        (syntax error at (eval 36) line 764, near
>"25FREEMEGS_URL_body_test "
>Can't use global $_ in "my" at (eval 36) line 766, near ";
>           $_ "
>syntax error at (eval 36) line 2854, near "25FREEMEGS_URL_body_test"
>syntax error at (eval 36) line 3647, near ";
>}"
>)
>Failed to run DIFFERENT_REPLY_TO SpamAssassin test, skipping:
>        (Can't locate object method "check_for_spam_reply_to" via
>package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
>"Mail::SpamAssassin::PerMsgStatus"?) at
>/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1701.
>)
>-----------------------------------------------------------
>
>MailScanner does work when I disable "Compile SpamAssassin Once". I
>attachted the mailscanner.conf.linux file for completeness.

Have you tried upgrading SpamAssassin to 2.31?
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list