Callout: wait for response to QUIT before closing
[exim.git] / test / confs / 0341
1 # Exim test configuration 0341
2
3 SERVER =
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12 queue_only
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 # Use an expansion for errors_to to force different copies of the string
20
21 local:
22   driver = accept
23   domains = test.ex
24   transport = local_delivery
25   errors_to = postmaster@$domain
26
27 remote:
28   driver = accept
29   condition = ${if eq {SERVER}{server}{no}{yes}}
30   transport = send_to_server
31   errors_to = mailmaster@$domain
32
33
34 # ----- Transports -----
35
36 begin transports
37
38 local_delivery:
39   driver = appendfile
40   file = DIR/test-mail/mailbox
41   user = CALLER
42   batch_max = 10
43   envelope_to_add
44
45 send_to_server:
46   driver = smtp
47   allow_localhost
48   hosts = 127.0.0.1
49   port = PORT_D
50
51
52 # End