Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Hello,
I'm not sure if I'm posting this in the right spot...
We have a Linux box set up as our mailserver with two domains. I'm not sure but I think domain2 is an alias.
"domain1.com"
"domain2.com"
domain1 has been moved over to a MS Exchange box. What's the best way, or is there a way to disable domain1 from receiving and sending mail. And allow domain2 to function as is?
You need to modify DNS configuration so that the MX record for domain1.com to point to the IP of the Exchange Server and set a different MX record to have domain2.com point to the existing server.
It is the DNS MX record that lets people determine where to send smtp traffic for email.
Perhaps I misunderstood your question. I thought you WANTED domain1 emails to go the Exchange server?
My point was that while you might configure your email to reject the domain1 emails that doesn't make them go where they belong on the Exchange server. Somewhere there has to be an MX record pointing to a mail server or all your domain1 emails simply don't go anywhere. If the MX record is pointing to Exchange you don't really need to reconfigure the mail on the Linux server because it would never receive the domain1 emails in the first place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.