Testsuite: remove unused acl option from testcase
[exim.git] / test / confs / 0005
CommitLineData
afda344b
PH
1# Exim test configuration 0005
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
12domainlist local_domains = @
13
14acl_smtp_rcpt = check_recipient
15acl_smtp_data = check_data
16message_id_header_domain = ${if eq{0}{0}{some.domain}}
17message_id_header_text = ${if eq{0}{0}{a@b[c]}}
18trusted_users = CALLER
19
20
21# ----- ACL -----
22
23begin acl
24
25check_recipient:
26 accept hosts = :
27 accept domains = +local_domains
28 deny message = relay not permitted
29
30check_data:
31 warn message = X-acl-message-linecount: $message_linecount
32 accept
33
34
35# ----- Routers -----
36
37begin routers
38
39fail_remote_domains:
40 driver = redirect
41 domains = ! +local_domains
42 data = :fail: unrouteable mail domain "$domain"
43
44localuser:
45 driver = accept
46 check_local_user
47 transport = local_delivery
48 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
49
50
51# ----- Transports -----
52
53begin transports
54
55local_delivery:
56 driver = appendfile
57 delivery_date_add
58 envelope_to_add
59 file = DIR/test-mail/$local_part
60 headers_add = "X-body-linecount: $body_linecount\n\
61 X-message-linecount: $message_linecount\n\
62 X-received-count: $received_count"
63 return_path_add
64
65# End