Sa-Exim runs spamassassin on exim's local scan and lets you set a
threshold score to 'tarpit' (they call it teergrube)
you can get it at
http://sa-exim.sf.net
also
there's a good how-to for compiling exim with sa-exim and exiscan acl (
available at
http://duncanthrax.net/exiscan-acl ) which you can pick up
at
http://www.timj.co.uk/linux/exim.php
i followed the 'mini-how-to' above a while back, and it worked great.
the following is my abridged version of it:
1) Make an install directory
2) DL Source Files to a SRC directory (backup) and copy them to the
working dir, unzip, and untar
3) go into the exim dir, and apply the exiscan acl patch
4) go into the sa-exim dir, overwrite the exim/src dir's local_scan.c
with sa_exim.c - then "make sa-exim.h" and copy it to the same directory
5) copy exim/src/EDITME to exim/Local/Makefile -- then edit that file
6) "make", test it, then su and "make install"
7) edit the /usr/exim/configure and /usr/exim/sa-exim.conf files
note: in local_scan.c, i moved sa-exim.conf to /usr/exim/sa-exim.conf
-- to match exim's /usr/exim/configure
== urls and shell commands (in order) follow
urls:
www.exim.org - exim mta
sa-exim.sf.net - sa-exim (spamassassin at local scan)
duncanthrax.net/exiscan-acl - exiscan ACL extentions
mkdir SA-EXISCAN_INSTALL
cd SA-EXISCAN_INSTALL
mkdir SRC
cd SRC
wget http://marc.merlins.org/linux/exim/files/sa-exim-current.tar.gz
wget http://duncanthrax.net/exiscan-acl/exiscan-acl-4.22-10.patch
wget http://www.us.exim.org/ftp/exim4/exim-4.22.tar.bz2
cp * ../
cd ..
gzip -d sa-exim-current.tar.gz
tar -xf sa-exim-current.tar
bzip2 -d exim-4.22.tar.bz2
tar -xf exim-4.22.tar
cd exim-4.22
patch -p1 < /usr/exim/SA-EXISCAN_INSTALL/exiscan-acl-4.22-10.patch
cd ..
cd sa-exim-3.1
cp sa-exim.c ../exim-4.22/src/
make sa-exim.h
cp sa-exim.h ../exim-4.22/src/
cd ../exim-4.22/src
mv local_scan.c local_scan.c.exim_dist
mv sa-exim.c local_scan.c
cd ..
cp src/EDITME Local/Makefile
vi Local/Makefile
make
su root
make install
On Tuesday, August 26, 2003, at 09:30 PM, Dan Egli wrote:
> OK. I've gotten to the point where the spam is driving myself and my
> users
> up the wall. I've heard a lot of good things about SpamAssassin so I
> figured I'd install it. While reading about it I found some info on
> Tarpitting (i.e. holding the spammer's connection open so as to help
> prevent the spread of their emails), but nowhere have I found any
> complete
> "how-to" that describes installing SpamAssassin on a system-wide level
> into Exim 4.22 (or ANY exim version for that matter).
>
>
> Anyone here who's running SpamAssassin care to enlighten me? I.e. where
> can I get spamd? How to I modify my exim.conf? Etc....
>
> Thanks in advance!
>
> --- Dan
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>