Error webmail help

hello, when I access the webmail page I get this error

The webmail.domain.com page has redirected you too many times.

I’m using this to install the hestia panel:

bash hst-install.sh -n no -w yes -t no -c no -x yes -z yes -b yes -i yes -m yes -a yes -k yes -o yes -v yes -j no -g no -q no

Try to enable Lets Encrypt for the mail domain.

when i enable the ssl that error occurs

Are you using Cloudflare?

No, they’re my own dns.