Changing the hostname inside the received header

Unanswered Question
Nov 14th, 2007

Hello everybody.

I would like to know how I can change the hostname that appears in the received header to the ip address. So that it does not look anymore like this:

from ( [xx.xx.xx.xx]) by (Postfix) with ESMTP id 5482710F6B98 for <me>; Tue, 13 Nov 2007 16:40:26 +0100 (CET)

It should finally look like this:

from xx.xx.xx.xx (xx.xx.xx.xx [xx.xx.xx.xx]) by (Postfix) with ESMTP id 5482710F6B98 for <mirko>; Tue, 13 Nov 2007 16:40:26 +0100 (CET)

Doing this with Exchange is no problem. But who wants to send his mail directly with Exchange. ;)

Cutting off the received header of the internal listener is not the concern here.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
jaigill Thu, 11/15/2007 - 18:00

Do you want the Ironport to not stamp a received header for messages that it received from the exchange server? This can be accomplished by un-checking the "Network -> Listener -> Advanced -> Add Received Header" text box in GUI.

Knuto0815 Fri, 11/16/2007 - 09:57

But this will just cut off the received headers of the communication between the client to our Exchange server and our Exchange server to our Ironports. But the received header that is attached by the next smtp server our ironport is delivering the mail to is where I would like to see rather the ip address than the hostname. But this should be done for only two addresses.

Even though reading RFC 2822 and some testing solved this for me because the receiving smtp server normally adds the ptr record of the sending server.


This Discussion