Benny Pedersen:

Upgrade to sa 3.4 where this work, else wait for next rule update, this is a work in progress thats only gives error when not using sa 3.4

At least here I *have* 3.4 but got the same warnings.

The file 72_active.cf from update_spamassasin_org contain some
lines "if perl_version >= 5.001000

I simply removed these lines/if statements because I *do run* a perl version > 5.1.
( patch attached )
Hope, the next update from updates.spamassassin.org solved the issue.

Andreas
--- /var/lib/spamassassin/3.004000/updates_spamassassin_org/72_active.cf	2014-11-29 07:04:53.000000000 +0100
+++ /var/lib/spamassassin/3.004000/updates_spamassassin_org/72_active.cf.orig	2014-11-30 13:00:25.000000000 +0100
@@ -1602,9 +1602,7 @@
 
 ##{ PDS_FROM_2_EMAILS if perl_version >= 5.010000
 
-if perl_version >= 5.010000
   meta    PDS_FROM_2_EMAILS       __PDS_FROM_2_EMAILS && !__VIA_ML && !__VIA_RESIGNER
-endif
 ##} PDS_FROM_2_EMAILS if perl_version >= 5.010000
 
 ##{ PHP_NOVER_MUA
@@ -4886,9 +4884,7 @@
   mimeheader   __PDF_ATTACH_MT    Content-Type =~ m,\bapplication/pdf\b,i
 endif
 
-if perl_version >= 5.010000
   header  __PDS_FROM_2_EMAILS     From =~ /^\W+([\w+.-]+\@[\w.-]+\.\w\w++)(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/i
-endif
 
 meta        __PD_CNT_1        (__PUMPDUMP_01+__PUMPDUMP_02+__PUMPDUMP_03+__PUMPDUMP_04+__PUMPDUMP_05+__PUMPDUMP_06+__PUMPDUMP_07+__PUMPDUMP_08+__PUMPDUMP_09+__PUMPDUMP_10) > 0
 

Reply via email to