Build: Make test_{os,parse,dbfn,string} work
[users/heiko/exim.git] / test / confs / 3403
1 # Exim test configuration 3403
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = accept
14
15
16 # ----- Authentication -----
17
18 begin authenticators
19
20 plain1:
21   driver = plaintext
22   public_name = PLAIN
23   server_condition = \
24     ${if or {\
25       {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
26       {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
27     }\
28     {yes}{no}}
29   server_set_id = $2
30   server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 d1:
38   driver = accept
39   headers_add = aid: $authenticated_id
40   retry_use_local_part
41   transport = t1
42
43
44 # ----- Transports -----
45
46 begin transports
47
48 t1:
49   driver = appendfile
50   file = DIR/test-mail/$local_part
51   user = CALLER
52
53 # End