how can I point my sendmail to forward mails on the postfix?

-----Original Message-----
From: Michael Blancas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [plug] postfix as mail relay!


You don't need to copy the your exchange users to your postfix server to 
allow relaying. Just configure postfix to allow connections from the 
exchange server (default if the servers are on the same subnet), and 
configure exchange to use the postfix server as the relay. For incoming 
mail, configure the transport maps of postfix.

transport_maps = hash:/etc/postfix/transport

and in /etc/postfix/transport

localhost               local:
localhost.your_localdomain    local:
your_hostname.your_localdomain       local:
yourdomain              smtp:ip.address.of.exchangeserver(or hostname of 
exchange server)

you need to run 'postmap /etc/postfix/transport' and make your postfix 
server the primary mx.

Ruel Masil wrote:
> Sirs,
> 
> I have to 2 mail servers(Sendmail and Exchange). The Exchange is on the
LAN
> side of the firewall and the Sendmail is on the DMZ side of the firewall.
> I'm planning to make a Postfix mail relayer which will relay/scan all my
> mails first then forward the mail on the right server. I have read some
> documents about this but it suggested that I should copy all users both
> servers. I also read some documents about running sendmail as mail relay
and
> it does not recommend anything about copying users.
> 
> Do you have any notes regarding this configuration or any web links were i
> can read. Thanks uli.
> 
> Bulatitoy :)
> This message may contain privileged information. Recipients who are not
the
> addressees of this message are not authorized to copy, alter, forward, or
> deliver it to any third party, nor to use or benefit from its contents in
> any manner whatsoever. They should notify the sender through a reply
e-mail
> and destroy the message immediately upon receipt.  The sender shall not be
> bound by any unauthorized copying, alteration, forwarding, delivery, or
use
> of any part of this message and shall not be responsible for the
> consequences of any such act.
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
This message may contain privileged information. Recipients who are not the
addressees of this message are not authorized to copy, alter, forward, or
deliver it to any third party, nor to use or benefit from its contents in
any manner whatsoever. They should notify the sender through a reply e-mail
and destroy the message immediately upon receipt.  The sender shall not be
bound by any unauthorized copying, alteration, forwarding, delivery, or use
of any part of this message and shall not be responsible for the
consequences of any such act.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to