Web Hosting Talk







View Full Version : Email headers


cuantica
07-30-2004, 11:58 PM
Hi guys,

I have a problem with my shared hosting account, I´m using a WHM/Cpanel hoster running Exim.

Actually my customers receive email headers showing my hoster domain in headers instead mine as email server name.

Return-path: <nobody@lr.myhoster.com>
Envelope-to: ad@customer.org
Delivery-date: Fri, 30 Jul 2004 09:01:28 -0600
Received: from nobody by lr.myhoster.com with local (Exim 4.34)
id 1BqYsy-00901op-6w
for ad@customer.org; Fri, 30 Jul 2004 09:01:28 -0600
To: ad@customer.org

I have asked my hoster to change the email headers and he says this is not possible, I´m confident this could be changed to avoid my customers tracing me to my hoster server.

I trust in my hoster opinion but I would like help him to get my customers email headers refering to my domain

Any ideas are welcome .

Corey Bryant
07-31-2004, 12:21 AM
I do not think it is possible because that lr.myhoster.com is the name of the server. If they changed it, then it would reflect whatever that changed it to.

Workaholic
07-31-2004, 12:28 AM
Your host should be able to change the mention of their server in the Return-path field - the Return-path field should show your domain name rather than theirs.

But you will never get rid of all mentions of their server name - it will remain visible in the "Received from" section but most readers won't even see that as most mail software by default will not present the Received from information.

Good luck :)

wKkaY
07-31-2004, 05:40 AM
actually, yes it's possible, by setting trusted_users = nobody in exim.

please note that with your current setup, any bounces will be delivered to <nobody@lr.myhoster.com>. so don't expect to get notification of delivery failures :)

Burhan
07-31-2004, 08:32 AM
Can't you just set the headers? Or am I missing something? I mean, shouldn't there be a From: header that's you@yourdomain.com ?

The Return-Path: should be fixed ... else like others have suggested, you will not get any bounce messages. On all the accounts that I have, the return path is set to the default email account for that domain -- but the server name is the name of the hosting server, not the name of the domain.

So, if domain.com is hosted on server1.host.com -- and the default account is default@domain.com, the headers are :

Return-path: <default@server1.host.com>

Hopefully this helps.

Corey Bryant
07-31-2004, 10:37 AM
But isn't lr.myhoster.com the name of the computer? I am looking at my e-mail headers & that is actually the name of my computer. And then that is where me reverse DNS points to. If that is changed, Reverse DNS might be screwed up if the DC does not update their information as well

wKkaY
07-31-2004, 11:51 AM
i would like to add to my post above that it only applies to the Return-path: header.

still, it wouldn't be impossible to modify the Received: headers to make it seem like it's accepted by another hostname rather than the primary_hostname, as exim provides a method of changing it.