Thank you till for your fast response.
I was thinking that the easiest way to do it (at least for me) is to the hack on ispconfig everytime a user is created.
For example, after the user is created it should call a shell script like this:
./config_user domain.com_user "Full Name" email@example.com
The shell script would look like this
cat $data_dir/default_pref > $data_dir/$1.pref
echo full_name=$2 >> $data_dir/$1.pref
echo email_address=$3 >> $data_dir/$1.pref
#chown apache:apache $data_dir/$1.pref
I comment out the last line of the scirpt because it was necessary from a shell, but running the script won't from php would run the script as apache and there is no need to change the privileges.
So my question would be, where should I call this script from ISPConfig. I want to call it every time a new email user is created. Hope you can help me.