1

Topic: Import LDAP-User - HASHED_MAILDIR mixture

Hello,

i'm trying to use the import-script mentionied here <http://www.iredmail.org/forum/topic78-c … users.html>, but it seems i have to edit the HASHED_MAILDIR options in the script create_mail_user_OpenLDAP.py. Originally i installed iRedMail 0.7.0, which has been updated over the last month to 0.7.2. My STORAGE_BASE_DIRECTORY is '/var/vmail/vmail1', the appending mailMessageStore is something like /domainname/n/na/name/, which is unlike the examples in the script and the output of the original script. There seems to be a mixture of a hashed/unhashed maildir on my machine. It works perfectly after changing the line

        maildir_domain = "%s/%s/%s/" % (domain[:1], domain[:2], domain)

to
        maildir_domain = "%s/" % (domain)

BUT ... do i run into future problems with this ?

Thanks in advance.

==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.2 with iRedAdmin-Pro-LDAP-1.6.2
- Linux/BSD distribution name and version: Debain Squeeze AMD64
- Any related log? Log is helpful for troubleshooting.
====

----

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

2

Re: Import LDAP-User - HASHED_MAILDIR mixture

Mix hashed/unhashed maildir should be fine, because they're stored in LDAP/MySQL, and Dovecot will read them from LDAP/MySQL.