Testsuite: random number used for DSN MIME boundary can have few digits
[users/jgh/exim.git] / test / confs / 0092
1 # Exim test configuration 0092
2
3 acl_smtp_rcpt = check_recipient
4 acl_smtp_data = check_message
5
6 domainlist local_domains = test.ex : *.test.ex
7
8 domainlist relay_domains = test.ex
9
10 exim_path = EXIM_PATH
11 host_lookup_order = bydns
12 primary_hostname = myhost.test.ex
13 spool_directory = DIR/spool
14 log_file_path = DIR/spool/log/%slog
15 gecos_pattern = ""
16 gecos_name = CALLER_NAME
17
18 # ----- Main settings -----
19
20 smtp_receive_timeout = 2s
21 receive_timeout = 2s
22
23
24 begin acl
25
26 check_recipient:
27   accept  hosts = :
28   deny    message = unrouteable address
29           recipients = verify@test.ex
30          !verify = recipient
31   accept  domains = +local_domains
32   accept  domains = +relay_domains
33   deny    message = relay not permitted
34
35 check_message:
36   accept
37
38
39 # ----- Rewrite -----
40
41 # End
42
43
44
45
46 # ----- Routers -----
47
48 begin routers
49
50 fail_remote_domains:
51   driver = redirect
52   domains = ! +local_domains
53   data = :fail: unrouteable mail domain "$domain"
54
55 # ----- Directors -----
56
57 forward:
58   driver = redirect
59   file = DIR/aux-fixed/non-exist
60   retry_use_local_part
61
62 # End