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