[Mimedefang] relay_by_domain, aliasing and SpamAssassin question

David F. Skoll dfs at roaringpenguin.com
Wed Oct 9 11:12:01 EDT 2002


On Wed, 9 Oct 2002, Rajesh Bhandari wrote:

> What about my suggestion of running two instances of MD, since I
> already have two instances of sendmail running?

I don't think that will work.  Surely after alias expansion, Sendmail
just shoots the message to the internal hub?

You need some way to map an address --> internal domain, and then
modify your filter to use rules for the internal domain.  You don't
need two MIMEDefang instances, and it's a bit tricky to manage all
the bookkeeping for two MD's.

If you look at the source code for stream_by_domain, it should be
reasonably clear how to modify it to stream messages based on some
kind of table lookup, and then to modify your filter to act according
to the internal domain.

(Commercial plug: Our new product, CanIt-PRO, currently in
beta-testing, does all of this and more...)

Regards,

David.




More information about the MIMEDefang mailing list