blob: 91fcc9e1e608e9fbadf21e4914356c076a68a9c5 (
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
102
103
104
105
106
107
108
109
110
|
# Exim test configuration 0240
exim_path = EXIM_PATH
host_lookup_order = bydns
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
# ----- Main settings -----
acl_smtp_rcpt = check_recipient
acl_smtp_data = check_message
domainlist local_domains = test.ex
qualify_domain = test.ex
#!!#######################################################!!#
#!!# This new section of the configuration contains ACLs #!!#
#!!# (Access Control Lists) derived from the Exim 3 #!!#
#!!# policy control options. #!!#
#!!#######################################################!!#
#!!# These ACLs are crudely constructed from Exim 3 options.
#!!# They are almost certainly not optimal. You should study
#!!# them and rewrite as necessary.
# ----- ACL -----
begin acl
#!!# ACL that is used after the RCPT command
check_recipient:
# Exim 3 had no checking on -bs messages
accept hosts = :
accept domains = +local_domains
deny message = relay not permitted
#!!# ACL that is used after the DATA command
check_message:
accept
# ----- Rewrite -----
# End
#!!#######################################################!!#
#!!# Here follow routers created from the old routers, #!!#
#!!# for handling non-local domains. #!!#
#!!#######################################################!!#
# ----- Routers -----
begin routers
#!!# This new router is put here to fail all domains that
#!!# were not in local_domains in the Exim 3 configuration.
fail_remote_domains:
driver = redirect
domains = ! +local_domains
data = :fail: unrouteable mail domain "$domain"
#!!#######################################################!!#
#!!# Here follow routers created from the old directors, #!!#
#!!# for handling local domains. #!!#
#!!#######################################################!!#
# ----- Directors -----
all:
driver = accept
retry_use_local_part
transport = local
# ----- Transports -----
begin transports
local:
driver = appendfile
directory_mode = 3777
file = DIR/test-mail/subdir/$local_part
user = CALLER
# ----- Retry -----
begin retry
* * F,5d,1d
# End
|