I need help creating a script or program that can add users to my mercury mail server when they sign up on a form. I’m using a basic php post form, it does create all the necessary files to run the account but when I open mercury mail the new user account has not been added to the accounts list. And the new account cannot sign in.
Please assist me in creating a client email signup script or program so that my clients can easily create an email on my server for free.
Link to the form code: http://pastebin.com/bEtv4eck
Link to the php post code: http://pastebin.com/rwBJatap
P.S. I have the script working to where it can create the new user and everything, but it won’t allow a login unless the email server is restarted. Any way to fix this?
Try using the RELOAD USERS after making the changes to the pmail.usr and mail, directories.