Tighter guard for POLLRDHUP
[exim.git] / test / confs / 0603
1 # Exim test configuration 0603
2 # Add several messages going to the same location
3 # And change smtp output based on senders domain
4
5 hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff
6 untrusted_set_sender = *
7
8 SERVER =
9
10 exim_path = EXIM_PATH
11 host_lookup_order = bydns
12 #primary_hostname = myhost.test.ex
13 rfc1413_query_timeout = 0s
14 spool_directory = DIR/spool
15 log_file_path = DIR/spool/log/SERVER%slog
16 log_selector = +sender_on_delivery
17 gecos_pattern = ""
18 gecos_name = CALLER_NAME
19
20 # ----- Main settings -----
21
22 acl_smtp_rcpt = accept
23
24 queue_only
25 queue_run_in_order
26
27 # ----- Routers -----
28
29 begin routers
30
31 client:
32   driver = accept
33   condition = ${if eq {SERVER}{server}{no}{yes}}
34   transport = send_to_server
35
36 server:
37   driver = accept
38   transport = send_to_server
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 send_to_server:
46   driver = smtp
47   connection_max_messages = 0
48   allow_localhost
49   hosts = 127.0.0.1
50   port = PORT_D
51   interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{127.0.0.2}}
52
53 # ----- Retry -----
54
55 begin retry
56
57 * * F,5d,10s
58
59 # End
60