On Tue, Jul 02, 2002 at 10:40:30AM -0500, McClung, Darren W. wrote:
> I know Linux reasonably well, but I'm fairly ignorant when it comes to
> sendmail.  Here is what I am trying to accomplish.  I have a Linux firewall
> that acts as a packet filter between the outside world and an internal
> subnet on a private IP address range.  What I would like to accomplish is to
> have an smtp server on the firewall accept mail from the outside, filter it
> through spamassassin, then pass it on to our Exchange server on the internal
> subnet.  Currently I have sendmail-8.12.4 built and functional on the
> firewall, but I can't get it to both forward mail and send it through
> spamassassin.  I've tried building spamass-milter, but the make always fails
> with "libmilter/mfapi.h: No such file or directory".  I have zero attachment
> to sendmail, so if another MTA would be more appropriate for this purpose, I
> can switch.
> 
> I know people have accomplished this previously.  Is there a general
> consensus as to what is the best way to configure such a setup?

I don't know if there's a consensus per se, but here's what I do ...

I use mimedefang (http://www.roaringpenguin.com/mimedefang/) with a
call to spamassassin. This lets me screen out email worms and the like
at the same time I'm killing spam.

The relevant bits from my .mc file: 

define(`SMART_HOST', my.exchange.server)dnl

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

Note that this is an inbound only server ... the exchange server sends
its mail out on its own.

Graham

PS. The libmilter/mfapi.h: error you're getting maybe be due to not
having the include files from the sendmail distribution installed ...
I don't know how you installed it (rpm vs source or whatever).



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

Reply via email to