You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by night duke <ni...@yahoo.es> on 2007/09/05 00:09:14 UTC

update problem with PerMsgStatus.pm

Hi i have updated my spamassassin to version 3.2.3 but at the log mail appears errors.I have updated by perl -M CPAN -e shell
  perl install Mail::SpamAssassin
   
   
  Does anyone know a way to fix this?
   
  Thanks
   
  Nightduke
   
  Sep  4 23:54:50 bck00654 spamd[5745]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2669, <GEN375> line 37.
Sep  4 23:54:50 bck00654 last message repeated 2 times
Sep  4 23:54:50 bck00654 spamd[5745]: Number found where operator expected at (eval 2497) line 10, near "}
Sep  4 23:54:50 bck00654 spamd[5745]:
Sep  4 23:54:50 bck00654 spamd[5745]:  1"
Sep  4 23:54:50 bck00654 spamd[5745]:  (Missing operator before
Sep  4 23:54:50 bck00654 spamd[5745]:
Sep  4 23:54:50 bck00654 spamd[5745]:  1?)
Sep  4 23:54:50 bck00654 spamd[5745]: rules: failed to run header tests, skipping some: syntax error at (eval 2497) line 11, near ";

       
---------------------------------

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.

Re: update problem with PerMsgStatus.pm

Posted by msasson <ms...@nebuladir.com>.
You might also get smtp errors for not being able to send som email if you
are using qmail. 
The problem is simple: when you updated spamassassin, the update removed the
file:
/etc/mail/spamassassin/local.cf  and moved the old file to
/etc/mail/spamassassin/local.cf.rpmnew
THe new file is missing couple of lines. 
Do:  mv /etc/mail/spamassassin/local.cf.rpmnew
/etc/mail/spamassassin/local.cf 
that should fix the problem. 

Mark 

night duke wrote:
> 
> Hi i have updated my spamassassin to version 3.2.3 but at the log mail
> appears errors.I have updated by perl -M CPAN -e shell
>   perl install Mail::SpamAssassin
>    
>    
>   Does anyone know a way to fix this?
>    
>   Thanks
>    
>   Nightduke
>    
>   Sep  4 23:54:50 bck00654 spamd[5745]: Use of uninitialized value in
> concatenation (.) or string at
> /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2669, <GEN375>
> line 37.
> Sep  4 23:54:50 bck00654 last message repeated 2 times
> Sep  4 23:54:50 bck00654 spamd[5745]: Number found where operator expected
> at (eval 2497) line 10, near "}
> Sep  4 23:54:50 bck00654 spamd[5745]:
> Sep  4 23:54:50 bck00654 spamd[5745]:  1"
> Sep  4 23:54:50 bck00654 spamd[5745]:  (Missing operator before
> Sep  4 23:54:50 bck00654 spamd[5745]:
> Sep  4 23:54:50 bck00654 spamd[5745]:  1?)
> Sep  4 23:54:50 bck00654 spamd[5745]: rules: failed to run header tests,
> skipping some: syntax error at (eval 2497) line 11, near ";
> 
>        
> ---------------------------------
> 
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.
> 
> 

-- 
View this message in context: http://www.nabble.com/update-problem-with-PerMsgStatus.pm-tf4380686.html#a12619868
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: update problem with PerMsgStatus.pm

Posted by Matt Kettler <mk...@verizon.net>.
night duke wrote:
> Hi i have updated my spamassassin to version 3.2.3 but at the log mail
> appears errors.I have updated by perl -M CPAN -e shell
> perl install Mail::SpamAssassin
>  
>  
> Does anyone know a way to fix this?
Well, my first concern is it looks like you're not running 3.2.3.. or at
least not completely.. The PerMsgStatus.pm for 3.2.3 isn't even 2669
lines long, so having an error at that line isn't possible, unless
you've got a PerMsgStatus.pm from some different, presumably older, version.

Is there any chance you've got two copies of SA on your system? Use
locate to see if you've got two PerMsgStatus.pm's.


> Sep  4 23:54:50 bck00654 spamd[5745]: Use of uninitialized value in
> concatenation (.) or string at
> /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2669, <GEN375>
> line 37.
> Sep  4 23:54:50 bck00654 last message repeated 2 times
> Sep  4 23:54:50 bck00654 spamd[5745]: Number found where operator
> expected at (eval 2497) line 10, near "}
> Sep  4 23:54:50 bck00654 spamd[5745]:
> Sep  4 23:54:50 bck00654 spamd[5745]:  1"
> Sep  4 23:54:50 bck00654 spamd[5745]:  (Missing operator before
> Sep  4 23:54:50 bck00654 spamd[5745]:
> Sep  4 23:54:50 bck00654 spamd[5745]:  1?)
> Sep  4 23:54:50 bck00654 spamd[5745]: rules: failed to run header
> tests, skipping some: syntax error at (eval 2497) line 11, near ";
>
> ------------------------------------------------------------------------
>
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
> <http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html>.