Installing spamassassin3.1.3 for system-wide use
Posted on 2006-06-22
I have RHESv3 with perl v5.8.0 and with that version of perl the latest version of spamassassin is recommended, so I went to Apache's download site (Redhat's rpm for spamassassin is old). The site says that 'rpmbuild -tb Mail-Spamassassin-3.1.3.tar.gz' will build an rpm, however in my case it only extracts the files to /usr/src/redhat/BUILD/Mail-SpamAssassin-3.1.3. I had already gunzip'd and tar -xvf'd it the file to my desktop and don't see what advantage rpmbuild confers, unless this outcome indicates a problem with my OS. Pls advise whether there's a problem and if not, whether I should install spamassassin from $HOME/Desktop, /usr/src/redhat/BUILD, or whether it just doesn't matter, thanks.
I read the INSTALL file in the Mail-Spamassassin folder, and it tells me what the required and optional perl modules are (I have all the required and some of the optional modules installed - some conflicted with perl5.8 and others weren't available as rpm's - figured this is complicated enough without installing perl modules from source). So far, so good.
However, the INSTALL file only provides instructions on installing spamassassin for personal use (not system-wide). I need a system-wide install and understand that the usual procedure for that is .configure, make and make install, however there are two directories with configure and makefiles, spamc and spamd, and I hesitate to proceed until I know why /how to proceed - I'm afraid the documentation may be spread out among files meant for more experienced administrators than myself :(
For the record, the "personal use" instructions from the INSTALL file say to:
- perl Makefile.PL PREFIX=$HOME
If this is recommended for system-wide installs as well, I'd need to know why '.configure' is omitted, whether I should run these commands twice (for spamc and then spamd), and whether this would this work:
- perl Makefile.PL PREFIX=/var/spool/mail