Testsuite: bounce_message_file and warn_message_file
[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
e34f8ca2 10acl_smtp_data = check_data
afda344b
PH
11
12
13# ----- Authentication -----
14
15begin authenticators
16
17plain1:
18 driver = plaintext
19 public_name = PLAIN
20 server_condition = \
21 ${if or {\
22 {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
23 {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
24 }\
25 {yes}{no}}
26 server_set_id = $2
27 server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
28
29
e34f8ca2
JH
30# ----- ACL -----
31begin acl
32
33check_data:
34 accept add_header = :at_start:${authresults {$primary_hostname}}
35
afda344b
PH
36# ----- Routers -----
37
38begin routers
39
40d1:
41 driver = accept
42 headers_add = aid: $authenticated_id
43 retry_use_local_part
44 transport = t1
45
46
47# ----- Transports -----
48
49begin transports
50
51t1:
52 driver = appendfile
0d2e392e 53 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
54 user = CALLER
55
56# End