a24a21226a6d91c638c524913238983ba1e7ae7c
[exim.git] / doc / doc-txt / NewStuff
1 $Cambridge: exim/doc/doc-txt/NewStuff,v 1.126 2007/01/15 15:59:22 ph10 Exp $
2
3 New Features in Exim
4 --------------------
5
6 This file contains descriptions of new features that have been added to Exim.
7 Before a formal release, there may be quite a lot of detail so that people can
8 test from the snapshots or the CVS before the documentation is updated. Once
9 the documentation is updated, this file is reduced to a short list.
10
11 Version 4.67
12 ------------
13
14 1. There is a new log selector called smtp_no_mail, which is not included in
15 the default setting. When it is set, a line is written to the main log
16 whenever an accepted SMTP connection terminates without having issued a
17 MAIL command. This includes both the case when the connection is dropped,
18 and the case when QUIT is used. Note that it does not include cases where
19 the connection is rejected right at the start (by an ACL, or because there
20 are too many connections, or whatever). These cases already have their own
21 log lines.
22
23 The log line that is written contains the identity of the client in the
24 usual way, followed by D= and a time, which records the duration of the
25 connection. If the connection was authenticated, this fact is logged
26 exactly as it is for an incoming message, with an A= item. If the
27 connection was encrypted, CV=, DN=, and X= items may appear as they do for
28 an incoming message, controlled by the same logging options.
29
30 Finally, if any SMTP commands were issued during the connection, a C= item
31 is added to the line, listing the commands that were used. For example,
32
33 C=EHLO,QUIT
34
35 shows that the client issued QUIT straight after EHLO. If there were fewer
36 than 20 commands, they are all listed. If there were more than 20 commands,
37 the last 20 are listed, preceded by "...". However, with the default
38 setting of 10 for smtp_accep_max_nonmail, the connection will in any case
39 be aborted before 20 non-mail commands are processed.
40
41
42 Version 4.66
43 ------------
44
45 No new features were added to 4.66.
46
47
48 Version 4.65
49 ------------
50
51 No new features were added to 4.65.
52
53
54 Version 4.64
55 ------------
56
57 1. ACL variables can now be given arbitrary names, as long as they start with
58 "acl_c" or "acl_m" (for connection variables and message variables), are at
59 least six characters long, with the sixth character being either a digit or
60 an underscore.
61
62 2. There is a new ACL modifier called log_reject_target. It makes it possible
63 to specify which logs are used for messages about ACL rejections.
64
65 3. There is a new authenticator called "dovecot". This is an interface to the
66 authentication facility of the Dovecot POP/IMAP server, which can support a
67 number of authentication methods.
68
69 4. The variable $message_headers_raw provides a concatenation of all the
70 messages's headers without any decoding. This is in contrast to
71 $message_headers, which does RFC2047 decoding on the header contents.
72
73 5. In a DNS black list, if two domain names, comma-separated, are given, the
74 second is used first to do an initial check, making use of any IP value
75 restrictions that are set. If there is a match, the first domain is used,
76 without any IP value restrictions, to get the TXT record.
77
78 6. All authenticators now have a server_condition option.
79
80 7. There is a new command-line option called -Mset. It is useful only in
81 conjunction with -be (that is, when testing string expansions). It must be
82 followed by a message id; Exim loads the given message from its spool
83 before doing the expansions.
84
85 8. Another similar new command-line option is called -bem. It operates like
86 -be except that it must be followed by the name of a file that contains a
87 message.
88
89 9. When an address is delayed because of a 4xx response to a RCPT command, it
90 is now the combination of sender and recipient that is delayed in
91 subsequent queue runs until its retry time is reached.
92
93 10. Unary negation and the bitwise logical operators and, or, xor, not, and
94 shift, have been added to the eval: and eval10: expansion items.
95
96 11. The variables $interface_address and $interface_port have been renamed
97 as $received_ip_address and $received_port, to make it clear that they
98 relate to message reception rather than delivery. (The old names remain
99 available for compatibility.)
100
101 12. The "message" modifier can now be used on "accept" and "discard" acl verbs
102 to vary the message that is sent when an SMTP command is accepted.
103
104
105 Version 4.63
106 ------------
107
108 1. There is a new Boolean option called filter_prepend_home for the redirect
109 router.
110
111 2. There is a new acl, set by acl_not_smtp_start, which is run right at the
112 start of receiving a non-SMTP message, before any of the message has been
113 read.
114
115 3. When an SMTP error message is specified in a "message" modifier in an ACL,
116 or in a :fail: or :defer: message in a redirect router, Exim now checks the
117 start of the message for an SMTP error code.
118
119 4. There is a new parameter for LDAP lookups called "referrals", which takes
120 one of the settings "follow" (the default) or "nofollow".
121
122 5. Version 20070721.2 of exipick now included, offering these new options:
123 --reverse
124 After all other sorting options have bee processed, reverse order
125 before displaying messages (-R is synonym).
126 --random
127 Randomize order of matching messages before displaying.
128 --size
129 Instead of displaying the matching messages, display the sum
130 of their sizes.
131 --sort <variable>[,<variable>...]
132 Before displaying matching messages, sort the messages according to
133 each messages value for each variable.
134 --not
135 Negate the value for every test (returns inverse output from the
136 same criteria without --not).
137
138
139 Version 4.62
140 ------------
141
142 1. The ${readsocket expansion item now supports Internet domain sockets as well
143 as Unix domain sockets. If the first argument begins "inet:", it must be of
144 the form "inet:host:port". The port is mandatory; it may be a number or the
145 name of a TCP port in /etc/services. The host may be a name, or it may be an
146 IP address. An ip address may optionally be enclosed in square brackets.
147 This is best for IPv6 addresses. For example:
148
149 ${readsocket{inet:[::1]:1234}{<request data>}...
150
151 Only a single host name may be given, but if looking it up yield more than
152 one IP address, they are each tried in turn until a connection is made. Once
153 a connection has been made, the behaviour is as for ${readsocket with a Unix
154 domain socket.
155
156 2. If a redirect router sets up file or pipe deliveries for more than one
157 incoming address, and the relevant transport has batch_max set greater than
158 one, a batch delivery now occurs.
159
160 3. The appendfile transport has a new option called maildirfolder_create_regex.
161 Its value is a regular expression. For a maildir delivery, this is matched
162 against the maildir directory; if it matches, Exim ensures that a
163 maildirfolder file is created alongside the new, cur, and tmp directories.
164
165
166 Version 4.61
167 ------------
168
169 The documentation is up-to-date for the 4.61 release. Major new features since
170 the 4.60 release are:
171
172 . An option called disable_ipv6, to disable the use of IPv6 completely.
173
174 . An increase in the number of ACL variables to 20 of each type.
175
176 . A change to use $auth1, $auth2, and $auth3 in authenticators instead of $1,
177 $2, $3, (though those are still set) because the numeric variables get used
178 for other things in complicated expansions.
179
180 . The default for rfc1413_query_timeout has been changed from 30s to 5s.
181
182 . It is possible to use setclassresources() on some BSD OS to control the
183 resources used in pipe deliveries.
184
185 . A new ACL modifier called add_header, which can be used with any verb.
186
187 . More errors are detectable in retry rules.
188
189 There are a number of other additions too.
190
191
192 Version 4.60
193 ------------
194
195 The documentation is up-to-date for the 4.60 release. Major new features since
196 the 4.50 release are:
197
198 . Support for SQLite.
199
200 . Support for IGNOREQUOTA in LMTP.
201
202 . Extensions to the "submission mode" features.
203
204 . Support for Client SMTP Authorization (CSA).
205
206 . Support for ratelimiting hosts and users.
207
208 . New expansion items to help with the BATV "prvs" scheme.
209
210 . A "match_ip" condition, that matches an IP address against a list.
211
212 There are many more minor changes.
213
214 ****