3
User directory case-sensitivity with Linux conversion
Problem reported by Nick Jansen - 9/11/2024 at 9:49 AM
Resolved
After converting from Windows to Linux (both Build 9014), I had a few users that failed to load. Clicking them in the Users list (Manage -> Domains -> example.com -> Accounts -> Users) showed the following message:

The user failed to load. As a result, mail will not function. Please refer to the SmarterMail Help for assistance resolving this issue, or click Remove to remove this user from the list. Note that the directory at /var/lib/smartermail/Domains/example.com/Users/username will not be deleted.
The problem in my case was that the directories for those users had the first letter as an uppercase letter, but SmarterMail was looking for all lowercase. Windows (usually) treats "Username" and "username" the same regardless of case so it didn't matter before, but Linux (usually) doesn't. I renamed those directories to all lowercase and reattached the users (Attach User on the same screen mentioned earlier) and they were fixed.

Just thought this was worth mentioning in case anyone else runs into it!

1 Reply

Reply to Thread
1
Jereming Chen Replied
Employee Post Marked As Resolution
That is a fair point and one that is difficult to check for because of non-ASCII characters potentially being used. It is one of the differences between platforms that Administrators have to keep in mind when they migrate from Windows to Linux. 
I am glad you were able to resolve it with few issues.
Jereming Chen System/Network Administrator SmarterTools Inc. www.smartertools.com

Reply to Thread