Thanks to all for giving quite a no. of solutions to the following pbl. One
more query though.
Can I create dynamic system users using the command "useradd" from inside a
perl script/java servlet which need not run as "root"? I suppose that only
"root" has the privilege to create system users. Is there a way around this?
Any suggestions/help is appreciated. Thanks in advance.
KK
[EMAIL PROTECTED]
----- Original Message -----
From: KK
To: Sent: Thursday, July 19, 2001 7:32 PM
Subject: How to create dynamic users for IMAP Email services
Hello Everyone -
I am a new entrant to the "qmail" world and have recently installed the
qmail_1.03 server on a Red Hat Linux 6.0. I have also istalled the UW-imap
server with Maildir support. I have successfully configured NS-Communicator
to send and receive mails using the IMAP ptotocol using qmail. I am even
able to send and receive emails using Outlook Express from other Windows
systems in the local network. For accessing thses emails, I was creating
system users by logging-in as root and using the LInuxConf utility. Now my
questions are:
1. How do I create dynamic system users (and assign them passwords) and the
mail directories within the users home directories from inside an
email-client application, which uses the IMAP protocol to access emails
(just like it is done on hotmail.com or any other web-based email systems)?
2. Is the creation of system users avoidable for generating email addresses?
For eg. can I have an email addrress account hosted on the above email
server - [EMAIL PROTECTED] without creating a system user named "joe"? If
yes, how can I make this possible, both as a root user and also from within
an email-client application? Is there a readymade script available to do
this?