Testsuite: move testcase (requires plaintext authenticator)
[users/heiko/exim.git] / test / confs / 0231
1 # Exim test configuration 0231
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 domainlist local_domains = test.ex : *.test.ex
14
15 acl_smtp_rcpt = check_recipient
16
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   accept  hosts = :
24   accept  domains = +local_domains
25   deny    message = relay not permitted
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 rewrite1:
33   driver = manualroute
34   domains = ! +local_domains
35   route_list = * 127.0.0.1 byname
36   self = send
37   transport = smtp_rewrite
38   no_more
39
40 rewrite2:
41   driver = accept
42   local_parts = a
43   retry_use_local_part
44   transport = local_delivery_rewrite
45
46 no_rewrite:
47   driver = accept
48   retry_use_local_part
49   transport = local_delivery
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 local_delivery_rewrite:
57   driver = appendfile
58   file = DIR/test-mail/$local_part
59   headers_rewrite = a@test.ex a-rewrite@test.ex
60   user = CALLER
61
62 local_delivery:
63   driver = appendfile
64   file = DIR/test-mail/$local_part
65   user = CALLER
66
67 smtp_rewrite:
68   driver = smtp
69   headers_rewrite = *@domain1 $1-rewrite@domain2 f :\
70                     *@domain1 $1-other@domain2
71   port = PORT_S
72
73
74 # ----- Retry -----
75
76
77 begin retry
78
79 * * F,5d,10s
80
81
82 # End