You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jari Fredriksson <ja...@iki.fi> on 2007/08/03 22:09:24 UTC

Problem with 3.2.2

I already had a working cpan-compiled 3.2.2 in two of my machines.

Then I lost hard drive from the another, and installed a fresh Debian Etch on a new disk.

Tests fail now.

It says:

Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/spamc_optC.t                9    4  2 4 6 8
t/spamc_optL.t               16   16  1-16


Is this some known issue or do I need something for my Debian?

Details from the tests:

t/spamc_optC....................        Not found: reported spam = Message successfully reported/revoked
# Failed test 2 in t/SATest.pm at line 662
Output can be examined in: log/d.spamc_optC/out.1
t/spamc_optC....................NOK 2/9 Not found: revoked ham = Message successfully reported/revoked
# Failed test 4 in t/SATest.pm at line 662 fail #2
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
t/spamc_optC....................NOK 4/9 Not found: failed to report spam = Unable to report/revoke message
# Failed test 6 in t/SATest.pm at line 662 fail #3
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
t/spamc_optC....................NOK 6/9 Not found: failed to revoke ham = Unable to report/revoke message
# Failed test 8 in t/SATest.pm at line 662 fail #4
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 log/d.spamc_optC/out.7
t/spamc_optC....................FAILED tests 2, 4, 6, 8
        Failed 4/9 tests, 55.56% okay
t/spamc_optL....................# Failed test 1 in t/spamc_optL.t at line 20
        Not found: learned spam = Message successfully un/learned
# Failed test 2 in t/SATest.pm at line 662
Output can be examined in:
t/spamc_optL....................NOK 2/16# Failed test 3 in t/spamc_optL.t at line 24
        Not found: already learned spam = Message was already un/learned
# Failed test 4 in t/SATest.pm at line 662 fail #2
Output can be examined in:
t/spamc_optL....................NOK 4/16ERROR: Bayes dump returned an error, please re-run with -D for more information
# Failed test 5 in t/spamc_optL.t at line 28
        Not found: spam in database = 1 0  non-token data: nspam
# Failed test 6 in t/SATest.pm at line 662 fail #3
Output can be examined in:
t/spamc_optL....................NOK 6/16# Failed test 7 in t/spamc_optL.t at line 32
        Not found: forget spam = Message successfully un/learned
# Failed test 8 in t/SATest.pm at line 662 fail #4
Output can be examined in:
t/spamc_optL....................NOK 8/16# Failed test 9 in t/spamc_optL.t at line 36
        Not found: learned ham = Message successfully un/learned
# Failed test 10 in t/SATest.pm at line 662 fail #5
Output can be examined in:
t/spamc_optL....................NOK 10/16# Failed test 11 in t/spamc_optL.t at line 40
        Not found: already learned ham = Message was already un/learned
# Failed test 12 in t/SATest.pm at line 662 fail #6
Output can be examined in:
t/spamc_optL....................NOK 12/16ERROR: Bayes dump returned an error, please re-run with -D for more information
# Failed test 13 in t/spamc_optL.t at line 44
        Not found: ham in database = 1 0  non-token data: nham
# Failed test 14 in t/SATest.pm at line 662 fail #7
Output can be examined in:
t/spamc_optL....................NOK 14/16# Failed test 15 in t/spamc_optL.t at line 48
        Not found: learned ham = Message successfully un/learned
# Failed test 16 in t/SATest.pm at line 662 fail #8
Output can be examined in:
t/spamc_optL....................FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay


Re: Problem with 3.2.2

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Dec 11, 2007 at 07:45:51AM -0800, jobthart wrote:
> Is there any way I can test if the installation is working OK?

Yes, send messages through.  For example, there is a sample-spam.txt file in
the tarball you can use.  Do something like:

$ spamassassin < sample-spam.txt

> Do I have to startup any process to have SpamAssassin working, or restart my
> SMTP and POP3 servers?

It depends how you configure things.  SpamAssassin has nothing to do with
POP3, btw.  If you run SA via the MDA (aka: procmail, etc,) you don't need to
restart anything, just get the MDA configured.  If you want to use spamd
instead of "spamassassin", then you need to start spamd.  If you want to run
SA via the MTA (aka: site-wide), then you'll need to hook things up
appropriately there.

