Tweak the ACL variable name code to require either a digit or an
[exim.git] / doc / doc-txt / NewStuff
1 $Cambridge: exim/doc/doc-txt/NewStuff,v 1.110 2006/09/19 14:31:06 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
12 Version 4.64
13 ------------
14
15 1. ACL variables can now be given arbitrary names, as long as they start with
16    "acl_c" or "acl_m" (for connection variables and message variables), are
17    at least six characters long, with the sixth character being either a digit
18    or an underscore. The rest of the name can contain alphanumeric characters
19    and underscores. This is a compatible change because the old set of
20    variables such as acl_m12 are a subset of the allowed names. There may now
21    be any number of ACL variables. For example:
22
23      set acl_c13   = value for original ACL variable
24      set acl_c13b  = whatever
25      set acl_m_foo = something
26
27    What happens if a syntactically valid but undefined ACL variable is
28    referenced depends on the setting of the strict_acl_vars option. If it is
29    false (the default), an empty string is substituted; if it is true, an error
30    is generated. This affects all ACL variables, including the "old" ones such
31    as acl_c4. (Previously there wasn't the concept of an undefined ACL
32    variable.)
33
34    The implementation has been done in such a way that spool files containing
35    ACL variable settings written by previous releases of Exim are compatible
36    and can be read by the new release. If only the original numeric names are
37    used, spool files written by the new release can be read by earlier
38    releases.
39
40
41 Version 4.63
42 ------------
43
44 1. There is a new Boolean option called filter_prepend_home for the redirect
45    router.
46
47 2. There is a new acl, set by acl_not_smtp_start, which is run right at the
48    start of receiving a non-SMTP message, before any of the message has been
49    read.
50
51 3. When an SMTP error message is specified in a "message" modifier in an ACL,
52    or in a :fail: or :defer: message in a redirect router, Exim now checks the
53    start of the message for an SMTP error code.
54
55 4. There is a new parameter for LDAP lookups called "referrals", which takes
56    one of the settings "follow" (the default) or "nofollow".
57
58 5. Version 20070721.2 of exipick now included, offering these new options:
59     --reverse
60         After all other sorting options have bee processed, reverse order
61         before displaying messages (-R is synonym).
62     --random
63         Randomize order of matching messages before displaying.
64     --size
65         Instead of displaying the matching messages, display the sum
66         of their sizes.
67     --sort <variable>[,<variable>...]
68         Before displaying matching messages, sort the messages according to
69         each messages value for each variable.
70     --not
71         Negate the value for every test (returns inverse output from the
72         same criteria without --not).
73
74
75 Version 4.62
76 ------------
77
78 1. The ${readsocket expansion item now supports Internet domain sockets as well
79    as Unix domain sockets. If the first argument begins "inet:", it must be of
80    the form "inet:host:port". The port is mandatory; it may be a number or the
81    name of a TCP port in /etc/services. The host may be a name, or it may be an
82    IP address. An ip address may optionally be enclosed in square brackets.
83    This is best for IPv6 addresses. For example:
84
85      ${readsocket{inet:[::1]:1234}{<request data>}...
86
87    Only a single host name may be given, but if looking it up yield more than
88    one IP address, they are each tried in turn until a connection is made. Once
89    a connection has been made, the behaviour is as for ${readsocket with a Unix
90    domain socket.
91
92 2. If a redirect router sets up file or pipe deliveries for more than one
93    incoming address, and the relevant transport has batch_max set greater than
94    one, a batch delivery now occurs.
95
96 3. The appendfile transport has a new option called maildirfolder_create_regex.
97    Its value is a regular expression. For a maildir delivery, this is matched
98    against the maildir directory; if it matches, Exim ensures that a
99    maildirfolder file is created alongside the new, cur, and tmp directories.
100
101
102 Version 4.61
103 ------------
104
105 The documentation is up-to-date for the 4.61 release. Major new features since
106 the 4.60 release are:
107
108 . An option called disable_ipv6, to disable the use of IPv6 completely.
109
110 . An increase in the number of ACL variables to 20 of each type.
111
112 . A change to use $auth1, $auth2, and $auth3 in authenticators instead of $1,
113   $2, $3, (though those are still set) because the numeric variables get used
114   for other things in complicated expansions.
115
116 . The default for rfc1413_query_timeout has been changed from 30s to 5s.
117
118 . It is possible to use setclassresources() on some BSD OS to control the
119   resources used in pipe deliveries.
120
121 . A new ACL modifier called add_header, which can be used with any verb.
122
123 . More errors are detectable in retry rules.
124
125 There are a number of other additions too.
126
127
128 Version 4.60
129 ------------
130
131 The documentation is up-to-date for the 4.60 release. Major new features since
132 the 4.50 release are:
133
134 . Support for SQLite.
135
136 . Support for IGNOREQUOTA in LMTP.
137
138 . Extensions to the "submission mode" features.
139
140 . Support for Client SMTP Authorization (CSA).
141
142 . Support for ratelimiting hosts and users.
143
144 . New expansion items to help with the BATV "prvs" scheme.
145
146 . A "match_ip" condition, that matches an IP address against a list.
147
148 There are many more minor changes.
149
150 ****