Supress TLS/Env warnings in checking and listing mode
[exim.git] / test / confs / 0230
1 # Exim test configuration 0230
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 domainlist local_domains = test.ex : *.test.ex
18 acl_smtp_rcpt = check_recipient
19 log_selector =  \
20               +incoming_port \
21               +incoming_interface \
22               +smtp_connection
23 queue_only
24 queue_run_in_order
25
26
27 # ----- ACL -----
28
29 begin acl
30
31 check_recipient:
32   accept  hosts = :
33   accept  domains = +local_domains
34   deny    message = relay not permitted
35
36
37 # ----- Routers -----
38
39 begin routers
40
41 .ifdef RT
42 to_server:
43   driver = manualroute
44   transport = remote
45   route_list = * 127.0.0.1
46   self = send
47 .endif
48
49 fail_remote_domains:
50   driver = redirect
51   domains = ! +local_domains
52   data = :fail: unrouteable mail domain "$domain"
53
54 server:
55   driver = accept
56   retry_use_local_part
57   transport = local_delivery
58
59
60 # ----- Transports -----
61
62 begin transports
63
64 local_delivery:
65   driver = appendfile
66   file = DIR/test-mail/$local_part
67   headers_add = Port: $sender_host_port
68   user = CALLER
69
70 remote:
71   driver = smtp
72   port = PORT_D
73
74 # ----- Retry -----
75
76 begin retry
77
78 * * F,5d,10s
79
80 # End