Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0022 |
2 | ||
3 | SERVER= | |
4 | ||
5 | exim_path = EXIM_PATH | |
6 | host_lookup_order = bydns | |
7 | primary_hostname = myhost.test.ex | |
afda344b PH |
8 | spool_directory = DIR/spool |
9 | log_file_path = DIR/spool/log/SERVER%slog | |
10 | gecos_pattern = "" | |
11 | gecos_name = CALLER_NAME | |
12 | ||
13 | # ----- Main settings ----- | |
14 | ||
15 | hostlist some_hosts = net-lsearch;DIR/aux-var/TESTNUM.hosts | |
16 | ||
17 | acl_smtp_rcpt = $local_part | |
18 | log_selector = +smtp_connection | |
19 | hosts_connection_nolog = : 127.0.0.1 | |
20 | qualify_domain = test.ex | |
21 | ||
22 | ||
23 | # ----- ACLs ----- | |
24 | ||
25 | begin acl | |
26 | ||
27 | accept: | |
28 | accept | |
29 | ||
30 | # Check "warn" with and without messages | |
31 | ||
32 | warn_empty: | |
33 | warn | |
34 | accept | |
35 | ||
36 | warn_log: | |
37 | warn log_message = warn log message | |
38 | accept | |
39 | ||
40 | warn_user: | |
41 | warn message = warn user message | |
42 | accept | |
43 | ||
44 | drop: | |
45 | drop message = forcibly dropped | |
46 | ||
47 | nested_drop: | |
48 | accept endpass | |
49 | acl = drop | |
50 | ||
51 | nested_drop_require: | |
52 | require acl = drop | |
53 | ||
54 | defer: | |
55 | defer message = forcibly deferred | |
56 | ||
57 | defer_senders: | |
58 | defer senders = : | |
59 | ||
60 | delay_accept: | |
61 | accept delay = 1s | |
62 | ||
63 | delay_warn: | |
64 | warn delay = 1s | |
65 | accept | |
66 | ||
67 | freeze: | |
b01dd148 PH |
68 | accept logwrite = Connections=$smtp_count_at_connection_start |
69 | control = freeze | |
afda344b PH |
70 | |
71 | queue_only: | |
72 | accept control = queue_only | |
73 | ||
74 | host_check: | |
75 | deny hosts = net-lsearch;DIR/aux-var/TESTNUM.hosts | |
76 | message = host data >$host_data< | |
77 | ||
78 | host_check2: | |
79 | deny message = host data >$host_data< | |
80 | hosts = +some_hosts | |
81 | ||
82 | ||
83 | # ----- Routers ----- | |
84 | ||
85 | begin routers | |
86 | ||
87 | accept: | |
88 | driver = accept | |
89 | transport = appendfile | |
90 | ||
91 | # ----- Transports ----- | |
92 | ||
93 | begin transports | |
94 | ||
95 | appendfile: | |
96 | driver = appendfile | |
97 | file = DIR/test-mail/$local_part | |
98 | user = CALLER | |
99 | ||
100 | # End |