Root Mail Path in Domains defaults - trailing backslash issue
Problem reported by Sébastien Riccio - Today at 3:40 AM
Submitted
Hello,

A few days ago I changed the Root Mail Path to point it to a new storage, and "forgot" to add a trailing backslash:

It looks like SM isn't correctly handling this as it created a mess of folders such:

H:\SmarterMail\Domainsmydomain.ch
H:\SmarterMail\Domainsmydomain.com

Instead of:

H:\SmarterMail\Domains\mydomain.ch
H:\SmarterMail\Domains\mydomain.com

It looks like SM do a string concatenation instead of doing something like:
string fullDomainPath = Path.Combine(mailRootPath, domainFolder);

Not sure if intentional, but as one can easily forget or don't know it absolutely needs the trainling backslash, I consider it as a bug :)

Kind regards,
Sébastien Riccio
System & Network Admin

Reply to Thread

Enter the verification text