Pull strict-aliasing fix for sockaddr_46.
[exim.git] / test / confs / 0240
CommitLineData
afda344b
PH
1# Exim test configuration 0240
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5rfc1413_query_timeout = 0s
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
10
11# ----- Main settings -----
12
13
14
15
16acl_smtp_rcpt = check_recipient
17acl_smtp_data = check_message
18
19
20domainlist local_domains = test.ex
21
22
23
24qualify_domain = test.ex
25
26
27#!!#######################################################!!#
28#!!# This new section of the configuration contains ACLs #!!#
29#!!# (Access Control Lists) derived from the Exim 3 #!!#
30#!!# policy control options. #!!#
31#!!#######################################################!!#
32
33#!!# These ACLs are crudely constructed from Exim 3 options.
34#!!# They are almost certainly not optimal. You should study
35#!!# them and rewrite as necessary.
36
37# ----- ACL -----
38
39begin acl
40
41#!!# ACL that is used after the RCPT command
42check_recipient:
43 # Exim 3 had no checking on -bs messages
44 accept hosts = :
45 accept domains = +local_domains
46 deny message = relay not permitted
47
48#!!# ACL that is used after the DATA command
49check_message:
50 accept
51
52
53# ----- Rewrite -----
54
55# End
56
57#!!#######################################################!!#
58#!!# Here follow routers created from the old routers, #!!#
59#!!# for handling non-local domains. #!!#
60#!!#######################################################!!#
61
62
63
64# ----- Routers -----
65
66begin routers
67
68
69#!!# This new router is put here to fail all domains that
70#!!# were not in local_domains in the Exim 3 configuration.
71
72fail_remote_domains:
73 driver = redirect
74 domains = ! +local_domains
75 data = :fail: unrouteable mail domain "$domain"
76
77
78#!!#######################################################!!#
79#!!# Here follow routers created from the old directors, #!!#
80#!!# for handling local domains. #!!#
81#!!#######################################################!!#
82
83# ----- Directors -----
84
85all:
86 driver = accept
87 retry_use_local_part
88 transport = local
89
90
91# ----- Transports -----
92
93begin transports
94
95local:
96 driver = appendfile
97 directory_mode = 3777
98 file = DIR/test-mail/subdir/$local_part
99 user = CALLER
100
101
102# ----- Retry -----
103
104
105begin retry
106
107* * F,5d,1d
108
109
110# End