max_parallel transport option. Bug 1698
[users/jgh/exim.git] / test / confs / 4201
1 # Exim test configuration 4201
2 # SMTPUTF8 handling
3
4 OPTION = *
5 CONTROL =
6 INSERT =
7 SUB =
8
9 exim_path = EXIM_PATH
10 host_lookup_order = bydns
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/%slog
13 gecos_pattern = ""
14 gecos_name = CALLER_NAME
15
16 # ----- Main settings -----
17
18 domainlist local_domains = test.ex : cname
19
20 acl_smtp_rcpt = check_recipient
21 acl_not_smtp = non_smtp
22
23 trusted_users = CALLER
24 log_selector = +received_recipients +sender_on_delivery
25
26 .ifdef SERVER
27 queue_only
28 queue_run_in_order
29 .endif
30
31 smtputf8_advertise_hosts = OPTION
32
33 SUB
34
35
36 # ----- ACL -----
37
38 begin acl
39
40
41 .ifdef SERVER
42
43 check_recipient:
44   accept hosts = :
45   accept domains = +local_domains
46          local_parts = ^(xn--)?user.*\$
47   deny   message = relay not permitted
48
49 .else
50
51 sub:
52 .ifdef INSERT
53   require INSERT
54 .endif
55 .ifdef CONTROL
56   require CONTROL
57 .endif
58   accept
59
60 check_recipient:
61   accept domains = *
62          acl = sub
63
64 non_smtp:
65   accept senders = :
66          control = queue_only
67   accept
68
69 .endif
70
71 # ----- Routers -----
72
73 begin routers
74
75 .ifdef SERVER
76
77 fail_remote_domains:
78   driver = redirect
79   domains = ! +local_domains
80   data = :fail: unrouteable mail domain "$domain"
81
82 bounces:
83   driver = redirect
84   condition = ${if eq {} {$sender_address}}
85   data = DIR/test-mail/$local_part
86   file_transport = local_delivery
87
88 localuser:
89   driver = redirect
90   data = :blackhole:
91
92 .else
93
94 bounces:
95   driver = redirect
96   domains = *.local
97   data = DIR/test-mail/$local_part
98   file_transport = local_delivery
99
100 rmt:
101   driver = manualroute
102   domains = +local_domains
103   route_data = <;[127.0.0.1]:PORT_D
104   transport = rmt_smtp
105   self = send
106
107 .endif
108
109 # ----- Transports -----
110
111 begin transports
112
113 local_delivery:
114   driver = appendfile
115   user = CALLER
116   delivery_date_add
117   envelope_to_add
118   file = DIR/test-mail/$local_part
119   headers_add = "X-body-linecount: $body_linecount\n\
120                  X-message-linecount: $message_linecount\n\
121                  X-received-count: $received_count"
122   return_path_add
123
124 rmt_smtp:
125   driver = smtp
126
127 # End