[Mimedefang] Multiple Spamdrop Question

Kris Deugau kdeugau at vianet.ca
Wed Oct 6 11:52:55 EDT 2004


Andrew Embury wrote:
> I'm using MimeDefang 2.45, ClamAV, SpamAssassin 3.0, and sendmail on
> a bastion host to filter spam, malware, and virus for an internal
> Exchange server.  This exchange server hosts multiple companies in
> multiple domains.  Currently, I'm sending all spam to a single
> spamdrop address where I can review it and eventually delete it.
> What I would like to do is have a spamdrop at domain address for each
> distinct domain I am hosting.  Does anyone have a recipe or other
> wisdom to share in making this happen?

I've got a setup which does exactly this (although the system in
question is also the destination host for the various domains).

You'll need to read up on stream_by_domain(), which will allow to you do
different processing based on the destination domains.

Once that's active, you can alter recipients as usual for spam, except
that you alter the recipient to "spam@$domain" rather than
"spam at spamdrophost".

If you're interested in more detailed code examples, I'll post the
relevant portions of my mimedefang-filter.

-kgd
-- 
Get your mouse off of there!  You don't know where that email has been!



More information about the MIMEDefang mailing list