You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matthias Fuhrmann <Ma...@stud.uni-hannover.de> on 2004/08/19 18:13:24 UTC
SA 2.64 + SpamcopURI 0.22
Hi,
hope i dont ask for somthing, someone else allready answered. at least i
didnt found somthing related, at first sight :)
updating sa2.63 to 2.64 (perl 5.8.3 solaris 5.9 sparc):
installed Mail-SpamAssassin-SpamCopURI-0.22 and copied
rules/spamcop_uri.cf into /etc/mail/spamassassin
'make test' says:
[...]
Failed to compile URI SpamAssassin tests, skipping:
(syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule OB_URI_RBL, line 1, near "eval:"
syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 1, near "eval:"
syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 6, near "}
[...]
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/rule_tests.t 62 1 1.61% 27
2 subtests skipped.
Failed 1/39 test scripts, 97.44% okay. 1/283 subtests failed, 99.65% okay.
make: *** [test_dynamic] Error 29
now i'm clueless. i dont see any syntax error from that spamcop_uri.cf.
spamassassin --lint (sa2.63) doesnt give any errors.
whats wrong here?
thnx in advance.
regards,
Matthias
Re: SA 2.64 + SpamcopURI 0.22
Posted by Jules Agee <ju...@pcf.com>.
Matthias Fuhrmann wrote:
> hmm, yes, did that finaly with 2.63. when doing it with 2.64 i get
> some strange errors from some .pm (syslog):
>
> Aug 19 20:16:21 xxxx spamd[27806]: Use of uninitialized value in
> concatenation (.) or string at /opt/gnu/lib/perl5/site_perl/5.8.3/Ma
> il/SpamAssassin/Bayes.pm line 461.
<SNIP>
> 2.63 works fine. clueless once again :(
I am having the same problem...
I just upgraded SpamAssassin from 2.63 to 2.64 last night. Both the 2.63
install and the 2.64 upgrade were done using Debian packages on
www.backports.org. After upgrading, I am seeing the exact same errors as
Matthias. They seem harmless... SA looks like it's working fine. It's
just a little disconcerting to have the syslog filling up with errors,
harmless or not. Running either "spamassassin -d --lint" or
"spamassassin -t -D < message.txt" shows no problems.
I am getting the errors on every message, or nearly every message. I
assume that this is probably caused by an old Perl library that needs to
be updated from the version that installs with Debian Woody. I had no
errors when using SA 2.63. I did need to install URI.pm from CPAN and
uninstall Debian's liburi-perl package to clear up some similar errors
after installing SpamCopURI.pm.
perl is version 5.6.1
mailtools is version 1.44
net-dns is version 0.19
mime-base64 is version 2.12
uri is version 1.30
Below are the errors I get from a typical message. If you have any ideas
which perl module(s) I might need to update, please let me know.
Thanks,
-Jules
spamd[23257]: Use of uninitialized value in length at
/usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 1340, <GEN1562>
line 102.
spamd[23257]: Use of uninitialized value in concatenation (.) or string
at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 1343,
<GEN1562> line 102.
spamd[23257]: Use of uninitialized value in concatenation (.) or string
at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 1344,
<GEN1562> line 102.
spamd[23257]: Use of uninitialized value in length at
/usr/share/perl5/Mail/SpamAssassin/Bayes.pm line 457, <GEN1562> line 102.
spamd[23257]: Use of uninitialized value in concatenation (.) or string
at /usr/share/perl5/Mail/SpamAssassin/Bayes.pm line 460, <GEN1562> line 102
spamd[23257]: Use of uninitialized value in concatenation (.) or string
at /usr/share/perl5/Mail/SpamAssassin/Bayes.pm line 461, <GEN1562> line 102.
Re: SA 2.64 + SpamcopURI 0.22
Posted by Matthias Fuhrmann <Ma...@stud.uni-hannover.de>.
On Thu, 19 Aug 2004, Matt Kettler wrote:
> At 12:13 PM 8/19/2004, Matthias Fuhrmann wrote:
> >updating sa2.63 to 2.64 (perl 5.8.3 solaris 5.9 sparc):
> >installed Mail-SpamAssassin-SpamCopURI-0.22 and copied
> >rules/spamcop_uri.cf into /etc/mail/spamassassin
> >
> >'make test' says:
>
> Whoa there...
hehe
> Hold on there buddy.. Install SpamcopURI *after* you upgrade to 2.64... not
> before.
>
> Remember SpamCopURI actually contains a patch to SA.. when you upgrade SA,
> it gets obliterated and needs to be re-installed.
>
> Unlike razor, dcc, etc, SpamCopURI isn't an entirely separate program or
> module, it directly modifies the SA code itself.
>
> Steps to upgrade to 2.64 if you're using SpamCopURI:
>
> 1) remove spamcop_uri.cf from /etc/mail/spamassassin..
> 2) install 2.64
> 3) install spamcopURI, as if you've never had it before.
hmm, yes, did that finaly with 2.63. when doing it with 2.64 i get
some strange errors from some .pm (syslog):
Aug 19 20:16:21 xxxx spamd[27806]: Use of uninitialized value in
concatenation (.) or string at /opt/gnu/lib/perl5/site_perl/5.8.3/Ma
il/SpamAssassin/Bayes.pm line 461.
Aug 19 20:16:22 xxxx spamd[27812]: Use of uninitialized value in
concatenation (.) or string at /opt/gnu/lib/perl5/site_perl/5.8.3/Ma
il/SpamAssassin/PerMsgStatus.pm line 1343, <GEN541> line 4.
(lines differ, not allways the same)
i copied all .pm from lib/Mail/SpamAssassin/ to
/opt/gnu/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/
by hand.
2.63 works fine. clueless once again :(
regards,
Matthias
Re: SA 2.64 + SpamcopURI 0.22
Posted by Matt Kettler <mk...@evi-inc.com>.
At 12:13 PM 8/19/2004, Matthias Fuhrmann wrote:
>updating sa2.63 to 2.64 (perl 5.8.3 solaris 5.9 sparc):
>installed Mail-SpamAssassin-SpamCopURI-0.22 and copied
>rules/spamcop_uri.cf into /etc/mail/spamassassin
>
>'make test' says:
Whoa there...
Hold on there buddy.. Install SpamcopURI *after* you upgrade to 2.64... not
before.
Remember SpamCopURI actually contains a patch to SA.. when you upgrade SA,
it gets obliterated and needs to be re-installed.
Unlike razor, dcc, etc, SpamCopURI isn't an entirely separate program or
module, it directly modifies the SA code itself.
Steps to upgrade to 2.64 if you're using SpamCopURI:
1) remove spamcop_uri.cf from /etc/mail/spamassassin..
2) install 2.64
3) install spamcopURI, as if you've never had it before.