------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1476
Summary: $host is empty on a verify callout
Product: Exim
Version: 4.82
Platform: Other
OS/Version: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Transports
AssignedTo: nigel@???
ReportedBy: Claas.Hilbrecht@???
CC: exim-dev@???
To reproduce this issue setup a transport with:
hosts_require_auth =
hosts_require_tls =
hosts_verify_avoid_tls = *
You also need a auth provider that does a host lookup like:
${lookup sqlite {/etc/exim4/sqlite.db SELECT password FROM auth_server WHERE
username='${quote_sqlite:$auth1}'}{$value}fail}
If the transport is used for mail delivery everything is fine. But using the
transport to verfiy a recipient the $host variable is empty.
expanding: $tls_out_cipher
result: TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128
expanding:
result:
condition: eq{$tls_out_cipher}{}
result: false
expanding: no
result: no
skipping: result is not used
expanding: yes
result: yes
expanding: ${if eq{$tls_out_cipher}{}{no}{yes}}
result: yes
expanding: /etc/exim4/sqlite.db SELECT username FROM auth_client WHERE
hostname='$host'
result: /etc/exim4/sqlite.db SELECT username FROM auth_client WHERE
hostname=''
search_open: sqlite "/etc/exim4/sqlite.db"
cached open
search_find: file="/etc/exim4/sqlite.db"
key="SELECT username FROM auth_client WHERE hostname=''" partial=-1
affix=NULL starflags=0
LRU list:
internal_search_find: file="/etc/exim4/sqlite.db"
type=sqlite key="SELECT username FROM auth_client WHERE hostname=''"
file lookup required for SELECT username FROM auth_client WHERE hostname='' in
/etc/exim4/sqlite.db lookup forced cache cleanup
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email