Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-10 Thread Eric Shubert

No, that should only take a few seconds. The correct format is:
# sudo -u vpopmail -H spamassassin -D --lint
If you don't sudo it, it runs as root, which would get a slightly 
different configuration (bayes database at least) than what the toaster 
would be using as the vpopmail user.


Mike Canty wrote:

Aleksander,
Thanks for this.

In the end I needed to install the rpmforge repo manually.  Greatly assisted by 
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

Then I was able to run " yum install perl-Mail-DomainKeys"

Now I am checking the Spamassassin config by running "spamassassin -D -lint"
Should this take a while?  It's been running for more than 5 minutes, but at 
least it is not presenting errors any longer.

Cheers

-Original Message-
From: Aleksander Podsiadly [mailto:[email protected]] 
Sent: Monday, 10 August 2009 4:07 PM

To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

W dniu 10.08.2009 08:24, Mike Canty pisze:

Eric,
Thanks for your feedback, much appreciated.

When I tried the qtp-newmodel, it ran fine and finished with the lines below

Qmailtoaster packages are all current.
There is nothing more to do.

Then I tried to run "yum install perl(Mail::DomainKeys)".  I am new to this
setup, so I was not surprised when I got a syntax error for the "("

   

yum install perl-Mail-DomainKeys



Can you please tell me what the correct syntax should be with the
--enablerepo=rpmforge flag included.

Cheers
   

man yum




--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-10 Thread Eric Shubert

Sorry, that should've been
# yum install "perl(Mail::DomainKeys)"

# yum install perl-Mail-DomainKeys
does the same thing. The other format is what qtp-newmodel uses though, 
as this format can be used with the "rpm --query --whatprovides" 
command. FWIW.


Also, the next release of QTP will contain a modified qtp-newmodel that 
allows you to rebuild packages. Sorry again, I forgot that this 
capability isn't yet in the current release. It's been checked into the 
svn repo though so it can be obtained there in a pinch.


Mike Canty wrote:

Eric,
Thanks for your feedback, much appreciated.

When I tried the qtp-newmodel, it ran fine and finished with the lines below

Qmailtoaster packages are all current.
There is nothing more to do.

Then I tried to run "yum install perl(Mail::DomainKeys)".  I am new to this
setup, so I was not surprised when I got a syntax error for the "("

Can you please tell me what the correct syntax should be with the
--enablerepo=rpmforge flag included.

Cheers

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Monday, 10 August 2009 2:58 PM
To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

Mike Canty wrote:

OS - CentOS 5.3
Installed last week, so latest version of Qmail-toaster

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Monday, 10 August 2009 11:41 AM
To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

Mike Canty wrote:

Spamassassin is not working due to a Perl error.

When I run "spamassassin -D -lint"  I see a compile error indicating that
"DomainKeys" is not loaded.

If I try to install this using cpan, by running "cpan -i

Mail::DomainKeys"

this errors when it reaches the section on OpenSSL, as this is not loaded
correctly.  The OpenSSL failed to install because one test out of 63

failed.

See below.

t/rsa...ok 1/63# Failed test 63 in t/rsa.t at line 150

#  t/rsa.t line 150 is: ok(!$@);
t/rsa...FAILED test 63

Failed 1/63 tests, 98.41% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed




---
t/rsa.t   631   1.59%  63
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 1/73 subtests failed, 98.63% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I have even tried to install the OpenSSL section on its own first by

running

"cpan -i Crypt::OpenSSL::RSA", but this brought the same error.

How can I correct the installation of the OpenSSL section to pass this

test?

Rectifying this will allow me to install openSSL ,then DomainKeys and
finally be able to compile Spamassassin correctly.

Any help will be appreciated.

Cheers - Mike Canty


Which distro/version/arch are you running?



You can do
# yum install perl(Mail::DomainKeys)
if you have the rpmforge yum repo installed.
qtp-newmodel will do this automatically for you, including installing 
the rpmforge repo (in a disabled state). You'll need to use the 
--enablerepo=rpmforge flag if it's not enabled by default.


FWIW, qtp-newmodel can be used in place of the download and install 
scripts, and it will handle these dependencies for you.





--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-10 Thread Mike Canty
Aleksander,
Thanks for this.

In the end I needed to install the rpmforge repo manually.  Greatly assisted by 
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

Then I was able to run " yum install perl-Mail-DomainKeys"

Now I am checking the Spamassassin config by running "spamassassin -D -lint"
Should this take a while?  It's been running for more than 5 minutes, but at 
least it is not presenting errors any longer.

Cheers

-Original Message-
From: Aleksander Podsiadly [mailto:[email protected]] 
Sent: Monday, 10 August 2009 4:07 PM
To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

W dniu 10.08.2009 08:24, Mike Canty pisze:
> Eric,
>   Thanks for your feedback, much appreciated.
>
> When I tried the qtp-newmodel, it ran fine and finished with the lines below
>
> Qmailtoaster packages are all current.
> There is nothing more to do.
>
> Then I tried to run "yum install perl(Mail::DomainKeys)".  I am new to this
> setup, so I was not surprised when I got a syntax error for the "("
>
>
yum install perl-Mail-DomainKeys


