testcase
[exim.git] / test / confs / 0044
CommitLineData
afda344b
PH
1# Exim test configuration 0044
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b 5host_lookup_order = bydns
afda344b
PH
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
23f3dc67 10tls_advertise_hosts =
afda344b
PH
11
12# ----- Main settings -----
13
14domainlist local_domains = exim.test.ex
15
16acl_smtp_rcpt = check_recipient
17qualify_domain = exim.test.ex
18
19
20# ------ ACL ------
21
22begin acl
23
24check_recipient:
25 accept hosts = :
26 accept recipients = postmaster@exim.test.ex
27 accept senders = myfriend@*
28 deny message = host is listed in $dnslist_domain
29 dnslists = rbl.test.ex
30 require verify = sender
31 deny message = unrouteable address
32 !verify = recipient
33 accept domains = +local_domains
34 accept domains = +relay_domains
35 deny message = relay not permitted
36
37
38# ----- Routers -----
39
40begin routers
41
42localuser:
43 driver = accept
44 local_parts = userx
45 transport = local_delivery
46
47
48# ----- Transports -----
49
50begin transports
51
52local_delivery:
53 driver = appendfile
54 delivery_date_add
55 envelope_to_add
56 file = DIR/test-mail/$local_part
57 return_path_add
58 user = CALLER
59
60# End