Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/etc/hosts?

Status
Not open for further replies.

datadan

IS-IT--Management
Joined
Jul 22, 2002
Messages
283
Location
US
I want to make a specific location known to my mail server.

xyz.foo.com

I can go to samspade.org and find the desired IP address, however I can't get my mail server to ping to it?

I can ping foo.com, but not xyz.foo.com.

What do I configure to tell my server where xyz.foo.com is?


Context:
I am combining two domains to a common domain, but keeping separate mail servers.
Server 1 = old.domain.com --> to be renamed mail.foo.com
Server 2 = xyz.foo.com.
All users for both servers will be users@foo.com.
However, I want all mail to come into server 1 and then send some mail to xyz.foo.com and keep all others locally.


Thanks,
 
Uh, well you've asked at least three questions, a couple of them vaguely.

Which email MTA are you using?
Do you control the DNS records for the domain(s)?
What have you done with DNS MX records for the domains?

Personally, I think the biggest hurdle from what I understand is that you need to split users across two boxes on the same domain. This will require some custom scripting on your email servers.

 
Hmm, yes vague it is, but one possible solution from what it sounds like would be a Qmail setup using something like vpopmail or vmailmgr..

This is what i have running on one server i admin. There are many domains hosted on this box and it is able to host the multiple domain's email also. Its not a sophisticated setup or anything but am not sure of how far into this you are, please give more details.

::.I may not know it all, but I still approach it with confidence to figure it out::.
 
pcnetgeek, the fly in the email ointment is that datadan wants to run two seperate servers for the same domain. qmail doesn't like this in most instances - if indeed the MTA is qmail, hence my question there.

 
Thank you for the input.

I have one postfix server and 1 exchange server. I am unable at this time to make users move to one or the other.

Postfix seems more flexible than Exchange so my thoughts were:

a) setup MX/DNS records that point mail.foo.com to server2 and xyz.foo.com to server 1.

b) All incoming mail to my domain (foo.com) will be directed towards mail.foo.com.

c) All users on the Exchange box will have an alias setup on server2 that redirects their mail from user1@foo.com to user1@xyz.foo.com.

I'm trying to test passing mail from one server to another without the domains setup now. I have server2 = mail.otherdomain.com currently and I want to sent mail to xyz.foo.com on server1 (which is the exchange server), but I am having trouble dicerning whether I have a setup problem on the Exchange side or on the Postfix Server side.

Any help will be appreciated.
 
thedaver, i appologize that this annoyed you a bit, but being that the OP didnt describe what he was trying to do clearly. Many times when they cant spit it out, you draw as much as you can from what you think they could _possibly_ be looking for and, well; help them spit it out and give them a solution.

Not all posters are good with describing what they want to do, many understand it as A and others see it as B


::.I may not know it all, but I still approach it with confidence to figure it out::.
 
I wasn't annoyed at all, thanks for the kind words... I often try to ask clarifying questions to avoid answering two or three times to too many assumptions... personal style.

 
no problem, i guess after sometime you get use to hand-holding posters and begin to help them, :) it should be mandatory that all users read the "How to get better hep/how to ask questions section"

::.I may not know it all, but I still approach it with confidence to figure it out::.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top