Multiple headers_add/remove options per router/transport - fixes bug 337
[exim.git] / test / confs / 0446
1 # Exim test configuration 0446
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12
13 # ----- Main settings -----
14
15 qualify_domain = test.ex
16
17 acl_smtp_rcpt = accept
18 acl_smtp_data = smtp_data
19 acl_not_smtp = not_smtp
20
21
22 #----- ACL -----
23
24 begin acl
25
26 smtp_data:
27 warn message = X-ACL: $received_count
28 accept
29
30 not_smtp:
31 warn message = X-ACL: $received_count
32 accept
33
34
35 #----- Routers -----
36
37 begin routers
38
39 r1:
40 driver = accept
41 transport = t1
42 headers_add = X-Router: $received_count
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 t1:
50 driver = appendfile
51 file = DIR/test-mail/$local_part
52 user = CALLER
53
54 # End