> Is there any configuration needed for QMail (SMTP Server) and Courier-IMAP
> (POP3 server)?

Nothing for Courier, since SA isn't involved.  If you want to hookup SA and
QMail, you'll want to get the appropriate third-party tool that lets you do
that (Google for "qmail spamassassin" and I'm sure you'll find it.
qmail-scanner iirc.)

-- 
Randomly Selected Tagline:
"... advise the users that although it can help, they are known problems ..."
                - Stanislav Meduna

Re: Problem with 3.2.2

Posted by jobthart <in...@internet-christians.com>.
Finally it seems I succeeded with the installation. I have done a manual
installation, untarring the archive, perl Makefile.PL - make - make test and
make install. It did not give me any error.

Is there any way I can test if the installation is working OK?
Do I have to startup any process to have SpamAssassin working, or restart my
SMTP and POP3 servers?
Is there any configuration needed for QMail (SMTP Server) and Courier-IMAP
(POP3 server)?

Thanks for all your help!
Job



Jari Fredriksson wrote:
> 
>> jobthart wrote:
>>> Do you mean this should be solved in 3.2.3? I am having
>>> those errors when trying to install the version 3.2.3.
>>> So maybe there is still a bug in version 3.2.3 regarding
>>> this matter? 
>>> 
>> I was still having this problem last week when trying to
>> install the latest SpamAssassin from CPAN.
>> 
>> The solution is to download the source, manually build
>> and test as yourself, and install as root.
>> 
>> Jon
> 
> Strange. I got 3.2.3 via cpan no problems. But the solution suggested
> should work in any case.
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-3.2.2-tp11990087p14276661.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Problem with 3.2.2

Posted by Jari Fredriksson <ja...@iki.fi>.
> jobthart wrote:
>> Do you mean this should be solved in 3.2.3? I am having
>> those errors when trying to install the version 3.2.3.
>> So maybe there is still a bug in version 3.2.3 regarding
>> this matter? 
>> 
> I was still having this problem last week when trying to
> install the latest SpamAssassin from CPAN.
> 
> The solution is to download the source, manually build
> and test as yourself, and install as root.
> 
> Jon

Strange. I got 3.2.3 via cpan no problems. But the solution suggested should work in any case.




Re: Problem with 3.2.2

Posted by Jonathan Armitage <jo...@hepworthband.co.uk>.
jobthart wrote:
> Do you mean this should be solved in 3.2.3? I am having those errors when
> trying to install the version 3.2.3. So maybe there is still a bug in
> version 3.2.3 regarding this matter?
> 
I was still having this problem last week when trying to install the 
latest SpamAssassin from CPAN.

The solution is to download the source, manually build and test as 
yourself, and install as root.

Jon

Re: Problem with 3.2.2

Posted by jobthart <in...@internet-christians.com>.
Do you mean this should be solved in 3.2.3? I am having those errors when
trying to install the version 3.2.3. So maybe there is still a bug in
version 3.2.3 regarding this matter?
Compile and test as a non root user is somewhat difficult for me. The non
root user does not have sufficient rights to use the Perl CPAN module (I am
using this module to do the installation).
Do you have any other suggestion?

Thanks!
Job


