Linux Addict wrote:
Linux Addict wrote:
On Fri, Aug 8, 2008 at 9:45 PM, Sahil Tandon <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Linux Addict <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> Hi, I have virtual zone on a postfix mail relay.
>
> Virtual Zone Virtual Alias
> zone1.example.com <http://zone1.example.com/>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> goes to
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> zone1.example.com <http://zone1.example.com/> is managed by us
which is postfix
> example.net <http://example.net/> is Exchange server managed by
another Team.
>
> The problem I am facing is, the postfix server is resolving
example.net <http://example.net/> to
> external address, but I really want to send those mails to
internal SMTP
> address of example.net <http://example.net/>(Exchange Server).
>
> Is there a tweak in postfix to do this.?
If you want to direct all mail destined for zone1.example.com
<http://zone1.example.com/> to
example.net <http://example.net/>, then instead of virtual
aliases, you might consider
transport maps:
http://www.postfix.org/transport.5.html
--
Sahil Tandon <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
I can fix DNS, but it may break other prod. services. I will give it a
shot with Transport Maps.
Cheers.. Grt Weekend!!
Hit a bump..
On the transport file, I cant seem to enter multiple MX server for the
same domain.
example.net smtp:[mx01]
Works great, but How do I configure the MX02 for the same example.net?
When I add new line it complains duplicate.
~LA
You may only specify one transport:nexthop for a particular
domain.
If you want to send to example.com's MX records, just use
example.net smtp:example.com
If you need a custom destination or MX order, create a "dummy"
domain in your local DNS listing the MX hosts you want to use:
example.net smtp:example.local
with suitable MX records in your local DNS for "example.local"
--
Noel Jones