Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
07-15-2003, 11:27 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 3
Rep:
|
Sendmail routing
What can I do to route with sendmail the Mail belonging to a domain thru its internal IP instead of thru the public Internet IP ?
The SMTP servers are connected to the LAN behind a PIX within DMZ1; that is why I need to route thru the internal IP.
Any ideas ?
Thank you very much in advance
|
|
|
07-15-2003, 11:34 AM
|
#2
|
Member
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81
Rep:
|
Holy Crap, not sure if I understood it.
Ok you have a sendmail server in the DMX of a PIX firewall, right??
If So, im guessing you have opened port 25 to that sendmail server right??
So your sendmail server has 2 ethernet cards, 1 for the DMZ and one for the Local LAN??
Ok Im confused can you give us ALOT more info.
|
|
|
07-15-2003, 12:07 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 3
Original Poster
Rep:
|
I have both sendmail servers in the DMX of a PIX firewall.
Both with only one Ethernet card each.
Each single Ethernet card is configured with a private IP belonging to the LAN of the PIX's DMX.
Both servers see each other thru private IP and they not see each other thru the public IP (that the PIX routes for logical reasons).
That is why I would need sendmail of the server A route emails that belongs to the domain of the server B thru the private IP, since the DNS of the domain of server B provides the public Internet IP.
Hope I am clear.
Thank you!
|
|
|
07-15-2003, 12:19 PM
|
#4
|
Member
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81
Rep:
|
um kind of, You want to look at domaintable options within sendmail. If you want server B to handle all of the mail, then you could port forward 25 from A to B.
|
|
|
07-15-2003, 12:31 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 3
Original Poster
Rep:
|
Server A and Server B have different domains, so each one is Mail server of their domains. I only want that when an outgoing email of Server A with destination domain.ServerB, it must be routed to the internal IP of Server B.
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|