X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fconfs%2F0478;h=cfb9a17b1af20023eb263121231fc0f5eb642c75;hb=979c462ed43bd4f53f61a0031ec22967dea83902;hp=bcdd98069ab7e6b973f7e7b15ee88397fce7cc82;hpb=7eb59ff94f571a06e5dab25e417979095d569495;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/confs/0478 b/test/confs/0478 index bcdd98069..cfb9a17b1 100644 --- a/test/confs/0478 +++ b/test/confs/0478 @@ -2,13 +2,8 @@ SERVER= -exim_path = EXIM_PATH -host_lookup_order = bydns -rfc1413_query_timeout = 0s -spool_directory = DIR/spool -log_file_path = DIR/spool/log/SERVER%slog -gecos_pattern = "" -gecos_name = CALLER_NAME +.include DIR/aux-var/std_conf_prefix + # ----- Main settings ----- @@ -32,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