Re: [exim] $sender_host_address

Top Page
Delete this message
Reply to this message
Author: Phillip Carroll
Date:  
To: exim-users
Subject: Re: [exim] $sender_host_address
Where I was originally led astray was in Chapter 31.11:
> For example, to apply a rewriting rule only to messages that originate outside the local host:
>
> *@*.hitch.fict.example  "${if !eq {$sender_host_address}{}\
>                          {$1@???}fail}"


I read (past tense) "outside the local host" to exclude the local interface.


On 11/3/2014 3:53 AM, Jeremy Harris wrote:
> On 03/11/14 00:33, Ted Cooper wrote:
>> The documentation could be adjust slightly to not mention "remote host"
>> as while it is completely true, it is confusing if not familiar with TCP
>> connections. "When a message is receive via a TCP connection ..." - I am
>> not a wordsmith.
>
> How about this:
>
> "When a message is received from a remote host using SMTP,
> this variable contains that
> host's IP address. For locally non-SMTP submitted messages,
> it is empty."
>
> I can put this in the next release.
>