I am playing around with IMAP right now just trying to see what all PHP can do with it. I have a question though about one of the php functions for IMAP. The funtion is the imap_createmailbox(). My question is kinda 2 fold with an if statement 🙂 . Ok first I want to create an IMAP account for someone using PHP where they will not have a unix login account but just an IMAP account. Is this the function to do the job? If it is then how do I send mail to the "mailbox" I have created. If its not then what exactly does this function do, just create a new folder for that user??? Ok if this is not what I want (which I have a feeling its not) then is it possible to create a user account without giving him a unix login account? If so how? The only thing I could thing of would be to do a popen("useradd (then whatever options for a just a pop account???)"; This way though I think requires root, and am not shure what options to give it. Any help on this matter would be greatly appreciated. Thanks for your time,
Clayton