Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Multiple mail domains, single machine

Posted on 2001-09-13
6
Medium Priority
?
228 Views
Last Modified: 2013-12-17
I have a single machine connected to the internet 24/7, and configured as a Sendmail mail server for a domain, say a.com. I would like to configure it as a mail server for another domain, say a.org. The problem is that I must have different accounts for each of the two domains. In other words, I would like to have the option of making an account k@a.com without an account k@a.org working, and vice versa.
I don't know if virtual hosting can do this.

My machine can use two IP's to appear as two servers to the world..
Can this be done?
0
Comment
Question by:karouri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 3

Author Comment

by:karouri
ID: 6480061
and how?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 1000 total points
ID: 6480415
You need to look at http://www.sendmail.org/virtual-hosting.html which explains what's involved in hosting multiple domains from sendmail's perspective. There's no problem with having usernames at the virtual domains being the same or different from users in the other domains. However, the actual email accounts names must be unique across all domains. After you read the above document all of that will make a lot more sense.

Now, if you want to host virtual domains and don't want the email accounts for your virtual users to be Linux accounts that can be done by using Cyrus  and SASL to implement the client access portion (POP, IMAP) of the email system (see http://asg.web.cmu.edu/). That combination allows for the email accounts to be divorced from the Linux system authentication process and eliminates the need for each email account to have a home directory. The result of that is that you can have email accounts that don't correspond to a Linux account.

By the way the question is phrased it would seem that your virtual email accounts will be accessed by individuals that aren't within your local domain. This will present a problem if those accounts will also need to send outgoing email via your sendmail server. The cleanest and safest solution is to use SMTP AUTH (see http://www.sendmail.org/~ca/email/auth.html) and SASL to authenticate your remote users. A properly authenticated user is allowed to bypass the anti-relay restricions.
0
 
LVL 3

Author Comment

by:karouri
ID: 6480573
Thanks jlevie, your answer is the thing I need and the guess is quite right.
Where can I find an good introductory how-to/ tutorial on these?
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 40

Expert Comment

by:jlevie
ID: 6484671
The references that I cited above are the most complete and accurate documents that I know of. Of course the definitive reference on sendmail is the Sendmail book by O'Rielly, but one would hardly call that an introductory reference. There is some information in the Linux HowTo's also (http://howto.tucows.com/). If, after reading through the documentation above you have specific qurestions, I'd be most willing to try to answer those questions.
0
 
LVL 3

Author Comment

by:karouri
ID: 6484784
Thanks jlevie for the answers.
I am now trying to do it. If I had a problem, I will post it as a seperate question..
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6484809
Within reason, you can ask other questions related to this on this question and I'll try to answer them here. It's your choice as to whether to open a new question or not.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Easy CSR creation in Exchange 2007,2010 and 2013
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question