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