Re: [Exim] Exim's variables

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nico Erfurth
Päiväys:  
Vastaanottaja: Raphaël Berghmans
Kopio: exim-users
Aihe: Re: [Exim] Exim's variables
Raphaël Berghmans wrote:
> Hi,
>
> I would like to know if a common variable contains the IP address of the
> SMTP client, to use eventually in System Filter ?


RTFM
$sender_host_address

From section 11.8 of the exim 4.10 spec.txt:

<quote>
$sender_host_address: When a message is received from a remote host,
          this variable contains that host's IP address.
          For locally submitted messages, it is empty.
</quote>


Nico