> Can you please tell me what the correct syntax should be with the
> --enablerepo=rpmforge flag included.
>
> Cheers
>
man yum

-- 
Pozdrawiam / Regards,
Aleksander Podsiadły


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-09 Thread Aleksander Podsiadly

W dniu 10.08.2009 08:24, Mike Canty pisze:

Eric,
Thanks for your feedback, much appreciated.

When I tried the qtp-newmodel, it ran fine and finished with the lines below

Qmailtoaster packages are all current.
There is nothing more to do.

Then I tried to run "yum install perl(Mail::DomainKeys)".  I am new to this
setup, so I was not surprised when I got a syntax error for the "("

   

yum install perl-Mail-DomainKeys



Can you please tell me what the correct syntax should be with the
--enablerepo=rpmforge flag included.

Cheers
   

man yum

--
Pozdrawiam / Regards,
Aleksander Podsiadły


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-09 Thread Mike Canty
Eric,
Thanks for your feedback, much appreciated.

When I tried the qtp-newmodel, it ran fine and finished with the lines below

Qmailtoaster packages are all current.
There is nothing more to do.

Then I tried to run "yum install perl(Mail::DomainKeys)".  I am new to this
setup, so I was not surprised when I got a syntax error for the "("

Can you please tell me what the correct syntax should be with the
--enablerepo=rpmforge flag included.

Cheers

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Monday, 10 August 2009 2:58 PM
To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

Mike Canty wrote:
> OS - CentOS 5.3
> Installed last week, so latest version of Qmail-toaster
> 
> -Original Message-
> From: news [mailto:[email protected]] On Behalf Of Eric Shubert
> Sent: Monday, 10 August 2009 11:41 AM
> To: [email protected]
> Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error
> 
> Mike Canty wrote:
>> Spamassassin is not working due to a Perl error.
>>
>> When I run "spamassassin -D -lint"  I see a compile error indicating that
>> "DomainKeys" is not loaded.
>>
>> If I try to install this using cpan, by running "cpan -i
Mail::DomainKeys"
>> this errors when it reaches the section on OpenSSL, as this is not loaded
>> correctly.  The OpenSSL failed to install because one test out of 63
> failed.
>> See below.
>>
>> t/rsa...ok 1/63# Failed test 63 in t/rsa.t at line 150
>>
>> #  t/rsa.t line 150 is: ok(!$@);
>> t/rsa...FAILED test 63
>>
>> Failed 1/63 tests, 98.41% okay
>> Failed Test Stat Wstat Total Fail  Failed  List of Failed
>>
>

>> ---
>> t/rsa.t   631   1.59%  63
>> 1 test skipped.
>> Failed 1/3 test scripts, 66.67% okay. 1/73 subtests failed, 98.63% okay.
>> make: *** [test_dynamic] Error 255
>>   /usr/bin/make test -- NOT OK
>> Running make install
>>   make test had returned bad status, won't install without force
>>
>> I have even tried to install the OpenSSL section on its own first by
> running
>> "cpan -i Crypt::OpenSSL::RSA", but this brought the same error.
>>
>> How can I correct the installation of the OpenSSL section to pass this
> test?
>> Rectifying this will allow me to install openSSL ,then DomainKeys and
>> finally be able to compile Spamassassin correctly.
>>
>> Any help will be appreciated.
>>
>> Cheers - Mike Canty
>>
> 
> Which distro/version/arch are you running?
> 

You can do
# yum install perl(Mail::DomainKeys)
if you have the rpmforge yum repo installed.
qtp-newmodel will do this automatically for you, including installing 
the rpmforge repo (in a disabled state). You'll need to use the 
--enablerepo=rpmforge flag if it's not enabled by default.

FWIW, qtp-newmodel can be used in place of the download and install 
scripts, and it will handle these dependencies for you.

-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail:
[email protected]




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-09 Thread Eric Shubert

Mike Canty wrote:

OS - CentOS 5.3
Installed last week, so latest version of Qmail-toaster

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Monday, 10 August 2009 11:41 AM
To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

Mike Canty wrote:

Spamassassin is not working due to a Perl error.

When I run "spamassassin -D -lint"  I see a compile error indicating that
"DomainKeys" is not loaded.

If I try to install this using cpan, by running "cpan -i Mail::DomainKeys"
this errors when it reaches the section on OpenSSL, as this is not loaded
correctly.  The OpenSSL failed to install because one test out of 63

failed.

See below.

t/rsa...ok 1/63# Failed test 63 in t/rsa.t at line 150

#  t/rsa.t line 150 is: ok(!$@);
t/rsa...FAILED test 63

Failed 1/63 tests, 98.41% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed




---
t/rsa.t   631   1.59%  63
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 1/73 subtests failed, 98.63% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I have even tried to install the OpenSSL section on its own first by

