Link to home
Start Free TrialLog in
Avatar of Curieux
Curieux

asked on

adduser command and email accounts

Hi Linux experts,


When I use adduser to create a new user account on a server, the user can only have a shell access.
If I want him to have an email account on the server what should I do??? is it possible or should I use another command?

I use sendmail as a mail server on a RED HAT Linux box.

Please be precise and clear since I'm a little new to Linux world.

Thanks in advance
Avatar of milkfilk
milkfilk

What do you mean email account?  Any user can use sendmail manually (ugly and hard).  Unless you have sendmail locked, and even then they can use Perl to access sendmail.

If you mean pine (an email client), the user simply types "pine" at the command prompt and it creates the mail folders automatically for pine.
Avatar of Curieux

ASKER

Sorry, I wasn't clear I think ....

My server is running a Web and email server on the same machine with a DNS (www.server.com).

I want to grant an email address (user@server.com) to all the users on the machine. The users don't have shell access to the machine.

Is it possible? If yes how?

Thanks

Two ways:

1. Create a normal account and set their shell to /bin/false (if you are using redhat, you can also use linuxonf and use the "create pop account" (does the same thing).

2. Replace sendmail with qmail + Courier IMAPd, since that combo uses their own account lists if so desired.
Avatar of Curieux

ASKER

J2,
I know for the /bin/false and /bin/badsh .
But What is LINUXONF???

I want to stay with sendmail and have the possibility to create pop accounts via the web (like hotmail).
The site administrator will be the only person who deals with the web interface to create the emails for security reasons.

The site administration interface does a lot of tasks like dealing with products and clients databases.
I want to add the "add pop account" feature to that interface.

Thank you.
Avatar of Curieux

ASKER

Please propose a comment first and if it solves the problem I will accept it as an answer
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Linuxconf is the "all in one" administrativ tool shiped with redhat. It isnt installed by defaultin RH7.1 but on all earlier versions it is.
If you want a web-interface to create and manage the
user/email accounts you can try Webmin (www.webmin.com/webmin). For security you should install
openssl so the webmin traffic is encrypted.
Webmin offers much more than just managing accounts but you
can disable the functions that you don't need.
You can also configure Sendmail from Webmin.
Curieux:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: jlevie {http:#6237918}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

majorwoo
EE Cleanup Volunteer