Testsuite: ignore environment-stripping debug output
[exim.git] / test / confs / 0231
1 # Exim test configuration 0231
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex : *.test.ex
16
17 acl_smtp_rcpt = check_recipient
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25   accept  hosts = :
26   accept  domains = +local_domains
27   deny    message = relay not permitted
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 rewrite1:
35   driver = manualroute
36   domains = ! +local_domains
37   route_list = * 127.0.0.1 byname
38   self = send
39   transport = smtp_rewrite
40   no_more
41
42 rewrite2:
43   driver = accept
44   local_parts = a
45   retry_use_local_part
46   transport = local_delivery_rewrite
47
48 no_rewrite:
49   driver = accept
50   retry_use_local_part
51   transport = local_delivery
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 local_delivery_rewrite:
59   driver = appendfile
60   file = DIR/test-mail/$local_part
61   headers_rewrite = a@test.ex a-rewrite@test.ex
62   user = CALLER
63
64 local_delivery:
65   driver = appendfile
66   file = DIR/test-mail/$local_part
67   user = CALLER
68
69 smtp_rewrite:
70   driver = smtp
71   headers_rewrite = *@domain1 $1-rewrite@domain2 f :\
72                     *@domain1 $1-other@domain2
73   port = PORT_S
74
75
76 # ----- Retry -----
77
78
79 begin retry
80
81 * * F,5d,10s
82
83
84 # End