[Exim] $host_lookup_failed & $sender_host_name

Startseite
Nachricht löschen
Nachricht beantworten
Autor: David Saez
Datum:  
To: exim-users
Betreff: [Exim] $host_lookup_failed & $sender_host_name
Hi !!

I noticed that $sender_host_name is empty and $host_lookup_failed is true
when the ip address lookup yielded a host name but this host name does
not reverse resolve to that ip address and host_lookup is not set.
If that is the way it should work then the documentation should be updated
so it's clear in which cases $sender_host_name is empty and $host_lookup_failed
is true as now it looks like this should only happen when host_lookup is
set. Also $sender_host_name definition should be updated to reflect the fact
that the ip lookup will take place if the variable value is requested and has
not been done before. In the other hand this makes that two conditions
identical:

condition      = ${if eq{$sender_host_name}{}{yes}{no}}
!verify        = reverse_host_lookup


maybe it will be better to have an option so $sender_host_name is not empty
in that case so it could be possible to distinguish between the fact that the
ip address does not resolve ($sender_host_name empty) and when it has a broken
rdns (!verify = reverse_host_lookup) without having to use dnslookup to make
another lookup.

--
Best regards ...

Swap read error. You lose your mind.

----------------------------------------------------------------
   David Saez Padros                http://www.ols.es
   On-Line Services 2000 S.L.       e-mail  david@???
   Pintor Vayreda 1                 telf    +34 902 50 29 75
   08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------