Jari Fredriksson wrote:
> 
>> Hello Jari,
>> 
>> I am trying to install SpamAssassin on my FreeBSD
>> machine, and get the same error messages. Have you found
>> any solution? 
>> 
>> Any information will be very helpful.
>> 
>> Thanks!
>> Job
> 
> That was a problem in 3.2.2, and the problem was that you could not run
> tests as root. Either get 3.2.3 or compile and test SA as non root user.
> 
> jarif
> 
> 
> 
>> 
>> 
>> 
>> 
>> Jari Fredriksson wrote:
>>> 
>>> 
>>> I already had a working cpan-compiled 3.2.2 in two of my
>>> machines. 
>>> 
>>> Then I lost hard drive from the another, and installed a
>>> fresh Debian Etch on a new disk.
>>> 
>>> Tests fail now.
>>> 
>>> It says:
>>> 
>>> Failed Test    Stat Wstat Total Fail  List of Failed
>>> -------------------------------------------------------------------------------
>>> t/spamc_optC.t                9    4  2 4 6 8
>>> t/spamc_optL.t               16   16  1-16
>>> 
>>> 
>>> Is this some known issue or do I need something for my
>>> Debian? 
>>> 
>>> Details from the tests:
>>> 
>>> t/spamc_optC....................        Not found:
>>> reported spam = Message successfully reported/revoked
>>> # Failed test 2 in t/SATest.pm at line 662
>>> Output can be examined in: log/d.spamc_optC/out.1
>>> t/spamc_optC....................NOK 2/9 Not found:
>>> revoked ham = Message successfully reported/revoked
>>> # Failed test 4 in t/SATest.pm at line 662 fail #2
>>> Output can be examined in: log/d.spamc_optC/out.1
>>> log/d.spamc_optC/out.3
>>> t/spamc_optC....................NOK 4/9 Not found:
>>> failed to report spam = Unable to report/revoke message
>>> # Failed test 6 in t/SATest.pm at line 662 fail #3 
>>> Output can be examined in: log/d.spamc_optC/out.1
>>> log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
>>> t/spamc_optC....................NOK 6/9 Not found:
>>> failed to revoke ham = Unable to report/revoke message
>>> # Failed test 8 in t/SATest.pm at line 662 fail #4
>>> Output can be examined in: log/d.spamc_optC/out.1
>>> log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
>>> log/d.spamc_optC/out.7
>>>         t/spamc_optC....................FAILED tests 2,
>>> 4, 6, 8 Failed 4/9 tests, 55.56% okay 
>>> t/spamc_optL....................# Failed test 1 in
>>> t/spamc_optL.t at line 20
>>>         Not found: learned spam = Message successfully
>>> un/learned # Failed test 2 in t/SATest.pm at line 662
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 2/16# Failed test 3
>>> in t/spamc_optL.t at line 24
>>>         Not found: already learned spam = Message was
>>> already un/learned # Failed test 4 in t/SATest.pm at
>>> line 662 fail #2 
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 4/16ERROR: Bayes
>>> dump returned an error, please re-run with -D for more
>>> information # Failed test 5 in t/spamc_optL.t at line 28
>>>         Not found: spam in database = 1 0  non-token
>>> data: nspam # Failed test 6 in t/SATest.pm at line 662
>>> fail #3 
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 6/16# Failed test 7
>>> in t/spamc_optL.t at line 32
>>>         Not found: forget spam = Message successfully
>>> un/learned # Failed test 8 in t/SATest.pm at line 662
>>> fail #4 
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 8/16# Failed test 9
>>> in t/spamc_optL.t at line 36
>>>         Not found: learned ham = Message successfully
>>> un/learned # Failed test 10 in t/SATest.pm at line 662
>>> fail #5 
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 10/16# Failed test
>>> 11 in t/spamc_optL.t at line 40
>>>         Not found: already learned ham = Message was
>>> already un/learned # Failed test 12 in t/SATest.pm at
>>> line 662 fail #6 
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 12/16ERROR: Bayes
>>> dump returned an error, please re-run with -D for more
>>> information # Failed test 13 in t/spamc_optL.t at line 44
>>>         Not found: ham in database = 1 0  non-token
>>> data: nham # Failed test 14 in t/SATest.pm at line 662
>>> fail #7 
>>> Output can be examined in:
>>> t/spamc_optL....................NOK 14/16# Failed test
>>> 15 in t/spamc_optL.t at line 48
>>>         Not found: learned ham = Message successfully
>>> un/learned # Failed test 16 in t/SATest.pm at line 662
>>> fail #8 
>>> Output can be examined in:
>>> t/spamc_optL....................FAILED tests 1-16
>>>         Failed 16/16 tests, 0.00% okay
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-3.2.2-tp11990087p14236931.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Problem with 3.2.2

Posted by Jari Fredriksson <ja...@iki.fi>.
> Hello Jari,
> 
> I am trying to install SpamAssassin on my FreeBSD
> machine, and get the same error messages. Have you found
> any solution? 
> 
> Any information will be very helpful.
> 
> Thanks!
> Job

That was a problem in 3.2.2, and the problem was that you could not run tests as root. Either get 3.2.3 or compile and test SA as non root user.

jarif



