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.