testsuite: abstract out common conf settings
[exim.git] / test / confs / 3403
1 # Exim test configuration 3403
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = accept
10
11
12 # ----- Authentication -----
13
14 begin authenticators
15
16 plain1:
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
31 begin routers
32
33 d1:
34   driver = accept
35   headers_add = aid: $authenticated_id
36   retry_use_local_part
37   transport = t1
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 t1:
45   driver = appendfile
46   file = DIR/test-mail/$local_part
47   user = CALLER
48
49 # End