Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

spamassassin

Posted on 2009-05-19
1
Medium Priority
?
779 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
1 Comment
 
LVL 5

Accepted Solution

by:
random_ru earned 1500 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

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Question has a verified solution.

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

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

579 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