Visits

[+/-]
Today:
Yesterday:
Day before yesterday:
30
389
372

+17
This week:
Last week:
Week before last week:
1516
2427
2483

-56

Last month:
Month before last month:
10694
9885
8946

+939

Visitor Data

IP ADDRESS
38.107.191.87
-
Location
United States
-
Browser
Unknown Browser
-
Operating System
Unknown Operating System

Most Downloaded


No Documents
Add to: JBookmarks Add to: Bookmarks.cc Add to: Digg Add to: Reddit Add to: Upchuckr Add to: StumbleUpon Add to: Slashdot Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Smarking Add to: Spurl Add to: Google Information

08

Sep

SPAM Assassin setup

SpamAssassin - Setup.



Step 1.

Installing the SpamAssassin CPAN utility. You will need to do this
as root.

$ su -

Once you have root privileges invoke cpan.

# perl -MCPAN -e shell

cpan>

Now install with prerequisites policy set to ask.

cpan> o conf prerequisites_policy ask

cpan> install Mail::SpamAssassin

You will get lots of output as the necessary modules are downloaded and
compiled and installed.

Step 2.

Configuration.

Edit the following "/etc/mail/spamassassin/local.cf"

Here is a look at my file

$ cat /etc/mail/spamassassin/local.cf


# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_subject 0
# report_safe 1
# trusted_networks 212.17.35.
#

# Below added from book
# You may want to set this to 5, then, work your way down.
# Currently I have this 3
required_hits 3

# This determines how spam is reported. Currently safe email is reported
# in the message.
report_safe 1

# The will rewrite the tag of the spam message.
rewrite_subject 1

# By default, SpamAssassin will run RBL checks. If your ISP already
# does this, set this to 1.
skip_rbl_checks 0

Step 3.

Update .procmail.

You should update the .procmail file as follows. Here is my /home/chirico/.procmail file.


$ cat /home/chirico/.procmailrc

PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=/var/spool/mail
DEFAULT=/var/spool/mail/chirico
LOGFILE=/home/chirico/MailBAG
MYHOME=/home/chirico
# Must have folder MailTRASH
TRASH=/home/chirico/MailTRASH

# Will get everything from this mail
:0
* ^From:.* This e-mail address is being protected from spambots. You need JavaScript enabled to view it
$DEFAULT

# Spamassassin
:0fw
* <300000
|/usr/local/bin/spamassassin