create a email account for a user on linux mail server for receiving mails

shahpiyushn used Ask the Experts™
dear sir,
i m making a spam mail filtering web site.
My server is linux and uses the default sendmail,imap and pop3 implementation that comes with linux
 my problem is that i am not able to create accounts for my users on my linux mail server. i have configured the smtp and pop3 service of the sendmail but i m not able to create user accounts
 i would be greatful if someone could guide me about how to create mail accounts for my user on the linux mail server.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2005
If these will be email only accounts you can use something like:

useradd -s /sbin/nologin user-name
passwd user-name

Using the standard IMAP/POP implementations the mail user must exist in the passwd file and they need a home directory. But if they are only email accounts they don't need a shell and won;t thus be able to log in to the system.
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 
Post your closing recommendations!  No comment means you don't care.

This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

If the user does not know how to close the question, the options are here:
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:#7453253}

Please leave any comments here within the next four days.

EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial