The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

account domain name instead of hostname in email header

Discussion in 'E-mail Discussions' started by giorgio79, Jul 4, 2007.

  1. giorgio79

    giorgio79 Member

    Joined:
    Jun 13, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Is it possible to replace in email headers the hostname with each account's corresponding domain name?


    Thank you,
    Gyuri
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    The mail headers will always show the sending server's name (hostname) ...

    However this has absolutely no bearing on the "From" or "Reply-To" headers
    which both of course will still show the sending account's domain name
    unless you have your mail misconfigured or doing something dumb
    like sending mail out from the "master" mail login on the account.

    Bottom line ....

    The answer to your question is "NO" but it does not really matter! :D
     
  3. giorgio79

    giorgio79 Member

    Joined:
    Jun 13, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    :) Thanks Spiral!

    Yes, I see :)

    I understand it may not be that important, but I have some domains on my server that I want to be totally unrelated.

    Yet, if someone more technical spots the hostname in the header, they can check the other site which I would like to avoid :)

    Cheers,
    Giorgio
     
  4. jandafields

    jandafields Well-Known Member

    Joined:
    May 6, 2004
    Messages:
    426
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    You could change your server's hostname to something generic that does not have a website connected to it. You could then also change the mail server's IP address to its own dedicated address for that domain or for all domains (search forum for instructions) to prevent someone from running a reverse IP and finding all of your domain names.

    Another idea would be to run a second instance of exim with a custom modified config (this would have to be done outside of cpanel)
     
Loading...

Share This Page