Add acl_not_smtp_start ACL (mostly Johannes Berg's patch).
[exim.git] / doc / doc-txt / NewStuff
1 $Cambridge: exim/doc/doc-txt/NewStuff,v 1.104 2006/06/28 16:00:23 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 but have not yet made it into the main manual (which is most conveniently
8 updated when there is a relatively large batch of changes). The doc/ChangeLog
9 file contains a listing of all changes, including bug fixes.
10
11 Version 4.63
12 ------------
13
14 1. There is a new Boolean option called filter_prepend_home for the redirect
15    router. It defaults true, for backward compatibility. If a "save" command in
16    an Exim filter has a relative path for its argument, and $home is defined,
17    it is automatically prepended to the relative path. This action can now be
18    prevented by setting filter_prepend_home false.
19
20 2. There is a new acl, set by acl_not_smtp_start, which is run right at the
21    start of receiving a non-SMTP message, before any of the message has been
22    read. (This is the analogue of the acl_smtp_predata ACL for SMTP input.) The
23    result of this ACL is ignored; it cannot be used to reject a message. If
24    you really need to, you could set a value in an ACL variable here and reject
25    based on that in the acl_not_smtp ACL. However, this ACL can be used to set
26    controls, and in particular, it can be used to set control=suppress_local_
27    fixups, which cannot be used in the acl_not_smtp ACL because by the time
28    that ACL is run, it is too late. When the acl_not_smtp_start ACL is run, the
29    sender and recipients are known, so the "senders" and "sender_domains"
30    conditions and $sender_address and $recipients variables can be used.
31    Variables such as $authenticated_ sender are also available. It is possible
32    to specify added header lines in this ACL.
33
34
35 Version 4.62
36 ------------
37
38 1. The ${readsocket expansion item now supports Internet domain sockets as well
39    as Unix domain sockets. If the first argument begins "inet:", it must be of
40    the form "inet:host:port". The port is mandatory; it may be a number or the
41    name of a TCP port in /etc/services. The host may be a name, or it may be an
42    IP address. An ip address may optionally be enclosed in square brackets.
43    This is best for IPv6 addresses. For example:
44
45      ${readsocket{inet:[::1]:1234}{<request data>}...
46
47    Only a single host name may be given, but if looking it up yield more than
48    one IP address, they are each tried in turn until a connection is made. Once
49    a connection has been made, the behaviour is as for ${readsocket with a Unix
50    domain socket.
51
52 2. If a redirect router sets up file or pipe deliveries for more than one
53    incoming address, and the relevant transport has batch_max set greater than
54    one, a batch delivery now occurs.
55
56 3. The appendfile transport has a new option called maildirfolder_create_regex.
57    Its value is a regular expression. For a maildir delivery, this is matched
58    against the maildir directory; if it matches, Exim ensures that a
59    maildirfolder file is created alongside the new, cur, and tmp directories.
60
61
62 Version 4.61
63 ------------
64
65 The documentation is up-to-date for the 4.61 release. Major new features since
66 the 4.60 release are:
67
68 . An option called disable_ipv6, to disable the use of IPv6 completely.
69
70 . An increase in the number of ACL variables to 20 of each type.
71
72 . A change to use $auth1, $auth2, and $auth3 in authenticators instead of $1,
73   $2, $3, (though those are still set) because the numeric variables get used
74   for other things in complicated expansions.
75
76 . The default for rfc1413_query_timeout has been changed from 30s to 5s.
77
78 . It is possible to use setclassresources() on some BSD OS to control the
79   resources used in pipe deliveries.
80
81 . A new ACL modifier called add_header, which can be used with any verb.
82
83 . More errors are detectable in retry rules.
84
85 There are a number of other additions too.
86
87
88 Version 4.60
89 ------------
90
91 The documentation is up-to-date for the 4.60 release. Major new features since
92 the 4.50 release are:
93
94 . Support for SQLite.
95
96 . Support for IGNOREQUOTA in LMTP.
97
98 . Extensions to the "submission mode" features.
99
100 . Support for Client SMTP Authorization (CSA).
101
102 . Support for ratelimiting hosts and users.
103
104 . New expansion items to help with the BATV "prvs" scheme.
105
106 . A "match_ip" condition, that matches an IP address against a list.
107
108 There are many more minor changes.
109
110 ****