Get TLS SNI server-switching working with GnuTLS.
[users/heiko/exim.git] / test / confs / 0480
index 3308c0663bff6a39c06337188a8a705745affdf4..c8adb1ba5454d01cf4d957b5c59e762c7933f5ab 100644 (file)
@@ -18,13 +18,13 @@ gecos_name = CALLER_NAME
 
 acl_smtp_rcpt = accept
 
-smtp_active_hostname = ${if eq{$interface_address}{IP1}\
+smtp_active_hostname = ${if eq{$received_ip_address}{IP1}\
                        {host.IP1}\
                        {\
-                       ${if eq{$interface_address}{IP2}\
+                       ${if eq{$received_ip_address}{IP2}\
                          {}\
                          {\
-                         ${if eq{$interface_address}{IP3}\
+                         ${if eq{$received_ip_address}{IP3}\
                            {${lookup{x}lsearch{/non/exist}}}\
                            fail}\
                          }}\