On Thu, 24 Jan 2008, Michael Hutchinson wrote: > Bareword "MAX_URI_LENGTH" not allowed while "strict subs" in use > at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2010. > > Bareword "MAX_URI_LENGTH" not allowed while "strict subs" in use > at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2012. > > Compilation failed in require at > /usr/share/perl5/Mail/SpamAssassin.pm line 72.
Those are compile errors in the core SA code. Your install appears to be corrupted. Has anyone been editing the files under /usr/share/perl5/Mail/ ? You will probably need to wipe and reinstall SA from scratch. Note that your local rules and bayes database shouldn't be affected by doing this. > I am used to getting similar sa-learn errors, but not ones that > cause problems when spamd or Spamassassin is manually run. You may have two different copies of SA installed, and one is bad. This can happen if you install SA from a distro package and then later attempt to install or upgrade from CPAN (or vice versa). > Can anyone please define what "strict subs" is used for and if I > should disable it to allow MAX_URI_LENGTH to work properly ? Those are Perl language options; you shouldn't be fiddling around with that stuff unless you're an SA developer or you want to modify SA itself (as opposed to just creating rules or doing other common administrative tasks). -- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ [EMAIL PROTECTED] FALaholic #11174 pgpk -a [EMAIL PROTECTED] key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- We are hell-bent and determined to allocate the talent, the resources, the money, the innovation to absolutely become a powerhouse in the ad business. -- Microsoft CEO Steve Ballmer ...because allocating talent to securing Windows isn't profitable? ----------------------------------------------------------------------- 4 days until Wolfgang Amadeus Mozart's 252nd Birthday