Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problems with setup of a SMTP gateway. (postfix)

Posted on 2005-04-18
3
Medium Priority
?
816 Views
Last Modified: 2013-12-17
On our DMZ we got a debian box with postfix that i want to configure so that we forward all incoming mail to our exchange server. The debian box is the MX for our domain.

I get mail locally delivered on the debian box, but i cant figure out how to forward all mails to our exchange server. The debian box is also the outgoing SMTP server for the exchange server.

anybody?
0
Comment
Question by:joachims
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
it_alchemist earned 500 total points
ID: 13807981
You'll want to setup a transport map in postfix. To do this you add something like:

transport_maps = hash:/etc/postfix/transport

then create a file in /etc/postfix directory called: transport
and then put in the domain you want to relay for and the ip address of the machine you want it to be forwarded to in the following format (obviously you'll need to put your real domain and ip address here):

yourdomain.com smtp:[192.168.0.10]

then:

postmap hash:/etc/postfix/transport

and:

postfix check

and:

postfix reload

Now all mail coming in will be passed on to your exchange server.

0
 
LVL 1

Author Comment

by:joachims
ID: 13809160
You should be writing howto's for postfix! :)

Excellent!
0
 
LVL 8

Expert Comment

by:it_alchemist
ID: 13813062
Glad I could help!

0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses
Course of the Month21 days, 6 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question