We are trying to enable emails on our IDM production environment. We changed the email.properties file and enabled emails from management console as well. We can see that it's trying to send the email but it fails with connection refused.
We noticed the local hostfile on the vAPP server has an entry for the smtp address pointing to the local vapp hostname which is why we think this might be happening. But we can't edit the file because it's owned by root. How can we edit it, or is there is someplace we need to change this?