Is it possible to simplify the installation of spamassassin?

comeback

Verified User
Joined
Aug 21, 2012
Messages
34
Hello,

I speak French, sorry for my bad English.

I have a dedicated server with CentOS 6.3 64 bit. When I want to install spamassassin, I have to type this command:

Code:
export PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI

It takes a lot of time, more than an hour. Is there a possibility to do differently to save time?

For example, a person proposes to do this:

http://www.directadmin.com/forum/showthread.php?t=42171&p=213174#post213174

Code:
yum install spamassassin -y
yum erase spamassassin -y

cd /usr/local/directadmin/custombuild
./build set_fastest && ./build update
./build set spamassassin yes
./build spamassassin

Does it work?

Thank you for your help
 
Yes, you can do it for your installation. But directadmin also supports Debian, as well as FreeBSD, and to respect all types of OS would need to add much more code into custombuild, that is why I guess, Directadmin build script uses the way it works on all distros.
 
Back
Top