Russell P. Sutherland <[EMAIL PROTECTED]> wrote:
> 
> There is set of addresses that I want to forward to a legacy MS$Exchange
> server.
[...]
> If I put:
> 
>       | forward "EXT"@exch.goaironly.com
> 
> in ~aironly/.qmail-booking and add the corresponding artificial
> smtproute in smtproutes:
> 
>       exch.goaironly.com::216.13.139.130 

Looks good so far.

> The mail gets forwarded by the rcpt address is now changed.
> (From [EMAIL PROTECTED] to [EMAIL PROTECTED])
> which the MS$Exchange server may not necessarily like.
> 
> Any ideas?

Well, the problem mainly seems to be with the legacy system, not qmail.  Can
you (re)configure the Exchange system to accept that "exch.goaironly.com" is
equivalent to "goaironly.com"?  Or perhaps forward the mail like this:

    | forward "$EXT@[216.13.139.130]"

instead of your rule above?  If the the Exchange equivalent of "defaultdomain"
is "goaironly.com", this would likely have the desired affect.  Note that I
don't know whether Exchange even knows about the concept of an IP address as
domain literal.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to