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