The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
new account, not recieving email to confirm denn Forum Support Area for Unregistered Users & Account Problems 1 07-10-2007 11:21 AM
Did not received any email for account activation bhush782003 Forum Support Area for Unregistered Users & Account Problems 0 06-05-2006 01:58 PM
email account no longer active whothought1 Forum Support Area for Unregistered Users & Account Problems 3 02-03-2005 07:09 PM
email account on subhost collins UNIX for Advanced & Expert Users 1 08-29-2004 11:05 AM
email account for subdomain (HOW-TO) collins UNIX for Dummies Questions & Answers 1 08-21-2004 01:39 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-21-2004
collins's Avatar
Registered User
 

Join Date: Aug 2004
Posts: 43
Question email account

Dear All

Mine is a shared hosted domain name say mydomain.com service.. I would like to create email account info@mydomain.com through a program.. I am running on redhat linux 8. I have been asking a lot... Please somebody help me in this issue.. or recommenfd me any book which explains the email creation in detail....
__________________
__|_|__
( ° ° )
+--oOO--------OOo--+
| Binary Friend |
| Collin-a-Harrys |
+-----------------------+
|__|__|
|| ||
ooO Ooo

Last edited by collins; 08-21-2004 at 07:00 AM.
Reply With Quote
Forum Sponsor
  #2  
Old 08-21-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
"shared hosted domain name".... What is that? But maybe I can shed some light here. Suppose we send mail to

collins@gnu.org

what would happen? First we need to find the mail exchanger for gnu.org:
Code:
% nslookup -q=mx gnu.org
Server:  VTOT.proxy.aol.com
Address:  205.188.146.146

Non-authoritative answer:
gnu.org MX preference = 20, mail exchanger = mx20.gnu.org
gnu.org MX preference = 30, mail exchanger = mx30.gnu.org
gnu.org MX preference = 10, mail exchanger = mx10.gnu.org

gnu.org nameserver = ns4.gnu.org
gnu.org nameserver = ns1.gnu.org
gnu.org nameserver = ns2.gnu.org
gnu.org nameserver = ns3.gnu.org
mx10.gnu.org    internet address = 199.232.76.166
mx20.gnu.org    internet address = 199.232.41.8
mx30.gnu.org    internet address = 199.232.41.6
ns4.gnu.org     internet address = 193.201.200.170

%
We see that gnu.org has three mail exchangers. We would try mx10, then mx20, then finally mx30.

Let's say that we connect to mx10 and send mail to collins@gnu.org, what would happen? That depends on how mx10 is configured. It could send all mail to another host, perhaps called "mailhost.gnu.org". This would be more or less typical. A second option would be a large aliases file sending each addressee to various hosts. Each of the 3 mail exchangers would new the same aliases file in this case.

So setting a new mail account might mean adding an account to mailhost. Or it might mean adding entries to aliases files.

And if there is only one mail exchanger, it might be just adding an unix account there. So collins would log in to the mail exchanger to get mail. Or perhaps collins would use a .forward file to send the mail elsewhere.

At work, our mail exchangers send all mail to a Microsoft Exchange server. So we need an Exchange Administrator to add mail accounts for us.

So there is not one answer for everyone. It depends how things are set up. The starting point is to use DNS to find the mail exchangers and take it from there.
Reply With Quote
  #3  
Old 08-21-2004
Registered User
 

Join Date: Aug 2004
Location: chennai
Posts: 1
might

Perderabo,
he was reffering that mydomain.com has bean hosted in a "shared hosting" service where more than one domain will be parked, he was asking " how to create a email id in linux box like cpanel" ist so collins
thanks
muthu
Reply With Quote
  #4  
Old 08-21-2004
collins's Avatar
Registered User
 

Join Date: Aug 2004
Posts: 43
subhost email account

Hai

Thanks 4 ur response...

But i actually meen how to create an email account for subhost... I tried creating a user account... But the adduser (or) useradd command is not working even when i entered with the root login of the subhost... If i create a user account with root login of host, then the mail account is created in the host and not in subhost... But i want it for the subhost...How can I

__________________
__|_|__
( ° ° )
+--oOO--------OOo--+
| Binary Friend |
| Collin-a-Harrys |
+-----------------------+
|__|__|
|| ||
ooO Ooo
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0