sa-update error

amphora

Verified User
Joined
Feb 21, 2013
Messages
45
Since today sa-update (without any parameters) suddenly gives this response:

Code:
config: invalid regexp for rule __PDS_FROM_2_EMAILS: /^\W+([\w+.-]+\@[\w.-]+\.\w\w++)(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/i: Nested quantifiers in regex; marked by <-- HERE in m/(?i)^\W+([\w+.-]+\@[\w.-]+\.\w\w++ <-- HERE )(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/

channel: lint check of update failed, channel failed
Any ideas?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,902
Location
GMT +7.00
Hello,

What if you run these commands:

Code:
mv /var/lib/spamassassin/ /var/lib/spamassassin~moved
sa-update -D
/etc/init.d/exim restart
?

Will it solve the issue?
 

amphora

Verified User
Joined
Feb 21, 2013
Messages
45
Thanks for your reply, unfortunately it didn't help.
But the sa-update -D option made me realize I could give some more info regarding this message:

A snippet:
Code:
nov 26 16:54:29.791 [10361] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
nov 26 16:54:29.791 [10361] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
nov 26 16:54:29.792 [10361] dbg: plugin: loading Mail::SpamAssassin::Plugin::FreeMail from @INC
nov 26 16:54:29.838 [10361] dbg: plugin: Mail::SpamAssassin::Plugin::FreeMail=HASH(0xaa50ab0) implements 'parse_config', priority 0
config: invalid regexp for rule __PDS_FROM_2_EMAILS: /^\W+([\w+.-]+\@[\w.-]+\.\w\w++)(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/i: Nested quantifiers in regex; marked by <-- HERE in m/(?i)^\W+([\w+.-]+\@[\w.-]+\.\w\w++ <-- HERE )(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/

nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule RCVD_IN_MSPIKE_H4
nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule RCVD_IN_MSPIKE_WL
nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule HK_NAME_FM_MR_MRS
nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule FREEMAIL_FORGED_FROMDOMAIN
It does however seem to end ok but not with exit code 0 or 1 so no update was actually performed
Code:
nov 26 16:54:31.682 [10361] dbg: diag: updates complete, exiting with code 4
 
Last edited:

pat_mills

New member
Joined
Nov 26, 2014
Messages
1
Perl version issue

Thanks for your reply, unfortunately it didn't help.
But the sa-update -D option made me realize I could give some more info regarding this message:

A snippet:
Code:
nov 26 16:54:29.791 [10361] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
nov 26 16:54:29.791 [10361] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
nov 26 16:54:29.792 [10361] dbg: plugin: loading Mail::SpamAssassin::Plugin::FreeMail from @INC
nov 26 16:54:29.838 [10361] dbg: plugin: Mail::SpamAssassin::Plugin::FreeMail=HASH(0xaa50ab0) implements 'parse_config', priority 0
config: invalid regexp for rule __PDS_FROM_2_EMAILS: /^\W+([\w+.-]+\@[\w.-]+\.\w\w++)(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/i: Nested quantifiers in regex; marked by <-- HERE in m/(?i)^\W+([\w+.-]+\@[\w.-]+\.\w\w++ <-- HERE )(?:[^\n\w<]{0,80})?<(?!\1)[^\n\s]*\@/

nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule RCVD_IN_MSPIKE_H4
nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule RCVD_IN_MSPIKE_WL
nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule HK_NAME_FM_MR_MRS
nov 26 16:54:30.288 [10361] dbg: config: warning: score set for non-existent rule FREEMAIL_FORGED_FROMDOMAIN
It does however seem to end ok but not with exit code 0 or 1 so no update was actually performed
Code:
nov 26 16:54:31.682 [10361] dbg: diag: updates complete, exiting with code 4
It appears they, spamassassin, is using perl 5.10 which added the ++
 

amphora

Verified User
Joined
Feb 21, 2013
Messages
45
Hmm.... Guess I need to update perl then. current version is 5.8 on that box. Is there a safe way to upgrade to 5.10 or higher without needing to compile everything myself? A simple yum update won't do the trick ofc. Box is running CentOS 5.11 (yeah, quite old but still working just fine besides this)
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
That's actually strange, i'm using CentOS 5 64Bit and sa-update isnt givin this errors and perl version is 5.8.8

Have you tryed to update your perl modules using cpan and/or compile newset perl module needed by spamassassin from source?

Regards
 

amphora

Verified User
Joined
Feb 21, 2013
Messages
45
Just as suddenly this problem occurred it now seems te have disappeared.
Maybe the people at spam assassin noticed some bug that only occurred on some systems/perl versions and fixed it.
 
Top