1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent d98fade4115f99c28d62e112e3f2e9e068a12642 |
2 # Parent 3feef89a1d78d3e67eef48fb1c3bd9949e919166 |
3 |
3 |
4 diff -r d98fade4115f doc/spec.txt |
4 diff -r 3feef89a1d78 doc/spec.txt |
5 --- a/doc/spec.txt Fri Feb 11 23:27:39 2011 +0100 |
5 --- a/doc/spec.txt Sat Feb 12 14:34:41 2011 +0100 |
6 +++ b/doc/spec.txt Sat Feb 12 14:24:32 2011 +0100 |
6 +++ b/doc/spec.txt Sat Feb 12 14:44:47 2011 +0100 |
7 @@ -18180,10 +18180,11 @@ |
7 @@ -18179,11 +18179,12 @@ |
|
8 This option applies only to deliveries in maildir format, and is described in |
8 section 26.5 below. |
9 section 26.5 below. |
9 |
10 |
10 +------------------------------------------------------------------+ |
11 -+------------------------------------------------------------------+ |
11 -|maildir_use_size_file|Use: appendfile|Type: boolean|Default: false| |
12 -|maildir_use_size_file|Use: appendfile|Type: boolean|Default: false| |
|
13 -+------------------------------------------------------------------+ |
|
14 - |
|
15 -Setting this option true enables support for maildirsize files. Exim creates a |
|
16 ++-------------------------------------------------------------------+ |
12 +|maildir_use_size_file|Use: appendfile|Type: boolean*|Default: false| |
17 +|maildir_use_size_file|Use: appendfile|Type: boolean*|Default: false| |
13 +------------------------------------------------------------------+ |
18 ++-------------------------------------------------------------------+ |
14 |
19 + |
15 -Setting this option true enables support for maildirsize files. Exim creates a |
|
16 +The result of string expansion for this option must be a valid boolean value. |
20 +The result of string expansion for this option must be a valid boolean value. |
17 +If it is true, it enables support for maildirsize files. Exim creates a |
21 +If it is true, it enables support for maildirsize files. Exim creates a |
18 maildirsize file in a maildir if one does not exist, taking the quota from the |
22 maildirsize file in a maildir if one does not exist, taking the quota from the |
19 quota option of the transport. If quota is unset, the value is zero. See |
23 quota option of the transport. If quota is unset, the value is zero. See |
20 maildir_quota_directory_regex above and section 26.5 below for further details. |
24 maildir_quota_directory_regex above and section 26.5 below for further details. |
21 diff -r d98fade4115f src/transports/appendfile.c |
25 diff -r 3feef89a1d78 src/transports/appendfile.c |
22 --- a/src/transports/appendfile.c Fri Feb 11 23:27:39 2011 +0100 |
26 --- a/src/transports/appendfile.c Sat Feb 12 14:34:41 2011 +0100 |
23 +++ b/src/transports/appendfile.c Sat Feb 12 14:24:32 2011 +0100 |
27 +++ b/src/transports/appendfile.c Sat Feb 12 14:44:47 2011 +0100 |
24 @@ -38,6 +38,10 @@ |
28 @@ -38,6 +38,10 @@ |
25 opt_public flag. */ |
29 opt_public flag. */ |
26 |
30 |
27 optionlist appendfile_transport_options[] = { |
31 optionlist appendfile_transport_options[] = { |
28 +#ifdef SUPPORT_MAILDIR |
32 +#ifdef SUPPORT_MAILDIR |
58 + US"`maildir_use_size_file` in transport", tblock->name); |
62 + US"`maildir_use_size_file` in transport", tblock->name); |
59 + |
63 + |
60 /* Loop for quota, quota_filecount, quota_warn_threshold, mailbox_size, |
64 /* Loop for quota, quota_filecount, quota_warn_threshold, mailbox_size, |
61 mailbox_filecount */ |
65 mailbox_filecount */ |
62 |
66 |
63 diff -r d98fade4115f src/transports/appendfile.h |
67 diff -r 3feef89a1d78 src/transports/appendfile.h |
64 --- a/src/transports/appendfile.h Fri Feb 11 23:27:39 2011 +0100 |
68 --- a/src/transports/appendfile.h Sat Feb 12 14:34:41 2011 +0100 |
65 +++ b/src/transports/appendfile.h Sat Feb 12 14:24:32 2011 +0100 |
69 +++ b/src/transports/appendfile.h Sat Feb 12 14:44:47 2011 +0100 |
66 @@ -23,6 +23,7 @@ |
70 @@ -23,6 +23,7 @@ |
67 uschar *quota_warn_threshold; |
71 uschar *quota_warn_threshold; |
68 uschar *mailbox_size_string; |
72 uschar *mailbox_size_string; |
69 uschar *mailbox_filecount_string; |
73 uschar *mailbox_filecount_string; |
70 + uschar *expand_maildir_use_size_file; |
74 + uschar *expand_maildir_use_size_file; |