Re: Why no spam filter in RH?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed Jun 19 2002 at 10:18, "Vladimir G. Ivanovic" wrote:

> I've just set up SpamAssassin (http://spamassassin.org) on my system,
> and I was wondering why Red Hat did not include a spam filter in its
> distribution (at least I don't know of such a filter).
> 
> --- Vladimir

I must agree that spamassassin is brilliant and it has made managing
email a lot easier.  It does miss the odd one (perhaps 2%), and on
rare occasions it has tagged as spam email from mailing lists
(perhaps 1%).

There are likely to be reasons why things like this are not included
in the standard distro (eg, they could end up giving technical
support for it, they may not be familiar with it, the product may
not be 200% stable, or whatever).

Personally, I don't expect redhat to bundle its distribution with
*everything* and anything I might need.  There comes a point where
you really need to do things like this for yourself.

Spamassassin is trivial to install and configure....

	perl -MCPAN -e shell
	[ ... ]
	install Mail::SpamAssassin

That's it, easy.  All that's left is to read the man pages.  There
may be some perl dependency packages that are needed, they can also
be easily installed at the same time.
  
  (Ok, doing that is not very rpm-ish, and sort of "messes up" what
  rpm thinks is in /usr/lib/perl5/, but so what?  It has never been
  an inconvenience for me.  If I ever need to query or upgrade what
  perl modules are installed, perl-MCPAN can do that).

SA can be plugged into ~/.procmailrc very easily, and if you do that
then I would recommend using it via spamc to call a spamd daemon
(rather than calling spamassassin directly for each message).

Beware that spamassassin is a real cpu hit on large (>~100k)
messages, so these should never be scanned (very few spams are that
big anyway).

It can also incorporated into a sendmail "milter" if you use
something like MIMEDefang (also perl-based) for filtering email
going it.  (http://www.roaringpenguin.com/mimedefang).  I have MD
running on redhat boxes right now (mixture of 6.2/7.1/7.2 distros)
and it is BRILLIANT for filtering email in all sorts of ways (hey,
the filter is perl, so go nuts).  It is especially useful in
protecting against viruses and spam.  (It filters viruses with
linux-based virus scanners).

Cheers
Tony

========8<-----cut--------------
# --- exerpt from ~/.procmailrc ---
# SpamAssassin checks
# - only if mail <10000 bytes
# - expects to find spamd on port 2222
:0 fw
* < 100000
| spamc -p 2222
:0 e
{
  EXITCODE=$?
}
:0H :spam/$LOCKEXT
* ^X-Spam-Status:.*Yes
# * ^Subject:.*\*\*\*\*SPAM\*\*\*\*
| rcvstore +spam
========8<-----cut--------------



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux