Lee Standen <[EMAIL PROTECTED]>:

>> I've used MIMEDefang (with sendmail/milter and multiplexor interface),
>> which uses SpamAssassin, which uses Razor2, on hosts which process mail
>> for 10K-20K users, with excellent success.

> I've started playing around.
> 
> Do you have a page with a good guide, or do you know the changes to
> configs you needed to make to have this work?  I'm having a lot of trouble
> finding anything which is even remotely helpful :/

Well, I assume you know how to install Perl modules: basically expand
the sources into the "ext" directory of your Perl sources, cd into the
module's source directory, then:

   perl Makefile.PL
   make
   make test
   make install
   make clean

I'm also assuming that you know how to perform basic Unix or Linux
system administration, and that you have a basic undeerstand of sendmail
configuration using the m4 macros, which is likely if you're running
mail for 1000 users. :-)


Razor2 is mostly a set of Perl modules; install it first.  Perl will
take care of it; no special action is needed.

Then install SpamAssassin, again as a set of Perl modules.  I modified
mine to move the config files from "perl share" and /etc/mail to
locations which comply with my site's software installation policy,
but you can leave those alone.

Then install MIMEDefang; it has its own installation instructions in
case you need to set particular things, but if you don't mind where it
installs itself, you can probably just

  ./configure
  make
  make install
  make clean

You'll need to configure mimedefang by creating mimedefang-filter; I
believe that a sample one is installed for you (but it's been some
time since I did a scratch installation; I just do upgrades now).
Test that your filter is found and sane with:

  mimedefang.pl -f /path/to/mimedefang-filter

Use the supplied "examples/init-script" to fire up the two main
mimedefang processes, that is, the milter and the multiplexor.  (If
all works well, remember to put a call to the initializer script in
your boot procedure.)

That's mostly it for a vanilla installation, since MIMEDefang finds
SpamAssassin and SpamAssassin finds Razor.

Now you need to make sendmail use the milter (mimedefang) that you
have just installed.  Check that your sendmail was compiled with
milter enabled (can't think of a way offhand to check based on just
the binary, but most modern sendmails have milter support); if not,
get a newer sendmail.

Edit your sendmail.mc file to add a milter definition, such as:

INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, 
T=S:60s;R:60s;E:5m')

and restart your sendmail daemon.  That *should* do it; check your
mail logs for the results.

I know this is pretty skeletal, but each package comes with its own
documentation, and I trust that the above will get you started.

Good luck!


Anne.
-- 
Ms. Anne Bennett, Senior Sysadmin, ENCS, Concordia University, Montreal H3G 1M8
[EMAIL PROTECTED]                                    +1 514 848-2424 x2285


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to