On 7/3/06, Bart Schaefer <[EMAIL PROTECTED]> wrote:
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.


Hi Bart

Thanks for the quick turnaround. I installed the latest spamassassin
version for RHEL4

[EMAIL PROTECTED] kaushal]# rpm -qa | grep spam
spamass-milter-0.3.0-1.2.el4.rf
spamassassin-3.1.3-1
[EMAIL PROTECTED] kaushal]#

As you said i could not see spamassassin-default.rc and spamassassin-spamc.rc

[EMAIL PROTECTED] spamassassin]# pwd
/etc/mail/spamassassin
[EMAIL PROTECTED] spamassassin]# ls
init.pre  local.cf  v310.pre  v312.pre
[EMAIL PROTECTED] spamassassin]#

How do I proceed ???

I also dont have procmailrc under /etc.
How do i proceed here

Thanks and Regards

Kaushal

Reply via email to