from the python file the example show as below. But it will prompt error as above due to an extra comma. Remove it and it work. Pls some one take note of that.

Example #2: iredmail.org, zhang, secret_pw, Zhang Huangbin, , ,

The ldif file create from the python and sh file is some what different from the www@xxx.org...should the email property of all emails be the same or it is because www email user is an admin with more services?