Commits

Zhang Huangbin  committed 382bb79

Do not append timestamp in maildir path.

  • Participants
  • Parent commits e3052ee

Comments (0)

Files changed (1)

File iRedMail/tools/create_mail_user_OpenLDAP.py

         maildir_user = "%s/%s/%s/%s%s/" % (str1, str2, str3, username, TIMESTAMP_IN_MAILDIR, )
         mailMessageStore = maildir_domain + '/' + maildir_user
     else:
-        mailMessageStore = "%s/%s-%s/" % (domain, username, DATE)
+        mailMessageStore = "%s/%s%s/" % (domain, username, TIMESTAMP_IN_MAILDIR)
 
     homeDirectory = STORAGE_BASE_DIRECTORY + '/' + mailMessageStore
     mailMessageStore = STORAGE_NODE + '/' + mailMessageStore