1 # multi_domain option on smtp transport
4 exim -DSERVER=server -bd -oX PORT_D
7 exim userx@domA.ex usery@domB.ex
10 # Default case: can multi-domain
15 exim userx@domA.ex usery@domB.ex
18 # Equivalent explicit case: can multi-domain
19 exim -DOPTION=multi_domain=yes -q
23 exim userx@domA.ex usery@domB.ex
27 exim -DOPTION=multi_domain=no -q
30 exim userx@domA.ex usery@domB.ex
33 # Expanded case: can multi-domain
34 exim -DOPTION='multi_domain=${if bool{1} {true}{false}}' -q
38 exim userx@domA.ex usery@domB.ex
41 # Expanded case: no multi-domain (1)
42 exim -DOPTION='multi_domain=${if eqi {$address_data}{domA.ex} {no}{yes}}' -q
46 exim userx@domA.ex usery@domB.ex
49 # Expanded case: no multi-domain (2)
50 exim -DOPTION='multi_domain=${if match_domain {$address_data}{domZ.ex : domY.ex : domB.ex} {no}{yes}}' -q
54 exim userx@domA.ex usery@domA.ex userz@domC.ex
57 # Expanded case: both yes and no
58 exim -DOPTION='multi_domain=${if eqi {$address_data}{domA.ex} {no}{yes}}' -q