EXPERIMENTAL_DSN: use the SMTP return messsage for Diagnostic-Code lines. Bug 1559
[users/heiko/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 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex : *.test.ex
16 acl_smtp_rcpt = check_recipient
17 log_selector =  \
18               +incoming_port \
19               +incoming_interface \
20               +smtp_connection
21 queue_only
22 queue_run_in_order
23
24
25 # ----- ACL -----
26
27 begin acl
28
29 check_recipient:
30   accept  hosts = :
31   accept  domains = +local_domains
32   deny    message = relay not permitted
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 fail_remote_domains:
40   driver = redirect
41   domains = ! +local_domains
42   data = :fail: unrouteable mail domain "$domain"
43
44 server:
45   driver = accept
46   retry_use_local_part
47   transport = local_delivery
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 local_delivery:
55   driver = appendfile
56   file = DIR/test-mail/$local_part
57   headers_add = Port: $sender_host_port
58   user = CALLER
59
60
61 # ----- Retry -----
62
63 begin retry
64
65 * * F,5d,10s
66
67 # End