On 7/3/06, Kaushal Shriyan <[EMAIL PROTECTED]> wrote:

I have spamassassin-3.0.4-1.el4 installed by default in RHEL4 Linux

There have been updates since then.  Current is
spamassassin-3.0.6-1.el4 -- but note that I recently reported that
spamd in that package has a problem with whitelist_from_rcvd
directives "leaking" from one user to another.  You might want to
install the 3.1.3 RPM from rpmforge.net

box, How do i configure spamassassin and integrate it with Sendmail

First you need to run (as root)

chkconfig spamassassin on
service spamassassin start

The RedHat (and rpmforge) spamassassin packages supply some files

/etc/mail/spamassassin/spamassassin-default.rc
/etc/mail/spamassassin/spamassassin-spamc.rc

There's nothing especially magic about these, but the intention is
that users who want to pass their mail through SA can insert into
$HOME/.procmailrc a line such as

INCLUDERC=/etc/mail/spamassassin/spamassassin-spamc.rc

and not have to worry about the details.

If you as system administrator want to run spamc for all users, you'd
place that line in the /etc/procmailrc file.  Just *before* that line,
you should also have the line

DROPPRIVS=yes

otherwise spamassassin will run as root rather than as the individual
user whose mail is being scanned.

Reply via email to