install spamas

terry

Verified User
Joined
May 24, 2005
Messages
30
Hiya im following the guide here to install spamassassin but however have a few questions as im new to doing technical things in ssh.

http://help.directadmin.com/item.php?id=36

On step 3 of the tutorial, we are asked to change things in the /etc/exim.conf file, what is the proper command to navigate to this file and how to replace those text?

The global spamassassin config file is in /etc/mail/spamassassin/local.cf

You'll want to make sure that you have the correct call to spamc in the spamcheck transport in your exim.conf:
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}

For the lines i quoted, im not sure what i have to do here and how to do it.

Lastly how do i know if im installing latest version of spamas and how to test weather it is working against spam??
 
On step 3 of the tutorial, we are asked to change things in the /etc/exim.conf file, what is the proper command to navigate to this file and how to replace those text?
I find that nano (an updated pico) is the easiest text editor to get to grips with. The command to type to install this will depend on your operating system but hopefully you won't have much trouble with that. Once it's installed type
Code:
nano /etc/exim.conf
and you'll be presented with the contents of your exim config file.

Next, you need to navigate to the part of the file that is going to be edited and to do this I'd type;
Code:
*CTRL+W*
Search: Spam Assassin
*RETURN*
If done correctly nano should have jumped to the part of the file to which the DA knowledge base is referring.

Next, you should only need to remove 12 hash characters (#) to leave the file looking the same as the knowledge base suggests. You can do this using the cursor keys and the delete key as normal. Finally, save the file and exit nano by typing
Code:
*CTRL+O*
*CTRL+X*

For the lines i quoted, im not sure what i have to do here and how to do it.
To make sure that this line exists in its entirety you need only to repeat the previous steps to search for the text but it's likely you won't need to change anything as this line should already be there.

Lastly how do i know if im installing latest version of spamas
As long as DirectAdmin is up to date the latest version of SpamAssassin will be installed (currently 3.2.5).

and how to test weather it is working against spam?
Once you have completed the knowledge base tutorial a SpamAssassin menu item should appear in DirectAdmin. During configuration make sure you ask the service to send spam to the user's designated spam folder and check this folder regularly for spam. You should also check that spamd is actually running by typing;
Code:
ps aux | grep spamd
 
But remember spammassin should be your last resort to prevent spam. RBL and nolisting should be the first two things you use. It will decrease server load tremendously. Spamassassin will increase server load.
 
Back
Top