[Exim] How to ...

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Toshio Kumagai
Datum:  
To: exim-users, Toshio_Kumagai
Betreff: [Exim] How to ...
Hi all,

    I want to remove internal information on "from" part of
    Received header.
    I've tried to evaluate sender_host_address but delivery
    fails on localhost generated e-mail.
    Here is my received_header_text of my exim.conf.


  received_header_text = "Received: \
    ${if eq {${mask:${sender_host_address}/24}}{192.168.1.0/24}\
      {from internal }\
      {${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
      {${if def:sender_ident {from ${sender_ident} }}\
      ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}}}\
    by ${primary_hostname} \
    ${if def:received_protocol {with ${received_protocol}}} \
    (Exim ${version_number} #${compile_number}\
    ${if def:tls_cipher { + TLS}})\n\t\
    id ${message_id}"


    And the error message was


Expansion of ".... <snip!> ..." (received_header_text) failed:

    What's wrong ?
    Or is there any way to get the e-mail is sent from localhost
    or not.


T.I.A.

-- 
  Toshio Kumagai    (Toshio_Kumagai@???), Japan