Heloo all, how to setup custom HELO to send mail from nextcloud

I have nextcloud installed on a server with exim

To protect myself from spam I have a block on sending emails from HELO local addresses, How to set up HELO in Nextcloud for smtp?
I have smtp sending method

Regards

The HELO parameter needs to be set in your Exim configuration not in Nextcloud,. He you find further information:

hello
I found a solution, HELO in nextcloud is taken from the hostname, if you have spam protection then exim will not allow you to send an email if the hostname is the same as HELO
just in the files AbstractSmtpTransport.php and EsmtpTransport.php change in the lines
sprintf(“EHLO” %s\r\n, $this_domain), [250]

sprintf(“HELO” %s\r\n, $this_domain), [250]

variable $this_domain to ‘my_HELO’