When trying to send an e-mail from Roundcube Webmail in Hestiacp, the following error appears. SMTP Error (): Connection to server failed

If possible, it is recommended that you reinstall Hestia and related mailbox components! Hestia doesn’t work with Postfix

Please wipe the server and start from zero. As @sahsanu already wrote, you had some Frankenstein there and it’s impossible to support.