LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 07-15-2003, 10:27 AM   #1
xgab
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Unhappy 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
 
Old 07-15-2003, 10:34 AM   #2
emence
Member
 
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81

Rep: Reputation: 15
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.
 
Old 07-15-2003, 11:07 AM   #3
xgab
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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!
 
Old 07-15-2003, 11:19 AM   #4
emence
Member
 
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81

Rep: Reputation: 15
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.
 
Old 07-15-2003, 11:31 AM   #5
xgab
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Routing to Postfix from Sendmail = Wrong IP information in Mail Logs! dholingw Linux - Networking 2 05-20-2004 10:06 AM
Sendmail, domain routing to Postfix (Problems) dholingw Linux - Newbie 0 05-03-2004 11:27 AM
Routing outgoing mail on a dual external interface system with sendmail Dewar Linux - Networking 5 11-19-2003 03:42 PM
sendmail: Routing dead mail to a shell command? noisybastard Linux - Networking 1 10-05-2003 04:13 PM
Sendmail - routing messages rules barDo Linux - General 3 07-27-2001 12:16 PM


All times are GMT -5. The time now is 07:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration