fd25acc31d0ac751256e15118c53ce9e8e8d4bba
[exim.git] / test / confs / 0094
1 # Exim test configuration 0094
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 qualify_domain = test.ex
13
14 acl_smtp_rcpt = check_recipient
15 domainlist local_domains = test.ex
16
17 hostlist relay_hosts = *.masq.test.ex
18
19 host_lookup = 0.0.0.0/0
20
21
22 # ----- ACL -----
23
24 begin acl
25
26 check_recipient:
27   accept  hosts = :
28   accept  domains = +local_domains
29   accept  hosts = +relay_hosts
30   deny    message = relay not permitted
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 localuser:
38   driver = accept
39   local_parts = userx
40   transport = appendfile
41
42
43 # ----- Transports -----
44
45 begin transports
46
47 appendfile:
48   driver = appendfile
49   file = DIR/test-mail/$local_part
50   headers_add = host_lookup_failed: $host_lookup_failed\n\
51                 host_lookup_deferred: $host_lookup_deferred
52   user = CALLER
53
54
55 # End