OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Postfix will not relay
From: Crawford, Danny (DCrawfordchartercom.com)
Date: Tue Sep 26 2000 - 18:09:33 CDT


I'm trying to use postfix to do one very simple job and that's to act as a
smtp mail gateway on a DMZ. I want postfix to do the following:
 
My dns server MX records are set to deliver any email bound to mydomain.com
to mail.mydomain.com which is a postfix smtp server running on Linux. I want
this damn thing to forward any email bound to mydomain.com to 10.2.1.30 ( my
internal exchange server ). I have tried reading every documentation and
there is not one example to show the details of the main.cf and transport
configuration file setups. After 3 days trying to get it to work I have
almost given up. I can get Exchange to do this with no problems but I wanted
to give this open source thing a chance.
 
My transport file has this in it.
 
Mydomain.com smtp:10.2.1.30
.Mydomain.com smtp:10.2.1.30
 
# I also tried using the hostname instead of the IP and it didn't work.
# ran postmap /etc/postfix/transports
 
My main.cf has all the required stuff in it I guess.
 
This should be simple but after 3 days I have decided that it's a bitch
just to get a simple smtp gateway to work right using this postfix.