Testsuite: Experimental_Certnames absorbed into mainline
[users/jgh/exim.git] / test / confs / 0175
1 # Exim test configuration 0175
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 acl_smtp_rcpt = check_recipient
13 domainlist local_domains = test.ex
14 qualify_domain = test.ex
15
16
17 # ----- ACL -----
18
19 begin acl
20
21 check_recipient:
22   require verify = sender
23   accept  domains = +local_domains
24   deny    message = relay not permitted
25
26 # ----- Routers -----
27
28 begin routers
29
30 fail_sender:
31   driver = manualroute
32   domains = ! +local_domains
33   route_list = bad.domain localhost byname
34   self = fail
35   verify_only
36   verify_sender
37
38 fail_sender2:
39   driver = manualroute
40   domains = ! +local_domains
41   fail_verify
42   route_list = bad.domain2 localhost byname
43   self = send
44   verify_only
45   verify_sender
46
47 lookuphost:
48   driver = dnslookup
49   domains = ! +local_domains
50   transport = smtp
51   no_more
52
53 all:
54   driver = accept
55   retry_use_local_part
56   transport = appendfile
57
58
59 # ----- Transports -----
60
61 begin transports
62
63 smtp:
64   driver = smtp
65
66 appendfile:
67   driver = appendfile
68   file = DIR/test-mail/$local_part
69   user = CALLER
70
71
72 # End