Merge branch 'master' into transp_logging_1031
[users/jgh/exim.git] / test / confs / 0230
1 # Exim test configuration 0230
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 domainlist local_domains = test.ex : *.test.ex
17 acl_smtp_rcpt = check_recipient
18 log_selector =  \
19               +incoming_port \
20               +incoming_interface \
21               +smtp_connection
22 queue_only
23 queue_run_in_order
24
25
26 # ----- ACL -----
27
28 begin acl
29
30 check_recipient:
31   accept  hosts = :
32   accept  domains = +local_domains
33   deny    message = relay not permitted
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 fail_remote_domains:
41   driver = redirect
42   domains = ! +local_domains
43   data = :fail: unrouteable mail domain "$domain"
44
45 server:
46   driver = accept
47   retry_use_local_part
48   transport = local_delivery
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 local_delivery:
56   driver = appendfile
57   file = DIR/test-mail/$local_part
58   headers_add = Port: $sender_host_port
59   user = CALLER
60
61
62 # ----- Retry -----
63
64 begin retry
65
66 * * F,5d,10s
67
68 # End