Re: [Exim] Exim's variables

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: Raphaël Berghmans
Υ/ο: exim-users
Αντικείμενο: 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