Merge branch 'master'
[exim.git] / test / confs / 0495
1 # Exim test configuration 0495
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 acl_smtp_rcpt = check_rcpt
16 mua_wrapper = TRUE
17 trusted_users = CALLER
18
19 # These settings should be ignored
20
21 queue_only
22 queue_smtp_domains = *
23 deliver_drop_privilege = FALSE
24 remote_max_parallel = 5
25
26
27 # ----- ACL -----
28
29 begin acl
30
31 # The controls will be ignored
32
33 check_rcpt:
34 accept control = queue_only
35 control = freeze
36
37
38 # ----- Routers -----
39
40 begin routers
41
42 r1:
43 driver = redirect
44 data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
45 file_transport = t3
46 allow_fail
47 allow_defer
48
49 r2:
50 driver = accept
51 local_parts = otherhost
52 transport = t2
53
54 r3:
55 driver = accept
56 local_parts = ^badport
57 transport = t4
58
59 r9:
60 driver = accept
61 transport = t1
62 headers_add = ${if eq{$local_part}{addheader}{Added: text}}
63
64
65 # ----- Transports -----
66
67 begin transports
68
69 t1:
70 driver = smtp
71 hosts = 127.0.0.1 : HOSTIPV4
72 port = PORT_S
73 allow_localhost
74 command_timeout = 1s
75
76 t2:
77 driver = smtp
78 hosts = V4NET.9.8.7
79 port = PORT_S
80
81 t3:
82 driver = appendfile
83 file = DIR/test-mail/$local_part
84 user = CALLER
85
86 t4:
87 driver = smtp
88 hosts = V4NET.10.10.10
89 port = nonexistent
90
91 # End