running

"cpan -i Crypt::OpenSSL::RSA", but this brought the same error.

How can I correct the installation of the OpenSSL section to pass this

test?

Rectifying this will allow me to install openSSL ,then DomainKeys and
finally be able to compile Spamassassin correctly.

Any help will be appreciated.

Cheers - Mike Canty



Which distro/version/arch are you running?



You can do
# yum install perl(Mail::DomainKeys)
if you have the rpmforge yum repo installed.
qtp-newmodel will do this automatically for you, including installing 
the rpmforge repo (in a disabled state). You'll need to use the 
--enablerepo=rpmforge flag if it's not enabled by default.


FWIW, qtp-newmodel can be used in place of the download and install 
scripts, and it will handle these dependencies for you.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




RE: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-09 Thread Mike Canty
OS - CentOS 5.3
Installed last week, so latest version of Qmail-toaster

-Original Message-
From: news [mailto:[email protected]] On Behalf Of Eric Shubert
Sent: Monday, 10 August 2009 11:41 AM
To: [email protected]
Subject: Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

Mike Canty wrote:
> Spamassassin is not working due to a Perl error.
> 
> When I run "spamassassin -D -lint"  I see a compile error indicating that
> "DomainKeys" is not loaded.
> 
> If I try to install this using cpan, by running "cpan -i Mail::DomainKeys"
> this errors when it reaches the section on OpenSSL, as this is not loaded
> correctly.  The OpenSSL failed to install because one test out of 63
failed.
> See below.
> 
> t/rsa...ok 1/63# Failed test 63 in t/rsa.t at line 150
> 
> #  t/rsa.t line 150 is: ok(!$@);
> t/rsa...FAILED test 63
> 
> Failed 1/63 tests, 98.41% okay
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
>

> ---
> t/rsa.t   631   1.59%  63
> 1 test skipped.
> Failed 1/3 test scripts, 66.67% okay. 1/73 subtests failed, 98.63% okay.
> make: *** [test_dynamic] Error 255
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force
> 
> I have even tried to install the OpenSSL section on its own first by
running
> "cpan -i Crypt::OpenSSL::RSA", but this brought the same error.
> 
> How can I correct the installation of the OpenSSL section to pass this
test?
> Rectifying this will allow me to install openSSL ,then DomainKeys and
> finally be able to compile Spamassassin correctly.
> 
> Any help will be appreciated.
> 
> Cheers - Mike Canty
> 

Which distro/version/arch are you running?

-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail:
[email protected]




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]




Re: [qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-09 Thread Eric Shubert

Mike Canty wrote:

Spamassassin is not working due to a Perl error.

When I run "spamassassin -D -lint"  I see a compile error indicating that
"DomainKeys" is not loaded.

If I try to install this using cpan, by running "cpan -i Mail::DomainKeys"
this errors when it reaches the section on OpenSSL, as this is not loaded
correctly.  The OpenSSL failed to install because one test out of 63 failed.
See below.

t/rsa...ok 1/63# Failed test 63 in t/rsa.t at line 150

#  t/rsa.t line 150 is: ok(!$@);
t/rsa...FAILED test 63

Failed 1/63 tests, 98.41% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed

---
t/rsa.t   631   1.59%  63
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 1/73 subtests failed, 98.63% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I have even tried to install the OpenSSL section on its own first by running
"cpan -i Crypt::OpenSSL::RSA", but this brought the same error.

How can I correct the installation of the OpenSSL section to pass this test?
Rectifying this will allow me to install openSSL ,then DomainKeys and
finally be able to compile Spamassassin correctly.

Any help will be appreciated.

Cheers - Mike Canty



Which distro/version/arch are you running?

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]




[qmailtoaster] Spamassassin - Crypt::OpenSSL::RSA Error

2009-08-09 Thread Mike Canty
Spamassassin is not working due to a Perl error.

When I run "spamassassin -D -lint"  I see a compile error indicating that
"DomainKeys" is not loaded.

If I try to install this using cpan, by running "cpan -i Mail::DomainKeys"
this errors when it reaches the section on OpenSSL, as this is not loaded
correctly.  The OpenSSL failed to install because one test out of 63 failed.
See below.

t/rsa...ok 1/63# Failed test 63 in t/rsa.t at line 150

#  t/rsa.t line 150 is: ok(!$@);
t/rsa...FAILED test 63

Failed 1/63 tests, 98.41% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed

---
t/rsa.t   631   1.59%  63
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 1/73 subtests failed, 98.63% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I have even tried to install the OpenSSL section on its own first by running
"cpan -i Crypt::OpenSSL::RSA", but this brought the same error.

How can I correct the installation of the OpenSSL section to pass this test?
Rectifying this will allow me to install openSSL ,then DomainKeys and
finally be able to compile Spamassassin correctly.

Any help will be appreciated.

Cheers - Mike Canty


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: [email protected]
 For additional commands, e-mail: [email protected]