Hide sender's ip details from email header

General support questions
Post Reply
KiKNAtion
Posts: 3
Joined: 2015/08/19 13:42:43

Hide sender's ip details from email header

Post by KiKNAtion » 2015/08/19 14:32:05

Hello All,
Can anyone tell me how to hide the sender's IP details from the received email header like the one below ?

Received: from rhtbox5.ux.mydomain.com (192.168.1.23) by domx1.abc.mydomain.com

I tried the method found on google like adding macros (confRECEIVED_HEADER ...etc) on sendmail.mc and did compile and service restart, still it doesn't seems to be working, header is still visible.
any solution would be really helpful.

Macros which I tried till now:
1)

define(`confRECEIVED_HEADER', `$?{auth_type}(from $j) by $j ($v/$Z)$|$?sfrom $s $.$?_($?s$|from $.$_)
$.$?{auth_type}(authenticated$?{auth_ssf} bits=${auth_ssf}$.)
$.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version}
(version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u
for $u; $|;
$.$b$.')dnl
### Source: https://joelw.id.au/GeneralNotes

2)
dnl # suppress IP of authenticated sender
define(`confRECEIVED_HEADER',`$?{auth_type}from auth (localhost [127.0.0.1]) $|_REC_HDR_$.
_REC_BY_
_REC_TLS_
_REC_END_')[/color]
### Source: https://fam.tuwien.ac.at/~schamane/_/bl ... n_sendmail



Thanks,
KiK

Post Reply