LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2009, 01:31 AM   #1
lvlr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Rep: Reputation: 0
Create an eMail user from Bash...


How can I create an eMail user / account from Bash.
 
Old 02-22-2009, 01:40 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
man useradd
 
Old 02-22-2009, 02:33 PM   #3
lvlr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
useradd,,,

Okay, I guess my confusion is: to create an email account do you just have to add a user and the user automatically gets an email account? Or do you have to do something with the MAIL_DIR? And how do you check your email? I'm really new to Linux.
 
Old 02-22-2009, 03:11 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
as root use
useradd foo
this will create user foo with a home directory
Also the user will be able to sent and recieve mail.
User foo can check his mail in /var/spool/mail/foo
using any mailprogramm, just point it to /var/spool/mail/foo
or use mutt
 
Old 02-22-2009, 10:06 PM   #5
lvlr
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the thorough answer...

Thanks for the thorough answer that was really helpful. I really appreciate you're spelling it out for me. I so often get little blurb answers that don't do me any good. You were great!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 08:10 AM
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 01:08 AM
Create a email server dyool Ubuntu 2 09-30-2006 12:18 PM
How to create an email address for an existing user running under Fedora ? kkeith Linux - Newbie 1 06-23-2006 01:37 AM
Postfix email user & linux user question. hct224 Linux - Newbie 0 11-29-2003 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration