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 [EMAIL PROTECTED] 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 "[EMAIL PROTECTED]" rather than
"[EMAIL PROTECTED]".

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!
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to