> 
> 
> 
> 
> Jari Fredriksson wrote:
>> 
>> 
>> I already had a working cpan-compiled 3.2.2 in two of my
>> machines. 
>> 
>> Then I lost hard drive from the another, and installed a
>> fresh Debian Etch on a new disk.
>> 
>> Tests fail now.
>> 
>> It says:
>> 
>> Failed Test    Stat Wstat Total Fail  List of Failed
>> -------------------------------------------------------------------------------
>> t/spamc_optC.t                9    4  2 4 6 8
>> t/spamc_optL.t               16   16  1-16
>> 
>> 
>> Is this some known issue or do I need something for my
>> Debian? 
>> 
>> Details from the tests:
>> 
>> t/spamc_optC....................        Not found:
>> reported spam = Message successfully reported/revoked
>> # Failed test 2 in t/SATest.pm at line 662
>> Output can be examined in: log/d.spamc_optC/out.1
>> t/spamc_optC....................NOK 2/9 Not found:
>> revoked ham = Message successfully reported/revoked
>> # Failed test 4 in t/SATest.pm at line 662 fail #2
>> Output can be examined in: log/d.spamc_optC/out.1
>> log/d.spamc_optC/out.3
>> t/spamc_optC....................NOK 4/9 Not found:
>> failed to report spam = Unable to report/revoke message
>> # Failed test 6 in t/SATest.pm at line 662 fail #3 
>> Output can be examined in: log/d.spamc_optC/out.1
>> log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
>> t/spamc_optC....................NOK 6/9 Not found:
>> failed to revoke ham = Unable to report/revoke message
>> # Failed test 8 in t/SATest.pm at line 662 fail #4
>> Output can be examined in: log/d.spamc_optC/out.1
>> log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
>> log/d.spamc_optC/out.7
>>         t/spamc_optC....................FAILED tests 2,
>> 4, 6, 8 Failed 4/9 tests, 55.56% okay 
>> t/spamc_optL....................# Failed test 1 in
>> t/spamc_optL.t at line 20
>>         Not found: learned spam = Message successfully
>> un/learned # Failed test 2 in t/SATest.pm at line 662
>> Output can be examined in:
>> t/spamc_optL....................NOK 2/16# Failed test 3
>> in t/spamc_optL.t at line 24
>>         Not found: already learned spam = Message was
>> already un/learned # Failed test 4 in t/SATest.pm at
>> line 662 fail #2 
>> Output can be examined in:
>> t/spamc_optL....................NOK 4/16ERROR: Bayes
>> dump returned an error, please re-run with -D for more
>> information # Failed test 5 in t/spamc_optL.t at line 28
>>         Not found: spam in database = 1 0  non-token
>> data: nspam # Failed test 6 in t/SATest.pm at line 662
>> fail #3 
>> Output can be examined in:
>> t/spamc_optL....................NOK 6/16# Failed test 7
>> in t/spamc_optL.t at line 32
>>         Not found: forget spam = Message successfully
>> un/learned # Failed test 8 in t/SATest.pm at line 662
>> fail #4 
>> Output can be examined in:
>> t/spamc_optL....................NOK 8/16# Failed test 9
>> in t/spamc_optL.t at line 36
>>         Not found: learned ham = Message successfully
>> un/learned # Failed test 10 in t/SATest.pm at line 662
>> fail #5 
>> Output can be examined in:
>> t/spamc_optL....................NOK 10/16# Failed test
>> 11 in t/spamc_optL.t at line 40
>>         Not found: already learned ham = Message was
>> already un/learned # Failed test 12 in t/SATest.pm at
>> line 662 fail #6 
>> Output can be examined in:
>> t/spamc_optL....................NOK 12/16ERROR: Bayes
>> dump returned an error, please re-run with -D for more
>> information # Failed test 13 in t/spamc_optL.t at line 44
>>         Not found: ham in database = 1 0  non-token
>> data: nham # Failed test 14 in t/SATest.pm at line 662
>> fail #7 
>> Output can be examined in:
>> t/spamc_optL....................NOK 14/16# Failed test
>> 15 in t/spamc_optL.t at line 48
>>         Not found: learned ham = Message successfully
>> un/learned # Failed test 16 in t/SATest.pm at line 662
>> fail #8 
>> Output can be examined in:
>> t/spamc_optL....................FAILED tests 1-16
>>         Failed 16/16 tests, 0.00% okay



