1 # Exim test configuration 1003
5 .include DIR/aux-var/std_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
23 condition = ${if eq {SERVER}{server}{no}{yes}}
24 address_data = ${substr_1_1:$domain}
25 transport = send_to_server${if eq {1}{$address_data} {1} \
26 {${if eq {2}{$address_data} {2} \
27 {${if eq {3}{$address_data} {3} \
28 {${if eq {4}{$address_data} {4}{5}}}}}}}}
32 transport = local_delivery
35 # ----- Transports -----
41 file = DIR/test-mail/$local_part
47 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
49 interface = <; ::1 ; HOSTIPV4
54 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
56 interface = <; HOSTIPV6 ; HOSTIPV4
61 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
63 interface = <; ${if eq{0}{1}{HOSTIPV6}fail}
68 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
70 interface = <; ${if eq{0}{1}{HOSTIPV6}{ }}
75 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
82 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
84 interface = ${expand:$h_interface:}