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@domC.ex usery@domD.ex
18 # Equivalent explicit case: can multi-domain
19 exim -DOPTION=multi_domain=yes -q
23 exim userx@domE.ex usery@domF.ex
26 # no multi-domain: 2nd rcpt is deferred since parallel is disabled
27 exim -DOPTION=multi_domain=no -q
29 exim -DOPTION=multi_domain=no -qf
33 exim userx@domG.ex usery@domH.ex
36 # Expanded case: can multi-domain
37 exim -DOPTION='multi_domain=${if bool{1} {true}{false}}' -q
41 exim userx@domK.ex usery@domL.ex
44 # Expanded case: no multi-domain (1)
45 exim -DOPTION='multi_domain=${if eqi {$address_data}{domK.ex} {no}{yes}}' -q
47 exim -DOPTION='multi_domain=${if eqi {$address_data}{domK.ex} {no}{yes}}' -qf
51 exim userx@domM.ex usery@domN.ex
54 # Expanded case: no multi-domain (2)
55 exim -DOPTION='multi_domain=${if match_domain {$address_data}{domZ.ex : domY.ex : domN.ex} {no}{yes}}' -q
57 exim -DOPTION='multi_domain=${if match_domain {$address_data}{domZ.ex : domY.ex : domN.ex} {no}{yes}}' -qf
61 exim userx@domP.ex usery@domP.ex userz@domQ.ex
64 # Expanded case: both yes and no
65 exim -DOPTION='multi_domain=${if eqi {$address_data}{domP.ex} {no}{yes}}' -q
67 exim -DOPTION='multi_domain=${if eqi {$address_data}{domP.ex} {no}{yes}}' -qf