Show mailed by in received mails

Hello,

I need to show a customised subdomain like em.mydomain in mailed-by. How to achieve that using hestiacp and ubuntu 24.04?

Thanks

Hi,

Why you want to do that? mailed-by is a validation done by Gmail using the return-path and the SPF validation.

Hello,

I need to configure mail sending in Hestia to show the em.mydomain to keep the reputation of my domain isolated.

I need to change Helo in exim to use em.mydomain I think this is the solution. How to change the Helo in exim Hestia ?

Changing the hostname used by Exim to identify itself won’t make it to appear on mailed-by in Gmail.

I can’t find where to change the hostname ? I need to keep control panel link as a.mydomain and use em.mydomain in exim.

If you change the PTR record for your public IP to em.mydomain, Exim will identify itself as em.mydomain.

If you don’t have a PTR record configured (it is highly recommended that it matches the hostname used by Exim to identify itself), Exim will use primary_hostname, that is, the hostname of your server. Therefore, if you want Exim to identify itself using a hostname different from the server’s hostname, you should add the directive primary_hostname = em.mydomain to Exim’s configuration. You may also want to set the smtp_active_hostname and helo_data directives to em.mydomain.

Like :

After #clam =yes

primary_hostname= em.mydomain

smtp_active_hostname= em.mydomain

helo_data=em.mydomain

?

This yes.

The other ones already exist, just replace the current content. Remember to backup the current conf file.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.