Re: Problem with 3.2.2

Posted by jobthart <in...@internet-christians.com>.
Hello Jari,

I am trying to install SpamAssassin on my FreeBSD machine, and get the same
error messages. Have you found any solution?

Any information will be very helpful.

Thanks!
Job




Jari Fredriksson wrote:
> 
> 
> I already had a working cpan-compiled 3.2.2 in two of my machines.
> 
> Then I lost hard drive from the another, and installed a fresh Debian Etch
> on a new disk.
> 
> Tests fail now.
> 
> It says:
> 
> Failed Test    Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> t/spamc_optC.t                9    4  2 4 6 8
> t/spamc_optL.t               16   16  1-16
> 
> 
> Is this some known issue or do I need something for my Debian?
> 
> Details from the tests:
> 
> t/spamc_optC....................        Not found: reported spam = Message
> successfully reported/revoked
> # Failed test 2 in t/SATest.pm at line 662
> Output can be examined in: log/d.spamc_optC/out.1
> t/spamc_optC....................NOK 2/9 Not found: revoked ham = Message
> successfully reported/revoked
> # Failed test 4 in t/SATest.pm at line 662 fail #2
> Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
> t/spamc_optC....................NOK 4/9 Not found: failed to report spam =
> Unable to report/revoke message
> # Failed test 6 in t/SATest.pm at line 662 fail #3
> Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
> log/d.spamc_optC/out.5
> t/spamc_optC....................NOK 6/9 Not found: failed to revoke ham =
> Unable to report/revoke message
> # Failed test 8 in t/SATest.pm at line 662 fail #4
> Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
> log/d.spamc_optC/out.5 log/d.spamc_optC/out.7
> t/spamc_optC....................FAILED tests 2, 4, 6, 8
>         Failed 4/9 tests, 55.56% okay
> t/spamc_optL....................# Failed test 1 in t/spamc_optL.t at line
> 20
>         Not found: learned spam = Message successfully un/learned
> # Failed test 2 in t/SATest.pm at line 662
> Output can be examined in:
> t/spamc_optL....................NOK 2/16# Failed test 3 in t/spamc_optL.t
> at line 24
>         Not found: already learned spam = Message was already un/learned
> # Failed test 4 in t/SATest.pm at line 662 fail #2
> Output can be examined in:
> t/spamc_optL....................NOK 4/16ERROR: Bayes dump returned an
> error, please re-run with -D for more information
> # Failed test 5 in t/spamc_optL.t at line 28
>         Not found: spam in database = 1 0  non-token data: nspam
> # Failed test 6 in t/SATest.pm at line 662 fail #3
> Output can be examined in:
> t/spamc_optL....................NOK 6/16# Failed test 7 in t/spamc_optL.t
> at line 32
>         Not found: forget spam = Message successfully un/learned
> # Failed test 8 in t/SATest.pm at line 662 fail #4
> Output can be examined in:
> t/spamc_optL....................NOK 8/16# Failed test 9 in t/spamc_optL.t
> at line 36
>         Not found: learned ham = Message successfully un/learned
> # Failed test 10 in t/SATest.pm at line 662 fail #5
> Output can be examined in:
> t/spamc_optL....................NOK 10/16# Failed test 11 in
> t/spamc_optL.t at line 40
>         Not found: already learned ham = Message was already un/learned
> # Failed test 12 in t/SATest.pm at line 662 fail #6
> Output can be examined in:
> t/spamc_optL....................NOK 12/16ERROR: Bayes dump returned an
> error, please re-run with -D for more information
> # Failed test 13 in t/spamc_optL.t at line 44
>         Not found: ham in database = 1 0  non-token data: nham
> # Failed test 14 in t/SATest.pm at line 662 fail #7
> Output can be examined in:
> t/spamc_optL....................NOK 14/16# Failed test 15 in
> t/spamc_optL.t at line 48
>         Not found: learned ham = Message successfully un/learned
> # Failed test 16 in t/SATest.pm at line 662 fail #8
> Output can be examined in:
> t/spamc_optL....................FAILED tests 1-16
>         Failed 16/16 tests, 0.00% okay
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-3.2.2-tf4214543.html#a14229500
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.