Can someone tell me please how I can add e-mail user without using controlpanel? 1. I need to add user to /var/vmail/domain.com/username 2. I need to add user to mysql (Can you tell me what is password hash in table "mail_user" ?) Something else?
only add username to mysql database. creating directory /var/vmail/domain.com/username is done automaticly by postfix when first email come.
Thats not enough. It will work partly as the user is able to recive emails, but e.g. things like quota will not work and get not initilaized and it will fail completely on multiserver systems. You have to also add a serialized object which contains the cahnges of the record in the sys_datalog table. The next release will ofer a remoting framework api for this.
No, the hash can not be changed without cahnging several libraries in ISPConfig. ISPConfig uses crypt with salt which is the most widely used hashing algorithm on Linux systems.