testsuite: abstract out common conf settings
[exim.git] / test / confs / 3403
CommitLineData
afda344b
PH
1# Exim test configuration 3403
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9acl_smtp_rcpt = accept
10
11
12# ----- Authentication -----
13
14begin authenticators
15
16plain1:
17 driver = plaintext
18 public_name = PLAIN
19 server_condition = \
20 ${if or {\
21 {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
22 {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
23 }\
24 {yes}{no}}
25 server_set_id = $2
26 server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
27
28
29# ----- Routers -----
30
31begin routers
32
33d1:
34 driver = accept
35 headers_add = aid: $authenticated_id
36 retry_use_local_part
37 transport = t1
38
39
40# ----- Transports -----
41
42begin transports
43
44t1:
45 driver = appendfile
46 file = DIR/test-mail/$local_part
47 user = CALLER
48
49# End