Add comment about {} now being an error in numerical expansion
[exim.git] / doc / doc-txt / NewStuff
CommitLineData
6ea85e9a 1$Cambridge: exim/doc/doc-txt/NewStuff,v 1.111 2006/09/25 10:14:20 ph10 Exp $
495ae4b0
PH
2
3New Features in Exim
4--------------------
5
38a0a95f
PH
6This file contains descriptions of new features that have been added to Exim.
7Before a formal release, there may be quite a lot of detail so that people can
8test from the snapshots or the CVS before the documentation is updated. Once
9the documentation is updated, this file is reduced to a short list.
10
11
12Version 4.64
13------------
14
151. ACL variables can now be given arbitrary names, as long as they start with
641cb756
PH
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
38a0a95f
PH
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
641cb756
PH
23 set acl_c13 = value for original ACL variable
24 set acl_c13b = whatever
25 set acl_m_foo = something
38a0a95f 26
641cb756
PH
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.)
38a0a95f
PH
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
6ea85e9a
PH
402. There is a new ACL modifier called log_reject_target. It makes it possible
41 to specify which logs are used for messages about ACL rejections. Its
42 argument is a list of words which can be "main", "reject", or "panic". The
43 default is "main:reject". The list may be empty, in which case a rejection
44 is not logged at all. For example, this ACL fragment writes no logging
45 information when access is denied:
46
47 deny <some conditions>
48 log_reject_target =
49
50 The modifier can be used in SMTP and non-SMTP ACLs. It applies to both
51 permanent and temporary rejections.
52
495ae4b0 53
4608d683
PH
54Version 4.63
55------------
56
571. There is a new Boolean option called filter_prepend_home for the redirect
38a0a95f 58 router.
4608d683 59
45b91596
PH
602. There is a new acl, set by acl_not_smtp_start, which is run right at the
61 start of receiving a non-SMTP message, before any of the message has been
38a0a95f 62 read.
45b91596 63
a5bd321b
PH
643. When an SMTP error message is specified in a "message" modifier in an ACL,
65 or in a :fail: or :defer: message in a redirect router, Exim now checks the
38a0a95f 66 start of the message for an SMTP error code.
a5bd321b 67
6ec97b1b 684. There is a new parameter for LDAP lookups called "referrals", which takes
38a0a95f 69 one of the settings "follow" (the default) or "nofollow".
6ec97b1b 70
e22ca4ac
JJ
715. Version 20070721.2 of exipick now included, offering these new options:
72 --reverse
73 After all other sorting options have bee processed, reverse order
74 before displaying messages (-R is synonym).
75 --random
76 Randomize order of matching messages before displaying.
77 --size
78 Instead of displaying the matching messages, display the sum
79 of their sizes.
80 --sort <variable>[,<variable>...]
81 Before displaying matching messages, sort the messages according to
82 each messages value for each variable.
83 --not
84 Negate the value for every test (returns inverse output from the
85 same criteria without --not).
86
4608d683 87
1cce3af8
PH
88Version 4.62
89------------
90
911. The ${readsocket expansion item now supports Internet domain sockets as well
92 as Unix domain sockets. If the first argument begins "inet:", it must be of
93 the form "inet:host:port". The port is mandatory; it may be a number or the
94 name of a TCP port in /etc/services. The host may be a name, or it may be an
95 IP address. An ip address may optionally be enclosed in square brackets.
96 This is best for IPv6 addresses. For example:
97
98 ${readsocket{inet:[::1]:1234}{<request data>}...
99
100 Only a single host name may be given, but if looking it up yield more than
101 one IP address, they are each tried in turn until a connection is made. Once
102 a connection has been made, the behaviour is as for ${readsocket with a Unix
103 domain socket.
104
f7fd3850
PH
1052. If a redirect router sets up file or pipe deliveries for more than one
106 incoming address, and the relevant transport has batch_max set greater than
107 one, a batch delivery now occurs.
108
d6629cdc
PH
1093. The appendfile transport has a new option called maildirfolder_create_regex.
110 Its value is a regular expression. For a maildir delivery, this is matched
111 against the maildir directory; if it matches, Exim ensures that a
112 maildirfolder file is created alongside the new, cur, and tmp directories.
113
1cce3af8 114
7e66e54d
PH
115Version 4.61
116------------
117
4f578862
PH
118The documentation is up-to-date for the 4.61 release. Major new features since
119the 4.60 release are:
120
121. An option called disable_ipv6, to disable the use of IPv6 completely.
122
123. An increase in the number of ACL variables to 20 of each type.
124
125. A change to use $auth1, $auth2, and $auth3 in authenticators instead of $1,
126 $2, $3, (though those are still set) because the numeric variables get used
127 for other things in complicated expansions.
128
843a41e8 129. The default for rfc1413_query_timeout has been changed from 30s to 5s.
4f578862
PH
130
131. It is possible to use setclassresources() on some BSD OS to control the
132 resources used in pipe deliveries.
133
134. A new ACL modifier called add_header, which can be used with any verb.
135
136. More errors are detectable in retry rules.
137
138There are a number of other additions too.
71fafd95 139
7e66e54d 140
425ae40f 141Version 4.60
b5aea5e1
PH
142------------
143
425ae40f
PH
144The documentation is up-to-date for the 4.60 release. Major new features since
145the 4.50 release are:
1a46a8c5 146
425ae40f 147. Support for SQLite.
1a46a8c5 148
425ae40f 149. Support for IGNOREQUOTA in LMTP.
1a46a8c5 150
425ae40f 151. Extensions to the "submission mode" features.
1a46a8c5 152
425ae40f 153. Support for Client SMTP Authorization (CSA).
1a46a8c5 154
425ae40f 155. Support for ratelimiting hosts and users.
b5aea5e1 156
425ae40f 157. New expansion items to help with the BATV "prvs" scheme.
b5aea5e1 158
425ae40f 159. A "match_ip" condition, that matches an IP address against a list.
35edf2ff 160
425ae40f 161There are many more minor changes.
495ae4b0
PH
162
163****