Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0495 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | primary_hostname = myhost.test.ex |
afda344b PH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | acl_smtp_rcpt = check_rcpt | |
10 | mua_wrapper = TRUE | |
11 | trusted_users = CALLER | |
12 | ||
13 | # These settings should be ignored | |
14 | ||
15 | queue_only | |
16 | queue_smtp_domains = * | |
17 | deliver_drop_privilege = FALSE | |
18 | remote_max_parallel = 5 | |
19 | ||
20 | ||
21 | # ----- ACL ----- | |
22 | ||
23 | begin acl | |
24 | ||
25 | # The controls will be ignored | |
26 | ||
27 | check_rcpt: | |
28 | accept control = queue_only | |
29 | control = freeze | |
30 | ||
31 | ||
32 | # ----- Routers ----- | |
33 | ||
34 | begin routers | |
35 | ||
36 | r1: | |
37 | driver = redirect | |
38 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
39 | file_transport = t3 | |
40 | allow_fail | |
41 | allow_defer | |
42 | ||
43 | r2: | |
44 | driver = accept | |
45 | local_parts = otherhost | |
46 | transport = t2 | |
47 | ||
48 | r3: | |
49 | driver = accept | |
50 | local_parts = ^badport | |
51 | transport = t4 | |
52 | ||
53 | r9: | |
54 | driver = accept | |
55 | transport = t1 | |
56 | headers_add = ${if eq{$local_part}{addheader}{Added: text}} | |
57 | ||
58 | ||
59 | # ----- Transports ----- | |
60 | ||
61 | begin transports | |
62 | ||
63 | t1: | |
64 | driver = smtp | |
65 | hosts = 127.0.0.1 : HOSTIPV4 | |
66 | port = PORT_S | |
67 | allow_localhost | |
68 | command_timeout = 1s | |
69 | ||
70 | t2: | |
71 | driver = smtp | |
72 | hosts = V4NET.9.8.7 | |
73 | port = PORT_S | |
74 | ||
75 | t3: | |
76 | driver = appendfile | |
77 | file = DIR/test-mail/$local_part | |
78 | user = CALLER | |
79 | ||
80 | t4: | |
81 | driver = smtp | |
82 | hosts = V4NET.10.10.10 | |
83 | port = nonexistent | |
84 | ||
85 | # End |