Hi!
We're trying to set up a web site within which we offer email accounts to members.
We're currently working with php, squirrelmail on a Red Hat Linux machine and our problem is that email accounts need to be created at shell level, and we already have too many members to desire doing that manually.
Hence, we'd like the web site code to do it for us:
1- when the member logs in, the php code checks that he exists not only in the mySql member database, but also in the unix system. If he doesn't then he is created (with the same password as in the web system). Then his email account is checked and in the entry page he gets a personalized message saying whether he has email...
Our current snag is on the issue of managing Unix users from within the php context, as we have to be able to create/delete users, change passwords, and check email through IMAP functions.
Anyone know of some class or scriptlet out there which can help us?
Regards,
Adrian Sinclair