tested it but it is not case sensitive!
I tried a new installation of osTicket with a new DB and eMail-Konfiguration works fine. I have taken the same settings on both osTickets-Installation.
After I updated the tables in the Database excepting config, plugins, etc... the redirection doesn't work anymore.
So this must be due to an wrong entry in one table!
Tables which I have not migrated: