LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-11-2017, 12:50 PM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
cant instal module for Spamassassin on slackware64 14.2 up-to-date


hello!
try install spamassassin via CPAN:

perl -MCPAN -e shell

o conf prerequisites_policy ask
install Mail::SpamAssassin

chmod 755 /usr/local/share/spamassassin
KMCGRAIL/SpamAssassin/Mail-SpamAssassin-3.4.1.tar.gz
/usr/bin/make install -- OK
Running install for module 'Mail::SPF'
Checksum for /root/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz ok
Configuring J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Mail-SPF' version 'v2.9.0'
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
/usr/bin/perl5.22.2 Build.PL -- OK
Running Build for J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
Building Mail-SPF
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
./Build -- OK
Running Build test
t/00.00-class-misc.t .......... ok
t/00.01-class-util.t .......... ok
t/00.02-class-request.t ....... ok
t/00.03-class-result.t ........ ok
t/00.04-class-server.t ........ 1/23 deprecated method; see RT#37104 at /root/.cpan/build/Mail-SPF-v2.9.0-xTkt3L/blib/lib/Mail/SPF/Server.pm line 566.
Unknown error on DNS 'A' lookup of 'example.com' (EDNSError) at /root/.cpan/build/Mail-SPF-v2.9.0-xTkt3L/blib/lib/Mail/SPF/Server.pm line 573.
# Looks like your test exited with 255 just after 19.
t/00.04-class-server.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/23 subtests
t/00.05-class-macrostring.t ... ok
t/00.99-class-misc.t .......... ok
t/10.00-rfc4408.t ............. skipped: Mail::SPF::Test required for testing Mail::SPF's RFC compliance
t/10.01-rfc4406.t ............. skipped: Mail::SPF::Test required for testing Mail::SPF's RFC compliance
t/90-author-pod-validation.t .. 1/27
# Failed test 'POD test for blib/lib/Mail/SPF/Util.pm'
# at /usr/local/share/perl5/Test/Pod.pm line 187.
# blib/lib/Mail/SPF/Util.pm (157): L<> starts or ends with whitespace
# blib/lib/Mail/SPF/Util.pm (157): L<> starts or ends with whitespace
# Looks like you failed 1 test of 27.
t/90-author-pod-validation.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/27 subtests

Test Summary Report
-------------------
t/00.04-class-server.t (Wstat: 65280 Tests: 19 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 23 tests but ran 19.
t/90-author-pod-validation.t (Wstat: 256 Tests: 27 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=10, Tests=155, 2 wallclock secs ( 0.08 usr 0.02 sys + 1.74 cusr 0.16 csys = 2.00 CPU)
Result: FAIL
Failed 2/10 test programs. 1/155 subtests failed.
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
Failed during this command:
(optional) JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz: make_test NO



cpan[4]> force install Mail::SPF
Running install for module 'Mail::SPF'
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Mail-SPF-v2.9.0-xTkt3L
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
Has already been prepared
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
Has already been made
JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
Won't repeat unsuccessful test during this command

cpan[5]> quit


why Mail::SPF no install, and what i can install it by force?

as i understand from this, it is not installed...?
 
Old 01-11-2017, 01:09 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...in-4175596463/
 
1 members found this post helpful.
Old 03-22-2023, 02:18 PM   #3
tix
Member
 
Registered: May 2011
Posts: 31
Blog Entries: 6

Rep: Reputation: 1
RE: SpamAssassin on Slackware 14.2 - March 2023

Greetings to all you Linux fans!

Way back in 2021 I installed SpamAssassin on my Slackware Linux 14.2 mail server and the installation was straight forward.

Fast forward to March 2023, the hard disks on the mail server started complaining about imminent failure as reported by SMART.

Well, the most logical thing to do was:
1) Backup all user mailboxes including their sent items, drafts, junk and spam
2) Backup all system configuration & databases
3) Backup all other files
4) Replace faulty hard disks with other functional hard disks
5) Re-install Slackware Linux 14.2 on new hard disks and update the system
6) Reconfigure the mail server and all other services
8) Restore all files including mailboxes
9) Reinstall SpamAssassin --> this is where it gets complicated since many perl packages and also Slackware packages have been updated over the years

For all those desperate sysadmins at the end of their ropes ... hope this blog post points you in the right direction :)

https://www.linuxquestions.org/quest...re-14-2-38951/

Cheers and Enjoy!
 
1 members found this post helpful.
  


Reply

Tags
cpan, modules, perl, spamassassin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to really be sure slackware64-current is up-to-date? moisespedro Slackware 5 05-06-2015 09:11 AM
Keeping multi-lib Slackware64 up-to-date. . . Lufbery Slackware 11 11-04-2010 03:03 PM
Spamassassin Module wacko_cracko Linux - Software 0 05-21-2005 08:02 AM
RHEL - SpamAssassin woefully out of date divzero Red Hat 1 02-13-2005 10:48 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration