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....
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.
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
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