Re: [exim] Strip IP address from received header

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Joachim Boltz
日付:  
To: exim-users
題目: Re: [exim] Strip IP address from received header

thx, i am now using the following the replace the authenticated user IP
with 127.0.0.1:


  received_header_text = Received: \
      ${if def:sender_rcvhost {from ${if def:authenticated_id \
      {127.0.0.1 (helo=authenticated.user-IP.removed)} \
      {$sender_rcvhost }}\n\t}}\
      by $primary_hostname \
      ${if def:received_protocol {with $received_protocol}} \
      ${if def:tls_cipher {($tls_cipher)\n\t}}\
      (Exim $version_number)\n\t\
      id $message_id\
      ${if def:received_for {\n\tfor $received_for}}




Jakob Hirsch schrieb:
> Quoting Joachim Boltz:
>
>> due to privacy issues I want to strip the IP address of authenticated
>
> change received_header_text to your needs.
>
> I do this to remove the "EHLO [pri.vate.IP.address]" Thunderbird uses:
>
> received_header_text = Received: \
> ${if def:sender_rcvhost {from ${if def:authenticated_id \
> {${sg{$sender_rcvhost}{ helo=[^)\\s]*}{}}} {$sender_rcvhost}}\n\t}\
> ...
>