Content scan: Use ETIMEDOUT not ETIME, as having better portability. Bug 1640
[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 OPT = 2s
21 smtp_receive_timeout = OPT
22 receive_timeout = 2s
23
24
25 begin acl
26
27 check_recipient:
28   accept  hosts = :
29   deny    message = unrouteable address
30           recipients = verify@test.ex
31          !verify = recipient
32   accept  domains = +local_domains
33   accept  domains = +relay_domains
34   deny    message = relay not permitted
35
36 check_message:
37   accept
38
39
40 # ----- Rewrite -----
41
42 # End
43
44
45
46
47 # ----- Routers -----
48
49 begin routers
50
51 fail_remote_domains:
52   driver = redirect
53   domains = ! +local_domains
54   data = :fail: unrouteable mail domain "$domain"
55
56 # ----- Directors -----
57
58 forward:
59   driver = redirect
60   file = DIR/aux-fixed/non-exist
61   retry_use_local_part
62
63 # End