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