Skip to main content

Change email header from primary hostname to domain name?

Comments

3 comments

  • 24x7server
    Hi,
    Can anyone please help me to set this .. I do not wish to use shared / main IP-address/hostname on my email header as it is being used by many domains.

    By default when main shared IP is queried, the hostname if going to be recalled. If you do not wish to get this, you can use dedicated IP for your domain and it will query the dedicated IP and your domain name in the SMTP.
    0
  • kishan giri
    Hi, By default when main shared IP is queried, the hostname if going to be recalled. If you do not wish to get this, you can use dedicated IP for your domain and it will query the dedicated IP and your domain name in the SMTP.

    I have already changed the Exim configuration to use Dedicated IP instead of main ip ... Problem is the header showing main hostname and I want to change it to sending domain Thanks & Regards Kishan Giri
    0
  • cPanelLauren
    Hello @kishan giri Setting the following will change the mailhelo to the domain (or whatever you set it to) WHM>>Service Configuration>>Exim Configuration Manager Reference /etc/mailhelo for outgoing SMTP HELO Reference /etc/mailips for outgoing SMTP connections since you have the PTR set to the domain name, setting the mailhelo to the domain should resolve any mismatch issues. I will point out that you may still receive errors if the PTR isn't a valid hostname like server.domain.tld Thanks!
    0

Please sign in to leave a comment.