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