Jeremy Harris wrote: > Frederic d Huart wrote: > >> Does somebody knows how to configure exim to rewrite or hide certain >> parts of the SMTP header in a message as for example: >> >> An internal smtp server (using a private ip) use an certain Relay server >> for outgoing delivery. Once the mail delivered, you can see the Internal >> Private IP in the Header HELO part. >> >> Received: from [192.168.xxx.xxx] (helo=ex.amp3.le) # here's the ip and >> the server name that I want to rewrite or hide >> by ex2.amp2.le2 with esmtp (Exim 4.xx) >> (envelope-from <[EMAIL PROTECTED]>) >> id 1HcK8S-0001T1-IK >> for [EMAIL PROTECTED]; Fri, 13 Apr 2007 13:40:25 +0200 >> > > Assuming that exim is running your outbound relay, you > can specify what Received: header gets added there. > > Look for "received_header_text" in > http://exim.org/exim-html-4.66/doc/html/spec_html/ch14.html > > This assumes that all your internal systems talk > directly to that relay. Be aware that you may > be making your debugging life harder by obscuring > this information. > > Cheers, > Jeremy > > Perfect, thank you Jeremy it works well. received_header_text = "Received: from $whatever_i_want ${if match\ {$sender_helo_name}\ {$whatever_i_dont_want}}"
Cheers -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
