Michael,

This can easily be accomplished using qmail:

  1. Add first.com and second.com to control/rcpthosts
  2. Put second.com (but not first.com) into control/locals
  3. Make sure the MX record for first.com in your internal DNS points
to
     MS-Exchange

This tells qmail to accept mail for both first.com and second.com, but
to
handle only second.com locally.

Henry

Michael Hinds wrote:

> Hello,
>
> Our company has always used MS-Exchange for internet e-mail, but we are
> trying to add a Linux/qmail server to the configuration.
> We're currently using a Raptor firewall to route all SMTP transmissions
> to the MS box. For the sake of example, we'll call our original domain
> first.com.
>
> What we want to do is host a separate domain on the qmail server (say,
> second.com). The problem is, our firewall can't decide where mail is
> destined for, it can only recognise the protocol. So we either have to
> route all mail to qmail and make qmail accept mail for second.com and
> forward all first.com mail to the MS server, or route all mail to the MS
> server and make that accept mail for first.com and forward all
> second.com mail to qmail.
>
> The first option would be preferrable, but by now I'm willing to try
> anything. I'm having trouble finding any concrete examples or documents
> describing how to do this. I've found lots of ways to forward mail for
> particular e-mail addresses, but not for whole domains. I don't want to
> set up users on the qmail server for all the e-mail users on the MS box.
>
> I've installed fastforward, but the documentation is skimpy! It points
> me to the aliases docs, which don't appear to tell me how to do this
> either.
>
> Somebody, please, point me in the right direction!
>
> Many thanks,
>
> Michael Hinds

S/MIME Cryptographic Signature

Reply via email to