X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/21aa05977abff1eaa69bb97ef99080220915f7c0..f3ebb786e451da973560f1c9d8cdb151d25108b5:/test/confs/0478 diff --git a/test/confs/0478 b/test/confs/0478 index d9fd0a5ce..cfb9a17b1 100644 --- a/test/confs/0478 +++ b/test/confs/0478 @@ -27,7 +27,9 @@ begin transports t1: driver = smtp port = PORT_D - hosts = ${if eq {$sender_host_address}{}{$local_part}{V4NET.0.0.2}} + hosts = ${if !eq {$sender_host_address}{} {V4NET.0.0.2} \ + {${if eq {127.0.0.1}{$local_part} {127.0.0.1} \ + {${if eq {V4NET.0.0.1}{$local_part} {V4NET.0.0.1}}}}}} allow_localhost connect_timeout = 1s