Solved

spamassassin

Posted on 2009-05-19
1
772 Views
Last Modified: 2013-12-16
Dear Sir:

I have rhel5 mail server with mailscanner and with install-Clam-0.95.1-SA-3.2.5
with this /etc/mail/spamassassin directory was created with files inside by mistake i deleted the /etc/mail/spamassassin directory , i tried installing install-Clam-0.95.1-SA-3.2.5 but still the directory spamassassin did not get created with files inside please help
only i have is mailscanner backup
i deleted using rm -rf , hence it is not available in trash
when tried to install again  bu cd to insatll-Clam-0.95.1-SA-3.2.5 and execute ./install.sh
finally the following is the message
spam.assassin.prefs.conf is read directly by the SpamAssassin startup
code, so make sure you have a link from the site_rules directory to
this file in your MailScanner/etc directory.
Perl could not find your SpamAssassin installation.
Strange, I just installed it.
You should fix this!

Making backup of pre files to /tmp/backup.pre.26393.tar
tar: *pre: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
Now go and find your v310.pre and v320.pre files,
    echo which may well be in the /etc/mail/spamassassin directory.
You need to save a copy of your old v320.pre file and rename
the v320.pre file to v320.pre.

You then need to edit the new v320.pre file and uncomment
(remove the #) the loadplugin lines for DCC.

Also add these lines to the end of it:
loadplugin Mail::SpamAssassin::Plugin::RelayCountry
loadplugin Mail::SpamAssassin::Plugin::SPF
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
loadplugin Mail::SpamAssassin::Plugin::Razor2
Now go and find your v310.pre and v320.pre files,
    echo which may well be in the /etc/mail/spamassassin directory.
You need to save a copy of your old v310.pre file and rename
the v310.pre file to v320.pre.

You then need to edit the new v310.pre file and uncomment
(remove the #) the loadplugin lines for DCC.

Also add these lines to the end of it:
loadplugin Mail::SpamAssassin::Plugin::RelayCountry
loadplugin Mail::SpamAssassin::Plugin::SPF
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
loadplugin Mail::SpamAssassin::Plugin::Razor2
Now go and find your v310.pre and v320.pre files,
    echo which may well be in the /etc/mail/spamassassin directory.
You need to save a copy of your old init.pre file and rename
the init.pre file to v320.pre.

You then need to edit the new init.pre file and uncomment
(remove the #) the loadplugin lines for DCC.

Also add these lines to the end of it:
loadplugin Mail::SpamAssassin::Plugin::RelayCountry
loadplugin Mail::SpamAssassin::Plugin::SPF
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
loadplugin Mail::SpamAssassin::Plugin::Razor2

Make sure your MailScanner.conf says "Use SpamAssassin = yes"

Now you need to install:
1) Razor-agents-sdk and Razor2 from http://razor.sourceforge.net/ and
2) DCC from http://www.rhyolite.com/anti-spam/dcc/ and
---------------end------------
please help




please help me
0
Comment
Question by:D_wathi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
random_ru earned 500 total points
ID: 24422188
D_wathi,

Seems as you are thinking about the Spamassassin and Clam AV as one program, which they are not. They serve similar purposes of detecting spam and other malware in mail (Spamassassin) and system files (Clam).
Back to your issue...since the /etc/mail/spamassassin has been deleted, spam assassin needs to be reinstalled. Before reinstalling it, I would check the Add/Remove Software in the graphical interface under Administration to check if the system will let you remove Spamassassin first. Since it sounds as you did not use rpm, Add/Remove software may be your only way to uninstall it, which is a good aidea in this case (if you cannot uninstall it, that's fine, just continue with the reinstall)  Here is a site to the download links and RPM creation instructions:
 - http://spamassassin.apache.org/downloads.cgi?update=200806121419

I always try to install via rpm first if it is a basic install, since it is then easier to get rid of it as RPM keep track of files when they are being installed (us -vv option for rpm install to get more info). If RPM installation does not go through, then try compiling from source.

After the Spamassassin is installed, make sure clam is functioning properly, otherwise try to uninstall it first as in the case with the Spamassassin and reinstal using:
 - http://www.clamav.net/download/packages/packages-linux

Make sure both programs are installed and functioning correctly before continuing with further installations. Good luck!
0

Featured Post

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Encryption for Business Encryption (https://en.wikipedia.org/wiki/Encryption) ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question