1

Topic: . is removed by the script while creating users in bulk

Hello team,

We are creating users on our iRedMail server in bulk using the script, Create_mail_user_OpenLDAP.py
email address I am specifying is like firstname.lastname@domain.com.
Create_mail_user_OpenLDAP.py is stripping the dot (".") and creating the ldif file.

I believe the following lines in the script is doing this.

def removeSpaceAndDot(s):
return re.sub('\.|\s', '', s)

Could someone suggest what change I need to make so that dot is not removed from the email address?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: . is removed by the script while creating users in bulk

Fixed moment ago:
http://code.google.com/p/iredmail/sourc … 82dc7de9b8

3

Re: . is removed by the script while creating users in bulk

Thanks very much Zhang smile
that was perfect.
Now I can go ahead and create 530 users smile