Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 16:56:02 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Cazenave Jean-Christophe <cazenave@ipno.in2p3.fr>, Jean-Christophe Cazenave <zenaf@noos.fr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Bogofilter (fwd)
Message-ID:  <20030110005602.GB91970@rot13.obsecurity.org>
In-Reply-To: <Pine.LNX.4.44.0301090719380.1563-100000@ipnli4.in2p3.fr>
References:  <Pine.LNX.4.44.0301090719380.1563-100000@ipnli4.in2p3.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--l76fUT7nc3MelDdI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

>  I have problems to let run bogofilter (I use FreeBSD RELENG_4).
> Could someone tell me how to use it ?

It's adequately described in the documentation..but I have this in my
.procmailrc (copied directly from the docs)

----
# filter mail through bogofilter, tagging it as spam and
# updating the word lists

:0fw
| /usr/local/bin/bogofilter -u -e -p

# if bogofilter failed, return the mail to the queue, the MTA will
# retry to deliver it later
# 75 is the value for EX_TEMPFAIL in /usr/include/sysexits.h

:0e
{ EXITCODE=75 HOST }

# file the mail to spam-bogofilter if it's spam.

:0:
* ^X-Bogosity: Yes, tests=bogofilter
spam
----

If this doesn't answer your question then you'll need to be more
specific about what you are trying to do.

> By the way, what is the preferred anti-spam package on FBSD
> (with sendmail) and how is it possible to install it ?

I use bogofilter at the user-level, and am very happy with it.

Kris

--l76fUT7nc3MelDdI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+HhoiWry0BWjoQKURAuX9AKDKe2M4WGaoyzhc+ixc+ro5LwVZVgCePkiH
+gBEhc3ek0iez6JmtVMumJ0=
=M0g/
-----END PGP SIGNATURE-----

--l76fUT7nc3MelDdI--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030110005602.GB91970>