[exim] Another oddity - $host_lookup_failed

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Russell King
Dátum:  
Címzett: exim-users
Tárgy: [exim] Another oddity - $host_lookup_failed
Hi,

Here's another strange oddity:

acl_check_helo:

  defer   condition     = ${lookup{${lc:$sender_helo_name}} partial-lsearch{/etc/exim/helo-check} {1}{0}}
          condition     = ${if eq{$host_lookup_failed} {1} {0}{1}}
          delay         = 10s
          message       = Access temporarily denied.  Cannot resolve PTR for $sender_host_address
          log_message   = Unable to resolve $sender_host_address ($host_lookup_failed)


produces:

2005-02-13 14:27:49 H=bay101-f27.bay101.hotmail.com (hotmail.com) [64.4.56.37] I=[212.18.232.186]:25 temporarily rejected EHLO or HELO hotmail.com: Unable to resolve 64.4.56.37 (0)

The zero in brackets is the value of $host_lookup_failed. However, as
can be seen from the log line, we have the host name, and we have the
IP address. What's more is that exim is *not* complaining that it's
unable to resolve the IP address nor the host name (which rules out the
documented reasons.) So, why would $host_lookup_failed remain zero?

Again, exim 4.41 + exiscan built from Nigel's FC RPMs.

--
Russell King