LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding users and email (https://www.linuxquestions.org/questions/linux-newbie-8/adding-users-and-email-518787/)

pecanman 01-12-2007 06:00 PM

Adding users and email
 
I've been spoiled by using a control panel, and now I'd like learn how to add a user to the server, and then associate that user to a domain on the server from the command line.

Thanks, and please forgive the simplicity of the question.

:)

Berhanie 01-12-2007 06:39 PM

Welcome to LQ, pecanman.

The answer to your question depends on your situation. In the simplest case, all users are system users and the mail server handles mail for only one domain. In that case, "adding a user to the server" is equivalent to adding a user to the system -- use useradd. The situation becomes more complicated with several domains and/or virtual users, in which case the answer depends on how users are authenticated and which software you are using.

pecanman 01-12-2007 08:24 PM

Thanks.

How do you view existing users?

I'm just using CENTOS 4.4 with exim and setting up a small server with 4 domains. I'd love to read some how-tos but I'm not able to find any for this simple setup.

:)

Berhanie 01-12-2007 08:38 PM

The file /etc/passwd contains all the system users. Since I don't use exim, I think it's best that someone else give you advice in that direction.

pecanman 01-14-2007 06:49 AM

Thanks, I've been reading through the wiki at http://www.exim.org/ and there is great page called VirtualHostingWithExim . Thanks for the help!


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