- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- The creation of e-mail account
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 10:19 PM
05-16-2002 10:19 PM
I am going to set up a mail server. Can anyone tell me how can I create e-mail account for users?
Or where can I get related guides?
Thanks in advance. :)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 11:04 PM
05-16-2002 11:04 PM
Re: The creation of e-mail account
I assume that you going to setup linux as a mail server. In that if you just create a user
the mailbox directory is also created by linux under /var/spool/mail.
eg:- For root user - /var/spool/mail/root
For receving mails some MTA mail transfer agent
has to be run in linux eg. sendmail. users should included in /etc/aliases file also.
For sending mails users login and use MUA (mail
user agents ) eg. mailx , elm , pine etc . And
the outgoing mails are queued for processing in /var/spool/mqueue directory.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 02:19 AM
05-17-2002 02:19 AM
Re: The creation of e-mail account
Use "useradd" command to create the user account.
Then if you don't want your user to login to the server, modify the login shell to /dev/null.
Regars,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2002 09:46 AM
05-25-2002 09:46 AM
Re: The creation of e-mail account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2002 07:12 PM
05-25-2002 07:12 PM
Re: The creation of e-mail account
Thanks :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2002 06:02 PM
05-26-2002 06:02 PM
Re: The creation of e-mail account
Giving us some more details as to what you've tried and what you're trying to achieve would also help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2002 07:12 PM
05-26-2002 07:12 PM
Re: The creation of e-mail account
My company has a registered domain name. For example, abc.com.hk
After setting up a RedHat Linux e-mail server,
how can I create e-mail account for a user Peter? For example, peter@abc.com.hk
Thanks :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2002 09:58 PM
05-26-2002 09:58 PM
Re: The creation of e-mail account
useradd peter
And that part went ok?
Other than that, you're looking at DNS, and MX targeting in order to get mail sent to your Linux box (where ever it happens to live on the Internet), and then a small bit of Sendmail configuring in order for it to accept mail destined for 'abc.com.hk' (modifiecations to /etc/mail/* files).
If you require more details, then so do we. We'll need to know what distribution and verison of Linux you've installed, and beyond that the real Domain name (so we can check MX targets to ensure they are correct).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 05:44 AM
05-27-2002 05:44 AM
Re: The creation of e-mail account
Linux 7.0 is used.
You mean I must use command "useradd" to add a user account first. Then, I can do configuration on /etc/mail/* files. That's all? Any RedHat webpage teach us to do this?
Lastly, what is MX target?
Thanks :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 04:09 PM
05-27-2002 04:09 PM
Re: The creation of e-mail account
I'm not sure if any RedHat pages are available that can tell you exactally what to type and where to type it. Usually just modifying /etc/mail/access is sufficient. If you do a search through RedHat's support site, or look at http://www.tldp.org/ (previously known as 'linuxdoc.org'), you should be able to find sufficient material.
*blink*
Don't know what an MX target is? Ok. Who or what is going to be accepting the mail for the domain 'abc.com.hk'? Is it going to be this linux box, or is it going to be your Service Provider (or someone else upstream from you)?
If it's you, then I think you need to have a crash course in DNS, and mail targets.
MX is what's known as a "Mail Exchange" target. Basically, for a given host or domain, it says what machine accepts the mail. Using command such as 'nslookup -q=mx
i.e.
# $ host -t mx hp.com
hp.com mail is handled (pri=30) by smtpx.hp.com
hp.com mail is handled (pri=50) by atlsmtp.hp.com
hp.com mail is handled (pri=50) by palsmtp.hp.com
hp.com mail is handled (pri=10) by smtp.hp.com
This states that 'smtp.hp.com' is the primary mail server for all 'user@hp.com' addresses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 08:07 PM
05-27-2002 08:07 PM
Re: The creation of e-mail account
My colleague and I will try to configure mail server again. Hope we can do it successfully.
Thanks again. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 08:30 PM
05-27-2002 08:30 PM
Solution1) create users using useradd with a valid home
directory. eg . /home/siva etc.
2) check whether their mail boxes are created
under /var/mail eg /var/mail/siva.
3) configure elm or pine mail user agents or use simple mail to read mails.
4) log in as a user and send a mail to root
#mail root
5) now login as root and check for that mail.
6) if this is ok . edit /etc/sendmail.cf file
and add your domain , hostname , alias in any
to Cw macro.
7) Restart the sendmail.
8) Create DNS records for this linux server in your DNS server and also Configure MX record in DNS server for you domain which point to the linux server. Now restart DNS service.
9) Now from some other linux server having DNS resolver with above DNS server configured. send a mail to root
#mail root@yourdomain.com
This should query the DNS server for MX record of yourdomain.com which is your linux server and deliver the mail to root's mailbox. Which
can be read after you login as root
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:41 AM
05-28-2002 01:41 AM
Re: The creation of e-mail account
My colleague and I need clear procedure step by step.
Thank you for your help. :)