If anyone is interested into that, i solved the problem setting a new subdomain like that : webmail.domain.tld and installing a new webmail (Afterlogic PHP) through Sentora for that specific client. I avoided a huge mess patching the default one for such a complex approach.
Thank you for your assistance and support
Thank you for your assistance and support