summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-04-14 22:21:05 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-04-14 22:23:05 +0100
commit5cd1d1356732d96d49a1f7c682d1b8a33b2576f9 (patch)
tree765e3ce4b5bbfe789285602673b3f9ee7e04b3d0
parent3f06b9b4c7244b169d50bce216c1f54b4dfe7efb (diff)
taint: allow appendfile create_file option to specify a de-tainting safe path
-rw-r--r--doc/doc-docbook/spec.xfpt39
-rw-r--r--src/src/transports/appendfile.c198
-rw-r--r--test/confs/00012
-rw-r--r--test/confs/00063
-rw-r--r--test/confs/00083
-rw-r--r--test/confs/00093
-rw-r--r--test/confs/00103
-rw-r--r--test/confs/00113
-rw-r--r--test/confs/00123
-rw-r--r--test/confs/00143
-rw-r--r--test/confs/00158
-rw-r--r--test/confs/00165
-rw-r--r--test/confs/00213
-rw-r--r--test/confs/00223
-rw-r--r--test/confs/00233
-rw-r--r--test/confs/00243
-rw-r--r--test/confs/00253
-rw-r--r--test/confs/00263
-rw-r--r--test/confs/00273
-rw-r--r--test/confs/00283
-rw-r--r--test/confs/00313
-rw-r--r--test/confs/00323
-rw-r--r--test/confs/00363
-rw-r--r--test/confs/00373
-rw-r--r--test/confs/00403
-rw-r--r--test/confs/00413
-rw-r--r--test/confs/00423
-rw-r--r--test/confs/00433
-rw-r--r--test/confs/00443
-rw-r--r--test/confs/00463
-rw-r--r--test/confs/00483
-rw-r--r--test/confs/00493
-rw-r--r--test/confs/00503
-rw-r--r--test/confs/00513
-rw-r--r--test/confs/00523
-rw-r--r--test/confs/00533
-rw-r--r--test/confs/00553
-rw-r--r--test/confs/00723
-rw-r--r--test/confs/00733
-rw-r--r--test/confs/00743
-rw-r--r--test/confs/00753
-rw-r--r--test/confs/00763
-rw-r--r--test/confs/00793
-rw-r--r--test/confs/00803
-rw-r--r--test/confs/00813
-rw-r--r--test/confs/00823
-rw-r--r--test/confs/00833
-rw-r--r--test/confs/00903
-rw-r--r--test/confs/00943
-rw-r--r--test/confs/00959
-rw-r--r--test/confs/00963
-rw-r--r--test/confs/00973
-rw-r--r--test/confs/00983
-rw-r--r--test/confs/010018
-rw-r--r--test/confs/01029
-rw-r--r--test/confs/01033
-rw-r--r--test/confs/01043
-rw-r--r--test/confs/01053
-rw-r--r--test/confs/01074
-rw-r--r--test/confs/01103
-rw-r--r--test/confs/01113
-rw-r--r--test/confs/01133
-rw-r--r--test/confs/01163
-rw-r--r--test/confs/01183
-rw-r--r--test/confs/01213
-rw-r--r--test/confs/01273
-rw-r--r--test/confs/01283
-rw-r--r--test/confs/01313
-rw-r--r--test/confs/01333
-rw-r--r--test/confs/01353
-rw-r--r--test/confs/01363
-rw-r--r--test/confs/01379
-rw-r--r--test/confs/01383
-rw-r--r--test/confs/01393
-rw-r--r--test/confs/01403
-rw-r--r--test/confs/01426
-rw-r--r--test/confs/01493
-rw-r--r--test/confs/01503
-rw-r--r--test/confs/01513
-rw-r--r--test/confs/01523
-rw-r--r--test/confs/01563
-rw-r--r--test/confs/01583
-rw-r--r--test/confs/01593
-rw-r--r--test/confs/01643
-rw-r--r--test/confs/01653
-rw-r--r--test/confs/01663
-rw-r--r--test/confs/01673
-rw-r--r--test/confs/01693
-rw-r--r--test/confs/01713
-rw-r--r--test/confs/01723
-rw-r--r--test/confs/01733
-rw-r--r--test/confs/01743
-rw-r--r--test/confs/01753
-rw-r--r--test/confs/01763
-rw-r--r--test/confs/01773
-rw-r--r--test/confs/01783
-rw-r--r--test/confs/01823
-rw-r--r--test/confs/01853
-rw-r--r--test/confs/01893
-rw-r--r--test/confs/01923
-rw-r--r--test/confs/01933
-rw-r--r--test/confs/01943
-rw-r--r--test/confs/01953
-rw-r--r--test/confs/01963
-rw-r--r--test/confs/02023
-rw-r--r--test/confs/02043
-rw-r--r--test/confs/02053
-rw-r--r--test/confs/02103
-rw-r--r--test/confs/02113
-rw-r--r--test/confs/02123
-rw-r--r--test/confs/02203
-rw-r--r--test/confs/02213
-rw-r--r--test/confs/02223
-rw-r--r--test/confs/02233
-rw-r--r--test/confs/02243
-rw-r--r--test/confs/02253
-rw-r--r--test/confs/02263
-rw-r--r--test/confs/02303
-rw-r--r--test/confs/02316
-rw-r--r--test/confs/02323
-rw-r--r--test/confs/02333
-rw-r--r--test/confs/02373
-rw-r--r--test/confs/02403
-rw-r--r--test/confs/02413
-rw-r--r--test/confs/02433
-rw-r--r--test/confs/02463
-rw-r--r--test/confs/02533
-rw-r--r--test/confs/02563
-rw-r--r--test/confs/02583
-rw-r--r--test/confs/02606
-rw-r--r--test/confs/02646
-rw-r--r--test/confs/02663
-rw-r--r--test/confs/02673
-rw-r--r--test/confs/02703
-rw-r--r--test/confs/02713
-rw-r--r--test/confs/02743
-rw-r--r--test/confs/02803
-rw-r--r--test/confs/02813
-rw-r--r--test/confs/02823
-rw-r--r--test/confs/02836
-rw-r--r--test/confs/02846
-rw-r--r--test/confs/02893
-rw-r--r--test/confs/02963
-rw-r--r--test/confs/02983
-rw-r--r--test/confs/02993
-rw-r--r--test/confs/03063
-rw-r--r--test/confs/03073
-rw-r--r--test/confs/03096
-rw-r--r--test/confs/03106
-rw-r--r--test/confs/03186
-rw-r--r--test/confs/03193
-rw-r--r--test/confs/03213
-rw-r--r--test/confs/03243
-rw-r--r--test/confs/03263
-rw-r--r--test/confs/03276
-rw-r--r--test/confs/03283
-rw-r--r--test/confs/03293
-rw-r--r--test/confs/03303
-rw-r--r--test/confs/03353
-rw-r--r--test/confs/03383
-rw-r--r--test/confs/03453
-rw-r--r--test/confs/03463
-rw-r--r--test/confs/03513
-rw-r--r--test/confs/03523
-rw-r--r--test/confs/03533
-rw-r--r--test/confs/03543
-rw-r--r--test/confs/03553
-rw-r--r--test/confs/03593
-rw-r--r--test/confs/03623
-rw-r--r--test/confs/03746
-rw-r--r--test/confs/03756
-rw-r--r--test/confs/03773
-rw-r--r--test/confs/03793
-rw-r--r--test/confs/03803
-rw-r--r--test/confs/03833
-rw-r--r--test/confs/03853
-rw-r--r--test/confs/03863
-rw-r--r--test/confs/03933
-rw-r--r--test/confs/03953
-rw-r--r--test/confs/03983
-rw-r--r--test/confs/04043
-rw-r--r--test/confs/04083
-rw-r--r--test/confs/04123
-rw-r--r--test/confs/04213
-rw-r--r--test/confs/04286
-rw-r--r--test/confs/04313
-rw-r--r--test/confs/04363
-rw-r--r--test/confs/04443
-rw-r--r--test/confs/04463
-rw-r--r--test/confs/04493
-rw-r--r--test/confs/04523
-rw-r--r--test/confs/04563
-rw-r--r--test/confs/04603
-rw-r--r--test/confs/04613
-rw-r--r--test/confs/04723
-rw-r--r--test/confs/04803
-rw-r--r--test/confs/04813
-rw-r--r--test/confs/04853
-rw-r--r--test/confs/04873
-rw-r--r--test/confs/04913
-rw-r--r--test/confs/04933
-rw-r--r--test/confs/04943
-rw-r--r--test/confs/04953
-rw-r--r--test/confs/04963
-rw-r--r--test/confs/05003
-rw-r--r--test/confs/05033
-rw-r--r--test/confs/05043
-rw-r--r--test/confs/05083
-rw-r--r--test/confs/05143
-rw-r--r--test/confs/05173
-rw-r--r--test/confs/05223
-rw-r--r--test/confs/05233
-rw-r--r--test/confs/05303
-rw-r--r--test/confs/05313
-rw-r--r--test/confs/05323
-rw-r--r--test/confs/05333
-rw-r--r--test/confs/05353
-rw-r--r--test/confs/05363
-rw-r--r--test/confs/05513
-rw-r--r--test/confs/05663
-rw-r--r--test/confs/05673
-rw-r--r--test/confs/05713
-rw-r--r--test/confs/05733
-rw-r--r--test/confs/059313
-rw-r--r--test/confs/06003
-rw-r--r--test/confs/06063
-rw-r--r--test/confs/06093
-rw-r--r--test/confs/06123
-rw-r--r--test/confs/09003
-rw-r--r--test/confs/09013
-rw-r--r--test/confs/09063
-rw-r--r--test/confs/10013
-rw-r--r--test/confs/10023
-rw-r--r--test/confs/10033
-rw-r--r--test/confs/11033
-rw-r--r--test/confs/11043
-rw-r--r--test/confs/11053
-rw-r--r--test/confs/11105
-rw-r--r--test/confs/11503
-rw-r--r--test/confs/11523
-rw-r--r--test/confs/11573
-rw-r--r--test/confs/11593
-rw-r--r--test/confs/11603
-rw-r--r--test/confs/11633
-rw-r--r--test/confs/20023
-rw-r--r--test/confs/20143
-rw-r--r--test/confs/20273
-rw-r--r--test/confs/20323
-rw-r--r--test/confs/21023
-rw-r--r--test/confs/21143
-rw-r--r--test/confs/21273
-rw-r--r--test/confs/21323
-rw-r--r--test/confs/21493
-rw-r--r--test/confs/22013
-rw-r--r--test/confs/32063
-rw-r--r--test/confs/32073
-rw-r--r--test/confs/34003
-rw-r--r--test/confs/34033
-rw-r--r--test/confs/34083
-rw-r--r--test/confs/34113
-rw-r--r--test/confs/34513
-rw-r--r--test/confs/34523
-rw-r--r--test/confs/34613
-rw-r--r--test/confs/34623
-rw-r--r--test/confs/35003
-rw-r--r--test/confs/37003
-rw-r--r--test/confs/37203
-rw-r--r--test/confs/40003
-rw-r--r--test/confs/40023
-rw-r--r--test/confs/42013
-rw-r--r--test/confs/42113
-rw-r--r--test/confs/42213
-rw-r--r--test/confs/45203
-rw-r--r--test/confs/45253
-rw-r--r--test/confs/45603
-rw-r--r--test/confs/45653
-rw-r--r--test/confs/46203
-rw-r--r--test/confs/47003
-rw-r--r--test/confs/50036
-rw-r--r--test/confs/50053
-rw-r--r--test/confs/50063
-rw-r--r--test/confs/50073
-rw-r--r--test/confs/50083
-rw-r--r--test/confs/50509
-rw-r--r--test/confs/51013
-rw-r--r--test/confs/52003
-rw-r--r--test/confs/52013
-rw-r--r--test/confs/52033
-rw-r--r--test/confs/52043
-rw-r--r--test/confs/52073
-rw-r--r--test/confs/55003
-rw-r--r--test/confs/56003
-rw-r--r--test/confs/56103
-rw-r--r--test/confs/56113
-rw-r--r--test/confs/56503
-rw-r--r--test/confs/56513
-rw-r--r--test/confs/56653
-rw-r--r--test/confs/56703
-rw-r--r--test/confs/57303
-rw-r--r--test/confs/57403
-rw-r--r--test/confs/59023
-rw-r--r--test/confs/90013
-rw-r--r--test/confs/94003
-rw-r--r--test/confs/94013
-rw-r--r--test/log/03182
-rw-r--r--test/log/05937
-rw-r--r--test/mail/0318.subdir/userx (renamed from test/mail/0318.userx)0
-rw-r--r--test/msglog/0584.10HmaX-0005vi-002
-rw-r--r--test/msglog/0593.10HmaX-0005vi-002
-rw-r--r--test/paniclog/05932
-rwxr-xr-xtest/runtest2
-rw-r--r--test/scripts/0000-Basic/059314
-rw-r--r--test/stderr/002310
-rw-r--r--test/stderr/00264
-rw-r--r--test/stderr/00426
-rw-r--r--test/stderr/01691
-rw-r--r--test/stderr/038626
-rw-r--r--test/stderr/03933
-rw-r--r--test/stderr/04041
-rw-r--r--test/stderr/04081
-rw-r--r--test/stderr/04873
-rw-r--r--test/stderr/05932
-rw-r--r--test/stderr/50054
-rw-r--r--test/stderr/50061
-rw-r--r--test/stderr/50082
-rw-r--r--test/stderr/52042
-rw-r--r--test/stdout/05936
327 files changed, 866 insertions, 480 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 5c42afc93..437b13df0 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -22998,6 +22998,11 @@ If &%file%& or &%directory%& is set for a delivery from a redirection, it is
used to determine the file or directory name for the delivery. Normally, the
contents of &$address_file$& are used in some way in the string expansion.
.endlist
+If the &%create_file%& option is set to a path which
+matches (see the option definition below for details)
+a file or directory name
+for the delivery, that name becomes de-tainted.
+
.cindex "tainted data" "in filenames"
.cindex appendfile "tainted data"
Tainted data may not be used for a file or directory name.
@@ -23145,14 +23150,34 @@ directories defined by the &%directory%& option. In the case of maildir
delivery, it applies to the top level directory, not the maildir directories
beneath.
+.new
The option must be set to one of the words &"anywhere"&, &"inhome"&, or
-&"belowhome"&. In the second and third cases, a home directory must have been
-set for the transport. This option is not useful when an explicit filename is
+&"belowhome"&, or to an absolute path.
+.wen
+
+In the second and third cases, a home directory must have been
+set for the transport, and the file or directory being created must
+reside within it.
+The "belowhome" checking additionally checks for attempts to use "../"
+to evade the testing.
+This option is not useful when an explicit filename is
given for normal mailbox deliveries. It is intended for the case when filenames
are generated from users' &_.forward_& files. These are usually handled
by an &(appendfile)& transport called &%address_file%&. See also
&%file_must_exist%&.
+.new
+In the fourth case,
+the value given for this option must be an absolute path for an
+existing directory.
+The value is used for checking instead of a home directory;
+checking is done in "belowhome" mode.
+
+.cindex "tainted data" "de-tainting"
+If "belowhome" checking is used, the file or directory path
+becomes de-tainted.
+.wen
+
.option directory appendfile string&!! unset
This option is mutually exclusive with the &%file%& option, but one of &%file%&
@@ -23165,6 +23190,11 @@ appended to a single mailbox file. A number of different formats are provided
(see &%maildir_format%& and &%mailstore_format%&), and see section
&<<SECTopdir>>& for further details of this form of delivery.
+.new
+The result of expansion must not be tainted, unless the &%create_file%& option
+specifies a path.
+.wen
+
.option directory_file appendfile string&!! "see below"
.cindex "base62"
@@ -23197,6 +23227,11 @@ specifies a single file, to which the message is appended. One or more of
&%use_fcntl_lock%&, &%use_flock_lock%&, or &%use_lockfile%& must be set with
&%file%&.
+.new
+The result of expansion must not be tainted, unless the &%create_file%& option
+specifies a path.
+.wen
+
.cindex "NFS" "lock file"
.cindex "locking files"
.cindex "lock files"
diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c
index 3f2c4e443..139f9a3ef 100644
--- a/src/src/transports/appendfile.c
+++ b/src/src/transports/appendfile.c
@@ -2,7 +2,7 @@
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) University of Cambridge 1995 - 2020 */
/* Copyright (c) The Exim maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
@@ -112,70 +112,27 @@ BOOL appendfile_transport_entry(transport_instance *tblock, address_item *addr)
/* Default private options block for the appendfile transport. */
appendfile_transport_options_block appendfile_transport_option_defaults = {
- NULL, /* filename */
- NULL, /* dirname */
- US"q${base62:$tod_epoch}-$inode", /* dirfilename */
- NULL, /* message_prefix (default reset in init if not bsmtp) */
- NULL, /* message_suffix (ditto) */
- US"anywhere", /* create_file_string (string value for create_file) */
- NULL, /* quota */
- NULL, /* quota_directory */
- NULL, /* quota_filecount */
- NULL, /* quota_size_regex */
- NULL, /* quota_warn_threshold */
- NULL, /* mailbox_size_string */
- NULL, /* mailbox_filecount_string */
- NULL, /* expand_maildir_use_size_file */
- US"^(?:cur|new|\\..*)$", /* maildir_dir_regex */
- NULL, /* maildir_tag */
- NULL, /* maildirfolder_create_regex */
- NULL, /* mailstore_prefix */
- NULL, /* mailstore_suffix */
- NULL, /* check_string (default changed for non-bsmtp file)*/
- NULL, /* escape_string (ditto) */
- NULL, /* file_format */
- 0, /* quota_value */
- 0, /* quota_warn_threshold_value */
- -1, /* mailbox_size_value */
- -1, /* mailbox_filecount_value */
- 0, /* quota_filecount_value */
- APPENDFILE_MODE, /* mode */
- APPENDFILE_DIRECTORY_MODE, /* dirmode */
- APPENDFILE_LOCKFILE_MODE, /* lockfile_mode */
- 30*60, /* lockfile_timeout */
- 0, /* lock_fcntl_timeout */
- 0, /* lock_flock_timeout */
- 10, /* lock_retries */
- 3, /* lock_interval */
- 10, /* maildir_retries */
- create_anywhere,/* create_file */
- 0, /* options */
- FALSE, /* allow_fifo */
- FALSE, /* allow_symlink */
- FALSE, /* check_group */
- TRUE, /* check_owner */
- TRUE, /* create_directory */
- FALSE, /* notify_comsat */
- TRUE, /* use_lockfile */
- FALSE, /* set_use_lockfile */
- TRUE, /* use_fcntl */
- FALSE, /* set_use_fcntl */
- FALSE, /* use_flock */
- FALSE, /* set_use_flock */
- FALSE, /* use_mbx_lock */
- FALSE, /* set_use_mbx_lock */
- FALSE, /* use_bsmtp */
- FALSE, /* use_crlf */
- FALSE, /* file_must_exist */
- TRUE, /* mode_fail_narrower */
- FALSE, /* maildir_format */
- FALSE, /* maildir_use_size_file */
- FALSE, /* mailstore_format */
- FALSE, /* mbx_format */
- FALSE, /* quota_warn_threshold_is_percent */
- TRUE, /* quota_is_inclusive */
- FALSE, /* quota_no_check */
- FALSE /* quota_filecount_no_check */
+ /* all non-mentioned members zero/null/false */
+ .dirfilename = US"q${base62:$tod_epoch}-$inode",
+ .create_file_string = US"anywhere",
+ .maildir_dir_regex = US"^(?:cur|new|\\..*)$",
+ .mailbox_size_value = -1,
+ .mailbox_filecount_value = -1,
+ .mode = APPENDFILE_MODE,
+ .dirmode = APPENDFILE_DIRECTORY_MODE,
+ .lockfile_mode = APPENDFILE_LOCKFILE_MODE,
+ .lockfile_timeout = 30*60,
+ .lock_retries = 10,
+ .lock_interval = 3,
+ .maildir_retries = 10,
+ .create_file = create_anywhere,
+ .check_owner = TRUE,
+ .create_directory = TRUE,
+ .notify_comsat = FALSE,
+ .use_lockfile = TRUE,
+ .use_fcntl = TRUE,
+ .mode_fail_narrower = TRUE,
+ .quota_is_inclusive = TRUE,
};
@@ -235,17 +192,15 @@ mailbox_filecount */
for (int i = 0; i < 5; i++)
{
- double d;
+ double d = default_value;
int no_check = 0;
uschar *which = NULL;
- if (q == NULL) d = default_value;
- else
+ if (q)
{
- uschar *rest;
- uschar *s = expand_string(q);
+ uschar * rest, * s;
- if (!s)
+ if (!(s = expand_string(q)))
{
*errmsg = string_sprintf("Expansion of \"%s\" in %s transport failed: "
"%s", q, tblock->name, expand_string_message);
@@ -315,8 +270,8 @@ for (int i = 0; i < 5; i++)
break;
case 2:
- if (d >= 2.0*1024.0*1024.0*1024.0 && sizeof(off_t) <= 4)
- which = US"quota_warn_threshold";
+ if (d >= 2.0*1024.0*1024.0*1024.0 && sizeof(off_t) <= 4)
+ which = US"quota_warn_threshold";
ob->quota_warn_threshold_value = (off_t)d;
q = ob->mailbox_size_string;
default_value = -1.0;
@@ -362,6 +317,7 @@ appendfile_transport_init(transport_instance *tblock)
{
appendfile_transport_options_block *ob =
(appendfile_transport_options_block *)(tblock->options_block);
+uschar * s;
/* Set up the setup entry point, to be called in the privileged state */
@@ -460,20 +416,17 @@ if (tblock->uid_set && !tblock->gid_set && !tblock->expand_gid)
/* If "create_file" is set, check that a valid option is given, and set the
integer variable. */
-if (ob->create_file_string)
+if ((s = ob->create_file_string ) && *s)
{
- int value = 0;
- if (Ustrcmp(ob->create_file_string, "anywhere") == 0)
- value = create_anywhere;
- else if (Ustrcmp(ob->create_file_string, "belowhome") == 0)
- value = create_belowhome;
- else if (Ustrcmp(ob->create_file_string, "inhome") == 0)
- value = create_inhome;
+ int val = 0;
+ if (Ustrcmp(s, "anywhere") == 0) val = create_anywhere;
+ else if (*s == '/' || Ustrcmp(s, "belowhome") == 0) val = create_belowhome;
+ else if (Ustrcmp(s, "inhome") == 0) val = create_inhome;
else
log_write(0, LOG_PANIC_DIE|LOG_CONFIG,
- "invalid value given for \"file_create\" for the %s transport: %s",
- tblock->name, ob->create_file_string);
- ob->create_file = value;
+ "invalid value given for \"file_create\" for the %s transport: '%s'",
+ tblock->name, s);
+ ob->create_file = val;
}
/* If quota_warn_threshold is set, set up default for warn_message. It may
@@ -936,28 +889,28 @@ we can't do any tests.
Arguments:
filename the file name
create_file the ob->create_file option
+ deliver_dir the delivery directory
Returns: TRUE if creation is permitted
*/
static BOOL
-check_creation(uschar *filename, int create_file)
+check_creation(uschar *filename, int create_file, const uschar * deliver_dir)
{
BOOL yield = TRUE;
-if (deliver_home && create_file != create_anywhere)
+if (deliver_dir && create_file != create_anywhere)
{
- int len = Ustrlen(deliver_home);
+ int len = Ustrlen(deliver_dir);
uschar *file = filename;
while (file[0] == '/' && file[1] == '/') file++;
- if (Ustrncmp(file, deliver_home, len) != 0 || file[len] != '/' ||
- ( Ustrchr(file+len+2, '/') != NULL &&
- (
- create_file != create_belowhome ||
- Ustrstr(file+len, "/../") != NULL
- )
- )
+ if ( Ustrncmp(file, deliver_dir, len) != 0
+ || file[len] != '/'
+ || Ustrchr(file+len+2, '/') != NULL
+ && ( create_file != create_belowhome
+ || Ustrstr(file+len, "/../") != NULL
+ )
) yield = FALSE;
/* If yield is TRUE, the file name starts with the home directory, and does
@@ -995,10 +948,10 @@ if (deliver_home && create_file != create_anywhere)
if (rp)
{
uschar hdbuffer[PATH_MAX+1];
- uschar *rph = deliver_home;
+ const uschar * rph = deliver_dir;
int rlen = Ustrlen(big_buffer);
- if ((rp = US realpath(CS deliver_home, CS hdbuffer)))
+ if ((rp = US realpath(CS deliver_dir, CS hdbuffer)))
{
rph = hdbuffer;
len = Ustrlen(rph);
@@ -1009,7 +962,7 @@ if (deliver_home && create_file != create_anywhere)
{
yield = FALSE;
DEBUG(D_transport) debug_printf("Real path \"%s\" does not match \"%s\"\n",
- big_buffer, deliver_home);
+ big_buffer, deliver_dir);
}
}
}
@@ -1179,6 +1132,7 @@ appendfile_transport_entry(
appendfile_transport_options_block *ob =
(appendfile_transport_options_block *)(tblock->options_block);
struct stat statbuf;
+const uschar * deliver_dir;
uschar *fdname = NULL;
uschar *filename = NULL;
uschar *hitchname = NULL;
@@ -1282,12 +1236,6 @@ if (!(path = expand_string(fdname)))
expand_string_message);
goto ret_panic;
}
-if (is_tainted(path))
- {
- addr->message = string_sprintf("Tainted '%s' (file or directory "
- "name for %s transport) not permitted", path, tblock->name);
- goto ret_panic;
- }
if (path[0] != '/')
{
@@ -1364,6 +1312,12 @@ if (f.dont_deliver)
return FALSE;
}
+/* If an absolute path was given for create_file the it overrides deliver_home
+(here) and de-taints the filename (below, after check_creation() */
+
+deliver_dir = *ob->create_file_string == '/'
+ ? ob->create_file_string : deliver_home;
+
/* Handle the case of a file name. If the file name is /dev/null, we can save
ourselves some effort and just give a success return right away. */
@@ -1380,10 +1334,20 @@ if (!isdirectory)
}
/* Set the name of the file to be opened, and the file to which the data
- is written, and find out if we are permitted to create a non-existent file. */
+ is written, and find out if we are permitted to create a non-existent file.
+ If the create_file option is an absolute path and the file was within it,
+ de-taint. Chaeck for a tainted path. */
+
+ if ( (allow_creation_here = check_creation(path, ob->create_file, deliver_dir))
+ && ob->create_file == create_belowhome)
+ if (is_tainted(path))
+ {
+ DEBUG(D_transport) debug_printf("de-tainting path '%s'\n", path);
+ path = string_copy_taint(path, FALSE);
+ }
+ if (is_tainted(path)) goto tainted_ret_panic;
dataname = filename = path;
- allow_creation_here = check_creation(filename, ob->create_file);
/* If ob->create_directory is set, attempt to create the directories in
which this mailbox lives, but only if we are permitted to create the file
@@ -1399,7 +1363,7 @@ if (!isdirectory)
addr->basic_errno = errno;
addr->message =
string_sprintf("failed to create directories for %s: %s", path,
- strerror(errno));
+ exim_errstr(errno));
DEBUG(D_transport) debug_printf("%s transport: %s\n", tblock->name, path);
return FALSE;
}
@@ -2200,10 +2164,11 @@ scanning is expensive; for maildirs some fudges have been invented:
else
{
- uschar *check_path = path; /* Default quota check path */
+ uschar *check_path; /* Default quota check path */
const pcre *regex = NULL; /* Regex for file size from file name */
- if (!check_creation(string_sprintf("%s/any", path), ob->create_file))
+ if (!check_creation(string_sprintf("%s/any", path),
+ ob->create_file, deliver_dir))
{
addr->basic_errno = ERRNO_BADCREATE;
addr->message = string_sprintf("tried to create file in %s, but "
@@ -2211,6 +2176,20 @@ else
goto RETURN;
}
+ /* If the create_file option is an absolute path and the file was within
+ it, de-taint. Otherwise check for taint. */
+
+ if (is_tainted(path))
+ if (ob->create_file == create_belowhome)
+ {
+ DEBUG(D_transport) debug_printf("de-tainting path '%s'\n", path);
+ path = string_copy_taint(path, FALSE);
+ }
+ else
+ goto tainted_ret_panic;
+
+ check_path = path;
+
#ifdef SUPPORT_MAILDIR
/* For a maildir delivery, ensure that all the relevant directories exist,
and a maildirfolder file if necessary. */
@@ -3319,6 +3298,9 @@ put in the first address of a batch. */
return FALSE;
+tainted_ret_panic:
+ addr->message = string_sprintf("Tainted '%s' (file or directory "
+ "name for %s transport) not permitted", path, tblock->name);
ret_panic:
addr->transport_return = PANIC;
return FALSE;
diff --git a/test/confs/0001 b/test/confs/0001
index c8ad6f43f..4dfd09aea 100644
--- a/test/confs/0001
+++ b/test/confs/0001
@@ -517,7 +517,7 @@ appendfile:
directory_mode = 0700
envelope_to_add
escape_string = xyz
- file = /home/${bless:$local_part}/inbox
+ file = /home/$local_part/inbox
file_format = "From : appendfile"
no_file_must_exist
group = MAILGROUP
diff --git a/test/confs/0006 b/test/confs/0006
index b83e897ca..337dfa31a 100644
--- a/test/confs/0006
+++ b/test/confs/0006
@@ -35,7 +35,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
headers_add = \nMessage Headers:\n$message_headers\n\
\nRaw Message Headers:\n$message_headers_raw\n
diff --git a/test/confs/0008 b/test/confs/0008
index 396718f98..c5ce9017f 100644
--- a/test/confs/0008
+++ b/test/confs/0008
@@ -27,7 +27,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
# End
diff --git a/test/confs/0009 b/test/confs/0009
index 3ca2feb7a..756c727e2 100644
--- a/test/confs/0009
+++ b/test/confs/0009
@@ -27,7 +27,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
# End
diff --git a/test/confs/0010 b/test/confs/0010
index 0216aae14..eb5b2ec52 100644
--- a/test/confs/0010
+++ b/test/confs/0010
@@ -27,7 +27,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
diff --git a/test/confs/0011 b/test/confs/0011
index e39d59563..aa1c4b702 100644
--- a/test/confs/0011
+++ b/test/confs/0011
@@ -27,7 +27,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
diff --git a/test/confs/0012 b/test/confs/0012
index 76f5bc4ac..a368b89f7 100644
--- a/test/confs/0012
+++ b/test/confs/0012
@@ -30,7 +30,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
diff --git a/test/confs/0014 b/test/confs/0014
index 23abbb240..c9eadae31 100644
--- a/test/confs/0014
+++ b/test/confs/0014
@@ -94,7 +94,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_suffix =
user = CALLER
diff --git a/test/confs/0015 b/test/confs/0015
index b1472da06..afd8144c5 100644
--- a/test/confs/0015
+++ b/test/confs/0015
@@ -33,7 +33,7 @@ userforward:
allow_filter
local_parts = userx
user = CALLER
- file = DIR/aux-fixed/0015.filter.${bless:$local_part}
+ file = DIR/aux-fixed/0015.filter.userx
local_part_prefix = *+
local_part_prefix_optional
pipe_transport = address_pipe
@@ -80,7 +80,8 @@ local_delivery:
user = CALLER
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
headers_add = X-local_part: $local_part\n\
X-local_part_prefix: $local_part_prefix\n\
@@ -91,7 +92,8 @@ local_delivery_b:
user = CALLER
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
use_bsmtp
headers_add = X-local_part: $local_part\n\
diff --git a/test/confs/0016 b/test/confs/0016
index 9e190d8eb..f8cbb7cbb 100644
--- a/test/confs/0016
+++ b/test/confs/0016
@@ -17,7 +17,7 @@ userforward:
allow_filter
user = CALLER
local_parts = userx : CALLER
- file = DIR/aux-fixed/0016.filter.${bless:$local_part}
+ file = DIR/aux-fixed/0016.filter.$local_part_data
local_part_suffix = +*
local_part_suffix_optional
reply_transport = address_reply
@@ -43,7 +43,8 @@ local_delivery:
X-local_part_suffix: $local_part_suffix\n\
X-local_part_suffix_v: $local_part_suffix_v
return_path_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
address_reply:
driver = autoreply
diff --git a/test/confs/0021 b/test/confs/0021
index 0150839b4..cf0ac21d2 100644
--- a/test/confs/0021
+++ b/test/confs/0021
@@ -84,7 +84,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0022 b/test/confs/0022
index 2228b2807..cb41aa422 100644
--- a/test/confs/0022
+++ b/test/confs/0022
@@ -90,7 +90,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0023 b/test/confs/0023
index c72c453a2..584e8c07d 100644
--- a/test/confs/0023
+++ b/test/confs/0023
@@ -232,7 +232,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0024 b/test/confs/0024
index fac5e12a5..4b032f4fb 100644
--- a/test/confs/0024
+++ b/test/confs/0024
@@ -86,7 +86,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0025 b/test/confs/0025
index f2d987e13..c13245194 100644
--- a/test/confs/0025
+++ b/test/confs/0025
@@ -52,7 +52,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0026 b/test/confs/0026
index cc0c51c9b..6407981b6 100644
--- a/test/confs/0026
+++ b/test/confs/0026
@@ -54,7 +54,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0027 b/test/confs/0027
index c2d0f01be..53e9357c0 100644
--- a/test/confs/0027
+++ b/test/confs/0027
@@ -70,7 +70,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0028 b/test/confs/0028
index caebac0ce..6ecf67501 100644
--- a/test/confs/0028
+++ b/test/confs/0028
@@ -54,7 +54,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0031 b/test/confs/0031
index 8760be578..8dac996ae 100644
--- a/test/confs/0031
+++ b/test/confs/0031
@@ -29,7 +29,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
# End
diff --git a/test/confs/0032 b/test/confs/0032
index 644404d24..8af551b0c 100644
--- a/test/confs/0032
+++ b/test/confs/0032
@@ -33,7 +33,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
smtp:
diff --git a/test/confs/0036 b/test/confs/0036
index 6d02a44cd..43eb7534a 100644
--- a/test/confs/0036
+++ b/test/confs/0036
@@ -37,7 +37,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
send_to_server:
diff --git a/test/confs/0037 b/test/confs/0037
index c26f55364..4a7f5cade 100644
--- a/test/confs/0037
+++ b/test/confs/0037
@@ -85,7 +85,8 @@ appendfile:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0040 b/test/confs/0040
index 30a3de234..746ed64a0 100644
--- a/test/confs/0040
+++ b/test/confs/0040
@@ -27,7 +27,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-interface: $interface_address"
return_path_add
user = CALLER
diff --git a/test/confs/0041 b/test/confs/0041
index 0d601a892..e0bd3e2f3 100644
--- a/test/confs/0041
+++ b/test/confs/0041
@@ -52,7 +52,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0042 b/test/confs/0042
index 46229f59f..6b747a045 100644
--- a/test/confs/0042
+++ b/test/confs/0042
@@ -38,7 +38,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0043 b/test/confs/0043
index 91d58f338..27e7e61d4 100644
--- a/test/confs/0043
+++ b/test/confs/0043
@@ -56,7 +56,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0044 b/test/confs/0044
index c13a15817..dc6b3d4b0 100644
--- a/test/confs/0044
+++ b/test/confs/0044
@@ -47,7 +47,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0046 b/test/confs/0046
index 15e8df80f..4fb293e10 100644
--- a/test/confs/0046
+++ b/test/confs/0046
@@ -32,7 +32,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-size: $message_size\n\
X-body-size: $message_body_size\n\
X-body: $message_body\n\
diff --git a/test/confs/0048 b/test/confs/0048
index d11a120f1..910d360d4 100644
--- a/test/confs/0048
+++ b/test/confs/0048
@@ -42,7 +42,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
address_pipe:
diff --git a/test/confs/0049 b/test/confs/0049
index fd2574ea8..6e0b0dbc8 100644
--- a/test/confs/0049
+++ b/test/confs/0049
@@ -34,7 +34,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0050 b/test/confs/0050
index 32c414aa1..b4313ab9b 100644
--- a/test/confs/0050
+++ b/test/confs/0050
@@ -37,7 +37,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0051 b/test/confs/0051
index a14fc3ddc..d5fca864c 100644
--- a/test/confs/0051
+++ b/test/confs/0051
@@ -40,7 +40,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0052 b/test/confs/0052
index 426e7ed98..b8d0232a0 100644
--- a/test/confs/0052
+++ b/test/confs/0052
@@ -33,7 +33,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
diff --git a/test/confs/0053 b/test/confs/0053
index 4d279d0ab..7fcf7f01c 100644
--- a/test/confs/0053
+++ b/test/confs/0053
@@ -32,7 +32,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0055 b/test/confs/0055
index ed6e60878..5d7fc0fef 100644
--- a/test/confs/0055
+++ b/test/confs/0055
@@ -46,7 +46,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0072 b/test/confs/0072
index e1e997b9a..6fc5c7259 100644
--- a/test/confs/0072
+++ b/test/confs/0072
@@ -53,7 +53,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
diff --git a/test/confs/0073 b/test/confs/0073
index 678825673..79407fd3d 100644
--- a/test/confs/0073
+++ b/test/confs/0073
@@ -40,7 +40,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
diff --git a/test/confs/0074 b/test/confs/0074
index 20227d416..4b3e4807c 100644
--- a/test/confs/0074
+++ b/test/confs/0074
@@ -41,7 +41,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0075 b/test/confs/0075
index b07ffbdfd..a4d99b602 100644
--- a/test/confs/0075
+++ b/test/confs/0075
@@ -26,7 +26,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/subdir/${bless:$local_part}
+ file = DIR/test-mail/subdir/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0076 b/test/confs/0076
index 8e9c08f80..579d6d6db 100644
--- a/test/confs/0076
+++ b/test/confs/0076
@@ -27,7 +27,8 @@ local_delivery:
no_create_directory
delivery_date_add
envelope_to_add
- file = DIR/test-mail/subdir/${bless:$local_part}
+ file = DIR/test-mail/subdir/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0079 b/test/confs/0079
index a7a412ffa..149290916 100644
--- a/test/confs/0079
+++ b/test/confs/0079
@@ -69,7 +69,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0080 b/test/confs/0080
index a0f578f61..503ca99d0 100644
--- a/test/confs/0080
+++ b/test/confs/0080
@@ -50,7 +50,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0081 b/test/confs/0081
index 2e020e01d..ad0019330 100644
--- a/test/confs/0081
+++ b/test/confs/0081
@@ -28,7 +28,8 @@ local_delivery:
debug_print = ">$h_X-one:<\n"
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0082 b/test/confs/0082
index fca3e7b0d..fefd0502c 100644
--- a/test/confs/0082
+++ b/test/confs/0082
@@ -26,7 +26,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "Proto: $received_protocol"
return_path_add
user = CALLER
diff --git a/test/confs/0083 b/test/confs/0083
index 4ab79fce4..d4ca61655 100644
--- a/test/confs/0083
+++ b/test/confs/0083
@@ -26,7 +26,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "Proto: $received_protocol"
return_path_add
user = CALLER
diff --git a/test/confs/0090 b/test/confs/0090
index f5dc6f291..52593ec95 100644
--- a/test/confs/0090
+++ b/test/confs/0090
@@ -30,7 +30,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
respond:
diff --git a/test/confs/0094 b/test/confs/0094
index 07698b5c0..0ff7d5f4c 100644
--- a/test/confs/0094
+++ b/test/confs/0094
@@ -42,7 +42,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = host_lookup_failed: $host_lookup_failed\n\
host_lookup_deferred: $host_lookup_deferred
user = CALLER
diff --git a/test/confs/0095 b/test/confs/0095
index b1201f870..4b18a494f 100644
--- a/test/confs/0095
+++ b/test/confs/0095
@@ -39,7 +39,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = $h_quota
quota_warn_threshold = $h_threshold
QWM
@@ -47,14 +48,16 @@ appendfile:
appendfile2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = $h_quota
quota_warn_threshold = $h_threshold
user = CALLER
appendfile3:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}${if eq{$sender_address}{}{.bounce}}
+ file = DIR/test-mail/${local_part}${if eq{$sender_address}{}{.bounce}}
+ create_file = DIR/test-mail
quota_warn_threshold = $h_threshold
user = CALLER
headers_add = X:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
diff --git a/test/confs/0096 b/test/confs/0096
index 1eb519417..45365a7b7 100644
--- a/test/confs/0096
+++ b/test/confs/0096
@@ -29,7 +29,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0097 b/test/confs/0097
index 495349d3f..3b08990ec 100644
--- a/test/confs/0097
+++ b/test/confs/0097
@@ -29,7 +29,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "${if def:h_tadd: {Added: by transport}}"
headers_remove = "${if def::h_tadd:: {tadd}}"
return_path_add
diff --git a/test/confs/0098 b/test/confs/0098
index e16b25eaa..a1151378d 100644
--- a/test/confs/0098
+++ b/test/confs/0098
@@ -84,7 +84,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0100 b/test/confs/0100
index afe04a4c1..547684ca8 100644
--- a/test/confs/0100
+++ b/test/confs/0100
@@ -84,7 +84,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
current_directory = /
user = CALLER
@@ -93,7 +94,8 @@ hackfree_local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
check_string =
return_path_add
user = CALLER
@@ -105,7 +107,8 @@ bsmtp_local_delivery:
use_bsmtp
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
current_directory = /
@@ -116,7 +119,8 @@ bsmtp_local_delivery_filtered:
use_bsmtp
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
user = CALLER
@@ -136,7 +140,8 @@ filtered_local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
current_directory = /
@@ -146,7 +151,8 @@ mmdf_local_delivery:
driver = appendfile
check_string = "\1\1\1\1\n"
escape_string = "\1\1\1\1 \n"
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_prefix = "\1\1\1\1\n"
message_suffix = "\1\1\1\1\n"
user = CALLER
diff --git a/test/confs/0102 b/test/confs/0102
index 30b1496ac..c73eed924 100644
--- a/test/confs/0102
+++ b/test/confs/0102
@@ -38,7 +38,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
file_format = "From : local_delivery :\
MAIL : bsmtp_local_delivery :\
\1\1\1\1\n : mmdf_local_delivery :\
@@ -52,7 +53,8 @@ bsmtp_local_delivery:
use_bsmtp
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
@@ -60,7 +62,8 @@ mmdf_local_delivery:
driver = appendfile
check_string = "\1\1\1\1\n"
escape_string = "\1\1\1\1 \n"
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_prefix = "\1\1\1\1\n"
message_suffix = "\1\1\1\1\n"
user = CALLER
diff --git a/test/confs/0103 b/test/confs/0103
index 547109ab5..0aa40257f 100644
--- a/test/confs/0103
+++ b/test/confs/0103
@@ -53,7 +53,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0104 b/test/confs/0104
index 3cbebc856..e65dae6fd 100644
--- a/test/confs/0104
+++ b/test/confs/0104
@@ -44,7 +44,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0105 b/test/confs/0105
index 851f12cc1..a6af68848 100644
--- a/test/confs/0105
+++ b/test/confs/0105
@@ -42,7 +42,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0107 b/test/confs/0107
index 5f6a80e87..f904150f1 100644
--- a/test/confs/0107
+++ b/test/confs/0107
@@ -27,8 +27,8 @@ appendfile:
driver = appendfile
create_file = belowhome
file = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.filelist}\
- {${if match{$value}{^/}{}{DIR/}}$value}\
- {DIR/test-mail/${bless:$local_part}}}
+ {${if match{$value}{^/}{}{DIR/}}$value}\
+ {DIR/test-mail/${bless:$local_part}}}
user = CALLER
# ----- Retry -----
diff --git a/test/confs/0110 b/test/confs/0110
index e4716f625..c6594fae7 100644
--- a/test/confs/0110
+++ b/test/confs/0110
@@ -44,7 +44,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0111 b/test/confs/0111
index 3b4386b70..49ac69507 100644
--- a/test/confs/0111
+++ b/test/confs/0111
@@ -43,7 +43,8 @@ begin transports
appendfile:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0113 b/test/confs/0113
index 2c0c573a3..5a30bc352 100644
--- a/test/confs/0113
+++ b/test/confs/0113
@@ -45,7 +45,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0116 b/test/confs/0116
index 6916642e1..9e8d9f7eb 100644
--- a/test/confs/0116
+++ b/test/confs/0116
@@ -51,7 +51,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = Added: $address_data
diff --git a/test/confs/0118 b/test/confs/0118
index 1f741cc0a..afd803cc8 100644
--- a/test/confs/0118
+++ b/test/confs/0118
@@ -41,7 +41,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0121 b/test/confs/0121
index 550971e40..78a67498d 100644
--- a/test/confs/0121
+++ b/test/confs/0121
@@ -59,7 +59,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0127 b/test/confs/0127
index 83dd03198..226388e2e 100644
--- a/test/confs/0127
+++ b/test/confs/0127
@@ -37,7 +37,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0128 b/test/confs/0128
index e4f78dca2..9a2579c01 100644
--- a/test/confs/0128
+++ b/test/confs/0128
@@ -41,7 +41,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0131 b/test/confs/0131
index c3df9a89e..087bd5540 100644
--- a/test/confs/0131
+++ b/test/confs/0131
@@ -43,7 +43,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = Address-Data: >$address_data<
diff --git a/test/confs/0133 b/test/confs/0133
index 2c9cdb88e..8907bce5f 100644
--- a/test/confs/0133
+++ b/test/confs/0133
@@ -42,7 +42,8 @@ begin transports
appendfile:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0135 b/test/confs/0135
index 1318e025c..63168ecd5 100644
--- a/test/confs/0135
+++ b/test/confs/0135
@@ -49,7 +49,8 @@ smtp:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = 20
user = CALLER
diff --git a/test/confs/0136 b/test/confs/0136
index acc1003c9..f2687b684 100644
--- a/test/confs/0136
+++ b/test/confs/0136
@@ -63,7 +63,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0137 b/test/confs/0137
index faab263aa..c12709698 100644
--- a/test/confs/0137
+++ b/test/confs/0137
@@ -30,14 +30,16 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
lock_interval = 1s
lock_retries = 2
user = CALLER
local_delivery_fcntl:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
lock_interval = 1s
lock_retries = 2
no_use_lockfile
@@ -45,7 +47,8 @@ local_delivery_fcntl:
local_delivery_fcntl_blocking:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
lock_fcntl_timeout = 2s
lock_interval = 1s
lock_retries = 2
diff --git a/test/confs/0138 b/test/confs/0138
index 01bdfaa62..9a0b185b2 100644
--- a/test/confs/0138
+++ b/test/confs/0138
@@ -54,7 +54,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0139 b/test/confs/0139
index 5aaa61183..0c195c1f2 100644
--- a/test/confs/0139
+++ b/test/confs/0139
@@ -81,7 +81,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0140 b/test/confs/0140
index 5661c5df4..3e6854a44 100644
--- a/test/confs/0140
+++ b/test/confs/0140
@@ -45,7 +45,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0142 b/test/confs/0142
index 716ad5fa7..da8b73ea4 100644
--- a/test/confs/0142
+++ b/test/confs/0142
@@ -43,12 +43,14 @@ pipe:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
filtered_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
transport_filter = DIR/bin/fd -f
user = CALLER
diff --git a/test/confs/0149 b/test/confs/0149
index 8527d30fa..4887f9842 100644
--- a/test/confs/0149
+++ b/test/confs/0149
@@ -40,7 +40,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0150 b/test/confs/0150
index 256080a50..6fe557664 100644
--- a/test/confs/0150
+++ b/test/confs/0150
@@ -25,7 +25,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0151 b/test/confs/0151
index 0baf3450d..56f3e7ee3 100644
--- a/test/confs/0151
+++ b/test/confs/0151
@@ -26,7 +26,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0152 b/test/confs/0152
index 5d50c9f31..cee79d91e 100644
--- a/test/confs/0152
+++ b/test/confs/0152
@@ -28,7 +28,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0156 b/test/confs/0156
index 79dcde236..59228e0a8 100644
--- a/test/confs/0156
+++ b/test/confs/0156
@@ -30,7 +30,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0158 b/test/confs/0158
index 8a5c00e07..43ef37023 100644
--- a/test/confs/0158
+++ b/test/confs/0158
@@ -28,7 +28,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = $local_part
diff --git a/test/confs/0159 b/test/confs/0159
index 7fcaf6063..a31e1496a 100644
--- a/test/confs/0159
+++ b/test/confs/0159
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0164 b/test/confs/0164
index d80f383f5..dce05f28e 100644
--- a/test/confs/0164
+++ b/test/confs/0164
@@ -29,7 +29,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_pipe:
diff --git a/test/confs/0165 b/test/confs/0165
index 48fe63bf1..fb138bd2d 100644
--- a/test/confs/0165
+++ b/test/confs/0165
@@ -29,7 +29,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_pipe:
diff --git a/test/confs/0166 b/test/confs/0166
index 3158ac502..eebf0d94b 100644
--- a/test/confs/0166
+++ b/test/confs/0166
@@ -37,7 +37,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = X-tpt-hdr: 1
headers_add = ${if bool{false} {X-tpt-hdr: 2}}
diff --git a/test/confs/0167 b/test/confs/0167
index a3e045f21..a8483f0ba 100644
--- a/test/confs/0167
+++ b/test/confs/0167
@@ -35,7 +35,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path = ${if eq{$return_path}{trakill@test.ex}{}fail}
return_path_add
user = CALLER
diff --git a/test/confs/0169 b/test/confs/0169
index ec8bf7957..75d8a15a9 100644
--- a/test/confs/0169
+++ b/test/confs/0169
@@ -23,7 +23,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = $h_quota
quota_warn_threshold = $h_threshold
user = CALLER
diff --git a/test/confs/0171 b/test/confs/0171
index 345a1813c..198aedced 100644
--- a/test/confs/0171
+++ b/test/confs/0171
@@ -24,7 +24,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = home: HOME=$home
user = CALLER
diff --git a/test/confs/0172 b/test/confs/0172
index 7b335183e..06d3ea86d 100644
--- a/test/confs/0172
+++ b/test/confs/0172
@@ -28,7 +28,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0173 b/test/confs/0173
index dfe894ef8..9640ccf1c 100644
--- a/test/confs/0173
+++ b/test/confs/0173
@@ -29,7 +29,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
pipe:
diff --git a/test/confs/0174 b/test/confs/0174
index 5498e2bee..b79e237b3 100644
--- a/test/confs/0174
+++ b/test/confs/0174
@@ -52,7 +52,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
pipe:
diff --git a/test/confs/0175 b/test/confs/0175
index 3f2cc8c96..e5eced2d2 100644
--- a/test/confs/0175
+++ b/test/confs/0175
@@ -62,7 +62,8 @@ smtp:
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0176 b/test/confs/0176
index d5c86caa5..5d8d0f5f3 100644
--- a/test/confs/0176
+++ b/test/confs/0176
@@ -26,7 +26,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0177 b/test/confs/0177
index ff780c145..eb15a515d 100644
--- a/test/confs/0177
+++ b/test/confs/0177
@@ -65,7 +65,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
autoreply:
diff --git a/test/confs/0178 b/test/confs/0178
index 2554e0a6c..2961d4018 100644
--- a/test/confs/0178
+++ b/test/confs/0178
@@ -26,7 +26,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0182 b/test/confs/0182
index c23722a3b..cb0946615 100644
--- a/test/confs/0182
+++ b/test/confs/0182
@@ -34,7 +34,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0185 b/test/confs/0185
index b8bf04d29..5062e08ff 100644
--- a/test/confs/0185
+++ b/test/confs/0185
@@ -62,7 +62,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
autoreply:
diff --git a/test/confs/0189 b/test/confs/0189
index 4d63ddf84..71b31acee 100644
--- a/test/confs/0189
+++ b/test/confs/0189
@@ -25,7 +25,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0192 b/test/confs/0192
index e19bd003e..20789ef7c 100644
--- a/test/confs/0192
+++ b/test/confs/0192
@@ -23,7 +23,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = 500
no_quota_is_inclusive
user = CALLER
diff --git a/test/confs/0193 b/test/confs/0193
index 483d05062..ce3ef5e46 100644
--- a/test/confs/0193
+++ b/test/confs/0193
@@ -34,7 +34,8 @@ local_delivery:
driver = appendfile
batch_max = 100
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_size_limit = 50
user = CALLER
diff --git a/test/confs/0194 b/test/confs/0194
index abeaafcf1..4d0ac7c89 100644
--- a/test/confs/0194
+++ b/test/confs/0194
@@ -31,7 +31,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
pipe:
diff --git a/test/confs/0195 b/test/confs/0195
index 16032445b..46f1029ef 100644
--- a/test/confs/0195
+++ b/test/confs/0195
@@ -38,7 +38,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0196 b/test/confs/0196
index 690996916..23bed1267 100644
--- a/test/confs/0196
+++ b/test/confs/0196
@@ -41,7 +41,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0202 b/test/confs/0202
index 92a2dce66..3d6e8fda9 100644
--- a/test/confs/0202
+++ b/test/confs/0202
@@ -31,7 +31,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0204 b/test/confs/0204
index 688e0e98b..d1e32eec6 100644
--- a/test/confs/0204
+++ b/test/confs/0204
@@ -25,7 +25,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0205 b/test/confs/0205
index abc93e7ff..12edc868b 100644
--- a/test/confs/0205
+++ b/test/confs/0205
@@ -42,7 +42,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = Address-Data: >$address_data<
diff --git a/test/confs/0210 b/test/confs/0210
index 3e5661ccb..209f6fc9d 100644
--- a/test/confs/0210
+++ b/test/confs/0210
@@ -44,7 +44,8 @@ bsmtp_local_delivery:
message_prefix = "HELO x.y.z\n"
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0211 b/test/confs/0211
index f68b036be..6ee7253c7 100644
--- a/test/confs/0211
+++ b/test/confs/0211
@@ -57,7 +57,8 @@ smtp:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0212 b/test/confs/0212
index 8b8d74404..7cbc8c84a 100644
--- a/test/confs/0212
+++ b/test/confs/0212
@@ -73,7 +73,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0220 b/test/confs/0220
index 8e5af4e58..79cf4c9cf 100644
--- a/test/confs/0220
+++ b/test/confs/0220
@@ -26,7 +26,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0221 b/test/confs/0221
index 4ac979c0d..0b2fbc097 100644
--- a/test/confs/0221
+++ b/test/confs/0221
@@ -26,7 +26,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0222 b/test/confs/0222
index 91f74538a..48d7b42c1 100644
--- a/test/confs/0222
+++ b/test/confs/0222
@@ -32,7 +32,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
autoreply:
diff --git a/test/confs/0223 b/test/confs/0223
index 56476a3d5..2b42e9a06 100644
--- a/test/confs/0223
+++ b/test/confs/0223
@@ -42,7 +42,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0224 b/test/confs/0224
index ff77339c7..d5a376009 100644
--- a/test/confs/0224
+++ b/test/confs/0224
@@ -45,7 +45,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0225 b/test/confs/0225
index a778c2f6a..61e2994ea 100644
--- a/test/confs/0225
+++ b/test/confs/0225
@@ -44,7 +44,8 @@ smtp:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0226 b/test/confs/0226
index f5be03e9d..379545bf8 100644
--- a/test/confs/0226
+++ b/test/confs/0226
@@ -47,7 +47,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_file:
diff --git a/test/confs/0230 b/test/confs/0230
index 08a67228e..ecce42295 100644
--- a/test/confs/0230
+++ b/test/confs/0230
@@ -57,7 +57,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = Port: $sender_host_port
user = CALLER
diff --git a/test/confs/0231 b/test/confs/0231
index 67f21c0e1..7bc9d1829 100644
--- a/test/confs/0231
+++ b/test/confs/0231
@@ -51,13 +51,15 @@ begin transports
local_delivery_rewrite:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_rewrite = a@test.ex a-rewrite@test.ex
user = CALLER
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
smtp_rewrite:
diff --git a/test/confs/0232 b/test/confs/0232
index 11e4523ea..22bb68edf 100644
--- a/test/confs/0232
+++ b/test/confs/0232
@@ -39,7 +39,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0233 b/test/confs/0233
index 054ab7d67..36d60f642 100644
--- a/test/confs/0233
+++ b/test/confs/0233
@@ -39,7 +39,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_reply:
diff --git a/test/confs/0237 b/test/confs/0237
index 8939dc75e..0eb8f2603 100644
--- a/test/confs/0237
+++ b/test/confs/0237
@@ -49,7 +49,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_file:
diff --git a/test/confs/0240 b/test/confs/0240
index 62a192321..f75aaae1d 100644
--- a/test/confs/0240
+++ b/test/confs/0240
@@ -90,7 +90,8 @@ begin transports
local:
driver = appendfile
directory_mode = 3777
- file = DIR/test-mail/subdir/${bless:$local_part}
+ file = DIR/test-mail/subdir/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0241 b/test/confs/0241
index 944c517ea..9e6ded492 100644
--- a/test/confs/0241
+++ b/test/confs/0241
@@ -37,7 +37,8 @@ begin transports
local:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_reply:
diff --git a/test/confs/0243 b/test/confs/0243
index d5e989c5b..438acc2fb 100644
--- a/test/confs/0243
+++ b/test/confs/0243
@@ -59,7 +59,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_file:
diff --git a/test/confs/0246 b/test/confs/0246
index fe62bfddf..257475b87 100644
--- a/test/confs/0246
+++ b/test/confs/0246
@@ -35,7 +35,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0253 b/test/confs/0253
index 5713106ac..42d88ab32 100644
--- a/test/confs/0253
+++ b/test/confs/0253
@@ -42,7 +42,8 @@ begin transports
t0:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t1:
diff --git a/test/confs/0256 b/test/confs/0256
index e48c69648..0a5467539 100644
--- a/test/confs/0256
+++ b/test/confs/0256
@@ -30,7 +30,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0258 b/test/confs/0258
index 25de1af29..fcdbe1fc6 100644
--- a/test/confs/0258
+++ b/test/confs/0258
@@ -24,7 +24,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0260 b/test/confs/0260
index 257ea82da..775283e55 100644
--- a/test/confs/0260
+++ b/test/confs/0260
@@ -14,7 +14,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
bad_return:
@@ -30,7 +31,8 @@ bad_uid:
exp_fail:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
home_directory = ${if rhubarb
diff --git a/test/confs/0264 b/test/confs/0264
index 9e16d1db6..cc1ad5d0f 100644
--- a/test/confs/0264
+++ b/test/confs/0264
@@ -15,7 +15,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
quota = ${if eq{$local_part}{userx}{3}{10000}}
@@ -24,7 +25,8 @@ local_delivery:
local_delivery2:
driver = appendfile
retry_use_local_part = false
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
quota = 3
current_directory = /
diff --git a/test/confs/0266 b/test/confs/0266
index 42ea1b1f6..6558a5ef2 100644
--- a/test/confs/0266
+++ b/test/confs/0266
@@ -15,7 +15,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
envelope_to_add
return_path_add
diff --git a/test/confs/0267 b/test/confs/0267
index e99d29f71..4a52018ca 100644
--- a/test/confs/0267
+++ b/test/confs/0267
@@ -14,7 +14,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# ----- Routers -----
diff --git a/test/confs/0270 b/test/confs/0270
index e09ff0e76..8b3441cd0 100644
--- a/test/confs/0270
+++ b/test/confs/0270
@@ -15,7 +15,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
envelope_to_add
return_path_add
diff --git a/test/confs/0271 b/test/confs/0271
index b9512dca1..6153af80e 100644
--- a/test/confs/0271
+++ b/test/confs/0271
@@ -14,7 +14,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# ----- Routers -----
diff --git a/test/confs/0274 b/test/confs/0274
index 461acfcf3..c5b0bd847 100644
--- a/test/confs/0274
+++ b/test/confs/0274
@@ -14,7 +14,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${if eq{$address_data}{}{${bless:$local_part}}{$address_data}}
+ file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}}
+ create_file = DIR/test-mail
user = CALLER
# ----- Routers -----
diff --git a/test/confs/0280 b/test/confs/0280
index 10717bdcf..f833889b2 100644
--- a/test/confs/0280
+++ b/test/confs/0280
@@ -18,7 +18,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# ----- Routers -----
diff --git a/test/confs/0281 b/test/confs/0281
index 3f737f392..bed03548e 100644
--- a/test/confs/0281
+++ b/test/confs/0281
@@ -68,7 +68,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0282 b/test/confs/0282
index 00958b9a3..a34ea8aca 100644
--- a/test/confs/0282
+++ b/test/confs/0282
@@ -26,7 +26,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = interface-port: $interface_port\n\
received-port: $received_port
diff --git a/test/confs/0283 b/test/confs/0283
index 7f40efb18..62a5e60ca 100644
--- a/test/confs/0283
+++ b/test/confs/0283
@@ -37,12 +37,14 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t3:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = root
# ----- Retry -----
diff --git a/test/confs/0284 b/test/confs/0284
index 98f5660b7..8c76179a7 100644
--- a/test/confs/0284
+++ b/test/confs/0284
@@ -35,14 +35,16 @@ t1:
t2:
driver = appendfile
batch_max = 100
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
envelope_to_add
user = CALLER
t3:
driver = appendfile
batch_max = 100
- file = DIR/test-mail/${bless:$domain}
+ file = DIR/test-mail/$domain
+ create_file = DIR/test-mail
envelope_to_add
user = CALLER
diff --git a/test/confs/0289 b/test/confs/0289
index 56f50118b..44e40a528 100644
--- a/test/confs/0289
+++ b/test/confs/0289
@@ -26,7 +26,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0296 b/test/confs/0296
index 6241af003..4ee779f39 100644
--- a/test/confs/0296
+++ b/test/confs/0296
@@ -25,7 +25,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0298 b/test/confs/0298
index f4f3990e2..546a93bc8 100644
--- a/test/confs/0298
+++ b/test/confs/0298
@@ -32,7 +32,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0299 b/test/confs/0299
index 629f9c40d..a7ec0e5ba 100644
--- a/test/confs/0299
+++ b/test/confs/0299
@@ -30,7 +30,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
shadow_transport = t3
diff --git a/test/confs/0306 b/test/confs/0306
index b3c18f4fa..c346012df 100644
--- a/test/confs/0306
+++ b/test/confs/0306
@@ -64,7 +64,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0307 b/test/confs/0307
index 81857eca4..9e78a0c15 100644
--- a/test/confs/0307
+++ b/test/confs/0307
@@ -54,7 +54,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0309 b/test/confs/0309
index 0a49f221d..0735c2536 100644
--- a/test/confs/0309
+++ b/test/confs/0309
@@ -29,13 +29,15 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_size_limit = $local_part
user = CALLER
bounce:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0310 b/test/confs/0310
index a999c2642..9a2ac203a 100644
--- a/test/confs/0310
+++ b/test/confs/0310
@@ -28,13 +28,15 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = 5
user = CALLER
bounce:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0318 b/test/confs/0318
index ec778a7fd..b57794e07 100644
--- a/test/confs/0318
+++ b/test/confs/0318
@@ -24,8 +24,10 @@ begin transports
local_delivery:
driver = appendfile
- directory = DIR/test-mail
- directory_file = ${bless:$local_part}
+ directory = DIR/test-mail/subdir
+ create_directory
+ directory_file = $local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0319 b/test/confs/0319
index 65416e8b4..791fc9726 100644
--- a/test/confs/0319
+++ b/test/confs/0319
@@ -31,7 +31,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
address_file:
diff --git a/test/confs/0321 b/test/confs/0321
index e73eda67b..b063cdeb1 100644
--- a/test/confs/0321
+++ b/test/confs/0321
@@ -42,7 +42,8 @@ pipe:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0324 b/test/confs/0324
index 3047764bb..65da778c7 100644
--- a/test/confs/0324
+++ b/test/confs/0324
@@ -25,7 +25,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0326 b/test/confs/0326
index a983e071a..107fe96c1 100644
--- a/test/confs/0326
+++ b/test/confs/0326
@@ -38,7 +38,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0327 b/test/confs/0327
index 85b4f894a..30f2576cf 100644
--- a/test/confs/0327
+++ b/test/confs/0327
@@ -40,12 +40,14 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0328 b/test/confs/0328
index b52a2e195..ee5ffaf06 100644
--- a/test/confs/0328
+++ b/test/confs/0328
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0329 b/test/confs/0329
index e126d8c7e..ce43227f3 100644
--- a/test/confs/0329
+++ b/test/confs/0329
@@ -29,7 +29,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0330 b/test/confs/0330
index 066292d1c..385fc7017 100644
--- a/test/confs/0330
+++ b/test/confs/0330
@@ -37,7 +37,8 @@ begin transports
appendfile:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0335 b/test/confs/0335
index 5a99e9bd1..a1a7525ff 100644
--- a/test/confs/0335
+++ b/test/confs/0335
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
envelope_to_add
diff --git a/test/confs/0338 b/test/confs/0338
index d3aa237e9..183226383 100644
--- a/test/confs/0338
+++ b/test/confs/0338
@@ -39,7 +39,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/0345 b/test/confs/0345
index 939bbeaec..fa017ec3b 100644
--- a/test/confs/0345
+++ b/test/confs/0345
@@ -28,7 +28,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
quota = 20
user = CALLER
diff --git a/test/confs/0346 b/test/confs/0346
index 61a487775..6e84faa2e 100644
--- a/test/confs/0346
+++ b/test/confs/0346
@@ -38,7 +38,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
envelope_to_add
diff --git a/test/confs/0351 b/test/confs/0351
index c4353bcff..b61f52973 100644
--- a/test/confs/0351
+++ b/test/confs/0351
@@ -27,7 +27,8 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "\n\
TO: $h_to:\n\
--------------------------------\n\
diff --git a/test/confs/0352 b/test/confs/0352
index 1a37f4100..7d5d75a0d 100644
--- a/test/confs/0352
+++ b/test/confs/0352
@@ -26,6 +26,7 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
# End
diff --git a/test/confs/0353 b/test/confs/0353
index 0f9ef9f4b..8a3bb97a4 100644
--- a/test/confs/0353
+++ b/test/confs/0353
@@ -26,6 +26,7 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
# End
diff --git a/test/confs/0354 b/test/confs/0354
index 4cb670206..ef6b67f8c 100644
--- a/test/confs/0354
+++ b/test/confs/0354
@@ -27,6 +27,7 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
# End
diff --git a/test/confs/0355 b/test/confs/0355
index f24f02bbd..c5a9c4b90 100644
--- a/test/confs/0355
+++ b/test/confs/0355
@@ -29,6 +29,7 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
# End
diff --git a/test/confs/0359 b/test/confs/0359
index 5081b497e..b94eac7c5 100644
--- a/test/confs/0359
+++ b/test/confs/0359
@@ -30,7 +30,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = X-shadowed:
user = CALLER
diff --git a/test/confs/0362 b/test/confs/0362
index 34855e224..1bd44fce7 100644
--- a/test/confs/0362
+++ b/test/confs/0362
@@ -52,7 +52,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0374 b/test/confs/0374
index 1cae0254c..81a3667d3 100644
--- a/test/confs/0374
+++ b/test/confs/0374
@@ -50,7 +50,8 @@ begin transports
# Successful local transport
ut1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}-u
+ file = DIR/test-mail/$local_part-u
+ create_file = DIR/test-mail
user = CALLER
return_path_add
envelope_to_add
@@ -83,7 +84,8 @@ ut4:
# Real delivery
real:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
return_path_add
envelope_to_add
diff --git a/test/confs/0375 b/test/confs/0375
index dce134ef7..3a71bf341 100644
--- a/test/confs/0375
+++ b/test/confs/0375
@@ -85,7 +85,8 @@ begin transports
# Successful local transport
ut1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}-u
+ file = DIR/test-mail/$local_part-u
+ create_file = DIR/test-mail
user = CALLER
return_path_add
envelope_to_add
@@ -146,7 +147,8 @@ ut6:
# Real delivery
real:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
return_path_add
envelope_to_add
diff --git a/test/confs/0377 b/test/confs/0377
index ba8c0aa6c..c26ed4c09 100644
--- a/test/confs/0377
+++ b/test/confs/0377
@@ -65,7 +65,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0379 b/test/confs/0379
index a3d14231b..66a689e5e 100644
--- a/test/confs/0379
+++ b/test/confs/0379
@@ -36,7 +36,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0380 b/test/confs/0380
index 0bad1f7c2..42eb64ed3 100644
--- a/test/confs/0380
+++ b/test/confs/0380
@@ -43,7 +43,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0383 b/test/confs/0383
index 1a2637515..44aff1cef 100644
--- a/test/confs/0383
+++ b/test/confs/0383
@@ -39,7 +39,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0385 b/test/confs/0385
index 4d67fed7b..878819db4 100644
--- a/test/confs/0385
+++ b/test/confs/0385
@@ -31,7 +31,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0386 b/test/confs/0386
index 983af9bd4..d456df5f6 100644
--- a/test/confs/0386
+++ b/test/confs/0386
@@ -36,7 +36,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0393 b/test/confs/0393
index 7ec2e805f..7ffc4290d 100644
--- a/test/confs/0393
+++ b/test/confs/0393
@@ -27,7 +27,8 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
transport_filter = FILTER
diff --git a/test/confs/0395 b/test/confs/0395
index c1c91d51f..49d0df1ba 100644
--- a/test/confs/0395
+++ b/test/confs/0395
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0398 b/test/confs/0398
index 02b537032..fc0027a1e 100644
--- a/test/confs/0398
+++ b/test/confs/0398
@@ -54,7 +54,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0404 b/test/confs/0404
index 542978c83..4093620c3 100644
--- a/test/confs/0404
+++ b/test/confs/0404
@@ -35,7 +35,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0408 b/test/confs/0408
index af74310c8..4f9e2890b 100644
--- a/test/confs/0408
+++ b/test/confs/0408
@@ -26,7 +26,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0412 b/test/confs/0412
index 75147a363..5ed0c828f 100644
--- a/test/confs/0412
+++ b/test/confs/0412
@@ -26,7 +26,8 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "\n\
FROM: $h_from:\n\
--------------------------------\n\
diff --git a/test/confs/0421 b/test/confs/0421
index 99c2608e1..dab74a1af 100644
--- a/test/confs/0421
+++ b/test/confs/0421
@@ -26,7 +26,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_rewrite = *@* abc@x.y.z
user = CALLER
diff --git a/test/confs/0428 b/test/confs/0428
index b0bcb6548..bb2c414fe 100644
--- a/test/confs/0428
+++ b/test/confs/0428
@@ -151,12 +151,13 @@ begin transports
t1:
driver = appendfile
file = ${if eq{$address_file}{inbox} \
- {DIR/test-mail/${bless:$local_part}} \
+ {DIR/test-mail/$local_part} \
{${if eq{${substr_0_1:$address_file}}{/} \
{$address_file} \
{DIR/test-mail/$address_file} \
}} \
}
+ create_file = DIR/test-mail
delivery_date_add
envelope_to_add
return_path_add
@@ -164,7 +165,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
delivery_date_add
envelope_to_add
return_path_add
diff --git a/test/confs/0431 b/test/confs/0431
index c76363eb3..706f08aee 100644
--- a/test/confs/0431
+++ b/test/confs/0431
@@ -48,7 +48,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
use_bsmtp
AFFIX
diff --git a/test/confs/0436 b/test/confs/0436
index 01f1ccb70..6e6724b0a 100644
--- a/test/confs/0436
+++ b/test/confs/0436
@@ -23,7 +23,8 @@ t1:
driver = appendfile
envelope_to_add
use_bsmtp
- file = DIR/test-mail/${bless:$sender_address_local_part}
+ file = DIR/test-mail/$sender_address_local_part
+ create_file = DIR/test-mail
user = CALLER
batch_max = 20000
diff --git a/test/confs/0444 b/test/confs/0444
index 7337a4012..c89862a82 100644
--- a/test/confs/0444
+++ b/test/confs/0444
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0446 b/test/confs/0446
index ca8ef3953..5ae84b6d2 100644
--- a/test/confs/0446
+++ b/test/confs/0446
@@ -43,7 +43,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0449 b/test/confs/0449
index 1c0f675da..ce9e78988 100644
--- a/test/confs/0449
+++ b/test/confs/0449
@@ -27,7 +27,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0452 b/test/confs/0452
index 7ae6a2ad0..8d04b4242 100644
--- a/test/confs/0452
+++ b/test/confs/0452
@@ -32,7 +32,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0456 b/test/confs/0456
index 313aa14a6..2c5514ed2 100644
--- a/test/confs/0456
+++ b/test/confs/0456
@@ -30,7 +30,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# ----- Retry -----
diff --git a/test/confs/0460 b/test/confs/0460
index 4918700f9..9b46c92b7 100644
--- a/test/confs/0460
+++ b/test/confs/0460
@@ -29,7 +29,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0461 b/test/confs/0461
index 6f476e500..f7c3ba180 100644
--- a/test/confs/0461
+++ b/test/confs/0461
@@ -43,7 +43,8 @@ t1:
t2:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0472 b/test/confs/0472
index 0ac7758f8..a0df6c971 100644
--- a/test/confs/0472
+++ b/test/confs/0472
@@ -33,7 +33,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0480 b/test/confs/0480
index d10d12bdd..9b62e49bc 100644
--- a/test/confs/0480
+++ b/test/confs/0480
@@ -42,7 +42,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0481 b/test/confs/0481
index cdd6453dc..41b6da26b 100644
--- a/test/confs/0481
+++ b/test/confs/0481
@@ -37,7 +37,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0485 b/test/confs/0485
index e4711e049..51adbd3f1 100644
--- a/test/confs/0485
+++ b/test/confs/0485
@@ -54,7 +54,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0487 b/test/confs/0487
index 98ff7bf58..e428d45c3 100644
--- a/test/confs/0487
+++ b/test/confs/0487
@@ -25,7 +25,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_rewrite = \N$^\N bogus@bogus fw
user = CALLER
diff --git a/test/confs/0491 b/test/confs/0491
index 646f47afb..153f07cfa 100644
--- a/test/confs/0491
+++ b/test/confs/0491
@@ -30,7 +30,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0493 b/test/confs/0493
index 8de0b83d9..0b4af9333 100644
--- a/test/confs/0493
+++ b/test/confs/0493
@@ -25,7 +25,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0494 b/test/confs/0494
index fb159a783..1ef4a7843 100644
--- a/test/confs/0494
+++ b/test/confs/0494
@@ -29,7 +29,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0495 b/test/confs/0495
index 589686a38..7a879288d 100644
--- a/test/confs/0495
+++ b/test/confs/0495
@@ -76,7 +76,8 @@ t2:
t3:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t4:
diff --git a/test/confs/0496 b/test/confs/0496
index 8819f6230..490c29087 100644
--- a/test/confs/0496
+++ b/test/confs/0496
@@ -39,7 +39,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0500 b/test/confs/0500
index 74c41e72a..72e87c651 100644
--- a/test/confs/0500
+++ b/test/confs/0500
@@ -39,7 +39,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0503 b/test/confs/0503
index da39a89ca..bea7c5326 100644
--- a/test/confs/0503
+++ b/test/confs/0503
@@ -26,7 +26,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
quota = 1000
MSIZE
diff --git a/test/confs/0504 b/test/confs/0504
index d24fca96c..c8bcf0fd2 100644
--- a/test/confs/0504
+++ b/test/confs/0504
@@ -22,7 +22,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
transport_filter = /non/existent/file
diff --git a/test/confs/0508 b/test/confs/0508
index 580f6931e..a7e0114da 100644
--- a/test/confs/0508
+++ b/test/confs/0508
@@ -33,7 +33,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0514 b/test/confs/0514
index 2457c4033..c04e52e94 100644
--- a/test/confs/0514
+++ b/test/confs/0514
@@ -25,7 +25,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0517 b/test/confs/0517
index cc991b2a3..e02695c97 100644
--- a/test/confs/0517
+++ b/test/confs/0517
@@ -36,7 +36,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0522 b/test/confs/0522
index 2e499adf3..44e5a7d5c 100644
--- a/test/confs/0522
+++ b/test/confs/0522
@@ -37,7 +37,8 @@ begin transports
t0:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t1:
diff --git a/test/confs/0523 b/test/confs/0523
index 9e86b5411..bb09bfdb8 100644
--- a/test/confs/0523
+++ b/test/confs/0523
@@ -30,7 +30,8 @@ begin transports
t0:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
envelope_to_add
diff --git a/test/confs/0530 b/test/confs/0530
index a3143a0c7..b38b0919d 100644
--- a/test/confs/0530
+++ b/test/confs/0530
@@ -29,7 +29,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0531 b/test/confs/0531
index f5e29e446..301cf7818 100644
--- a/test/confs/0531
+++ b/test/confs/0531
@@ -31,7 +31,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
lmtp:
diff --git a/test/confs/0532 b/test/confs/0532
index 3842776a5..a6e14f58d 100644
--- a/test/confs/0532
+++ b/test/confs/0532
@@ -69,7 +69,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0533 b/test/confs/0533
index 290d5e68a..82699fe05 100644
--- a/test/confs/0533
+++ b/test/confs/0533
@@ -16,7 +16,7 @@ r1:
driver = redirect
local_part_prefix = file-
local_part_suffix = =*
- data = DIR/test-mail/${bless:${substr_1:$local_part_suffix}}
+ data = DIR/test-mail/${substr_1:$local_part_suffix}
file_transport = t1
r2:
@@ -34,6 +34,7 @@ begin transports
t1:
driver = appendfile
+ create_file = DIR/test-mail
envelope_to_add
user = CALLER
batch_max = 10
diff --git a/test/confs/0535 b/test/confs/0535
index 7960c064d..864320339 100644
--- a/test/confs/0535
+++ b/test/confs/0535
@@ -36,7 +36,8 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
# End
diff --git a/test/confs/0536 b/test/confs/0536
index d526f7710..50f144caa 100644
--- a/test/confs/0536
+++ b/test/confs/0536
@@ -94,6 +94,7 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/0551 b/test/confs/0551
index d5d2ffd57..02ba786b1 100644
--- a/test/confs/0551
+++ b/test/confs/0551
@@ -26,6 +26,7 @@ begin transports
t1:
driver = appendfile
user = CALLER
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
# End
diff --git a/test/confs/0566 b/test/confs/0566
index 4692b22b1..17281775b 100644
--- a/test/confs/0566
+++ b/test/confs/0566
@@ -55,7 +55,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0567 b/test/confs/0567
index 984aceba9..6ee678899 100644
--- a/test/confs/0567
+++ b/test/confs/0567
@@ -80,7 +80,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0571 b/test/confs/0571
index d7c19f14c..dc3d477dc 100644
--- a/test/confs/0571
+++ b/test/confs/0571
@@ -40,7 +40,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
t2:
diff --git a/test/confs/0573 b/test/confs/0573
index 388c53fd0..d46b67a11 100644
--- a/test/confs/0573
+++ b/test/confs/0573
@@ -26,7 +26,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0593 b/test/confs/0593
index 439374e82..baab4f3af 100644
--- a/test/confs/0593
+++ b/test/confs/0593
@@ -1,5 +1,7 @@
# Exim test configuration 0593
+OPT=
+
.include DIR/aux-var/std_conf_prefix
@@ -25,16 +27,17 @@ check_recipient:
begin routers
localuser:
- driver = accept
- check_local_user
- transport = local_delivery
+ driver = accept
+ transport = local_delivery
+ errors_to =
# ----- Transports -----
begin transports
local_delivery:
- driver = appendfile
- file = DIR/test-mail/$local_part
+ driver = appendfile
+ file = DIR/test-mail/$local_part
+ create_file = OPT
# End
diff --git a/test/confs/0600 b/test/confs/0600
index 58257e55e..c2460801a 100644
--- a/test/confs/0600
+++ b/test/confs/0600
@@ -58,7 +58,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/0606 b/test/confs/0606
index d78b8ba47..6388962db 100644
--- a/test/confs/0606
+++ b/test/confs/0606
@@ -60,7 +60,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = X-r1: <$r_r1>\nX-r2: <$r_r2>\nX-r3: <$r_r3>
diff --git a/test/confs/0609 b/test/confs/0609
index 2f658c4d5..0f342dd90 100644
--- a/test/confs/0609
+++ b/test/confs/0609
@@ -37,7 +37,8 @@ begin transports
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/0612 b/test/confs/0612
index da5b72f22..b3174aabc 100644
--- a/test/confs/0612
+++ b/test/confs/0612
@@ -84,7 +84,8 @@ bad_tpt:
tofile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
event_action = ${acl {ev_log}}
diff --git a/test/confs/0900 b/test/confs/0900
index 2409f395e..7775fc4b0 100644
--- a/test/confs/0900
+++ b/test/confs/0900
@@ -96,7 +96,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/0901 b/test/confs/0901
index ed465ace4..a1f391613 100644
--- a/test/confs/0901
+++ b/test/confs/0901
@@ -87,7 +87,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/0906 b/test/confs/0906
index 031065359..5bd5f2a4f 100644
--- a/test/confs/0906
+++ b/test/confs/0906
@@ -74,7 +74,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/1001 b/test/confs/1001
index 878f4145d..9d564b9ab 100644
--- a/test/confs/1001
+++ b/test/confs/1001
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/1002 b/test/confs/1002
index 2ddf2a888..1d9a36c36 100644
--- a/test/confs/1002
+++ b/test/confs/1002
@@ -73,7 +73,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/1003 b/test/confs/1003
index 6405a8725..62eca9f84 100644
--- a/test/confs/1003
+++ b/test/confs/1003
@@ -38,7 +38,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
send_to_server1:
diff --git a/test/confs/1103 b/test/confs/1103
index f2b49c721..b122e9cf1 100644
--- a/test/confs/1103
+++ b/test/confs/1103
@@ -43,7 +43,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1104 b/test/confs/1104
index cdb3d0fc2..9a006fb15 100644
--- a/test/confs/1104
+++ b/test/confs/1104
@@ -44,7 +44,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1105 b/test/confs/1105
index 47f88e865..c5263b809 100644
--- a/test/confs/1105
+++ b/test/confs/1105
@@ -53,7 +53,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1110 b/test/confs/1110
index 64309442e..b22360fe3 100644
--- a/test/confs/1110
+++ b/test/confs/1110
@@ -1,4 +1,4 @@
-# Exim test configuration 1110
+# Exim test configuration 2019
.include DIR/aux-var/tls_conf_prefix
@@ -47,7 +47,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
.ifdef _HAVE_GNUTLS
headers_add = TLS: cipher=$tls_cipher peerdn/cn '${listextract {-1} {<, $tls_in_peerdn}}'
.endif
diff --git a/test/confs/1150 b/test/confs/1150
index b98c8dc45..66f6606d2 100644
--- a/test/confs/1150
+++ b/test/confs/1150
@@ -51,7 +51,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1152 b/test/confs/1152
index eadea0a8a..ebd846f3f 100644
--- a/test/confs/1152
+++ b/test/confs/1152
@@ -45,7 +45,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1157 b/test/confs/1157
index 1b12a5ff5..4151171f4 100644
--- a/test/confs/1157
+++ b/test/confs/1157
@@ -54,7 +54,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1159 b/test/confs/1159
index a549a9f77..8468098aa 100644
--- a/test/confs/1159
+++ b/test/confs/1159
@@ -39,7 +39,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1160 b/test/confs/1160
index 47bb2d5d1..d92a5b2ac 100644
--- a/test/confs/1160
+++ b/test/confs/1160
@@ -53,7 +53,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/1163 b/test/confs/1163
index f9d1ab1bf..27d23e571 100644
--- a/test/confs/1163
+++ b/test/confs/1163
@@ -46,7 +46,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2002 b/test/confs/2002
index 6a322ff50..6428ac61d 100644
--- a/test/confs/2002
+++ b/test/confs/2002
@@ -84,7 +84,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2014 b/test/confs/2014
index ec7c0011f..11f651225 100644
--- a/test/confs/2014
+++ b/test/confs/2014
@@ -52,7 +52,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_in_peerdn
user = CALLER
diff --git a/test/confs/2027 b/test/confs/2027
index 926b09a57..fa7665909 100644
--- a/test/confs/2027
+++ b/test/confs/2027
@@ -42,7 +42,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2032 b/test/confs/2032
index 907ab9947..5db97ecfb 100644
--- a/test/confs/2032
+++ b/test/confs/2032
@@ -61,7 +61,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2102 b/test/confs/2102
index 6ae1514e9..ce86946e3 100644
--- a/test/confs/2102
+++ b/test/confs/2102
@@ -94,7 +94,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2114 b/test/confs/2114
index 17d5ff2d1..1e5a1768c 100644
--- a/test/confs/2114
+++ b/test/confs/2114
@@ -52,7 +52,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_in_peerdn
user = CALLER
diff --git a/test/confs/2127 b/test/confs/2127
index 05dd10f64..4a080d824 100644
--- a/test/confs/2127
+++ b/test/confs/2127
@@ -45,7 +45,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2132 b/test/confs/2132
index 7329e28d1..3a0614d8e 100644
--- a/test/confs/2132
+++ b/test/confs/2132
@@ -55,7 +55,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2149 b/test/confs/2149
index 9fa4fbf5a..dda9094a9 100644
--- a/test/confs/2149
+++ b/test/confs/2149
@@ -40,7 +40,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/2201 b/test/confs/2201
index 3f8f4fb62..8b0c72d91 100644
--- a/test/confs/2201
+++ b/test/confs/2201
@@ -67,7 +67,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
remote_delivery:
diff --git a/test/confs/3206 b/test/confs/3206
index d672ad493..c21a0e129 100644
--- a/test/confs/3206
+++ b/test/confs/3206
@@ -35,7 +35,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/3207 b/test/confs/3207
index 46b7d69dd..328e8460d 100644
--- a/test/confs/3207
+++ b/test/confs/3207
@@ -77,7 +77,8 @@ begin transports
local_delivery:
driver = appendfile
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
smtp:
diff --git a/test/confs/3400 b/test/confs/3400
index d94e70d7c..d5a4ad1c2 100644
--- a/test/confs/3400
+++ b/test/confs/3400
@@ -151,7 +151,8 @@ appendfile:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/3403 b/test/confs/3403
index 5d59e6dee..327308591 100644
--- a/test/confs/3403
+++ b/test/confs/3403
@@ -51,7 +51,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/3408 b/test/confs/3408
index 7de4a6dd5..66d9affbe 100644
--- a/test/confs/3408
+++ b/test/confs/3408
@@ -68,7 +68,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
# End
diff --git a/test/confs/3411 b/test/confs/3411
index b50220887..852a27c68 100644
--- a/test/confs/3411
+++ b/test/confs/3411
@@ -87,7 +87,8 @@ dev_null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/3451 b/test/confs/3451
index f453873cb..8303f28b9 100644
--- a/test/confs/3451
+++ b/test/confs/3451
@@ -61,7 +61,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/3452 b/test/confs/3452
index e4d02b74b..1951dd85d 100644
--- a/test/confs/3452
+++ b/test/confs/3452
@@ -59,7 +59,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/3461 b/test/confs/3461
index 159a55376..b793a4f36 100644
--- a/test/confs/3461
+++ b/test/confs/3461
@@ -57,7 +57,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/3462 b/test/confs/3462
index 75385a029..93b5fa1ec 100644
--- a/test/confs/3462
+++ b/test/confs/3462
@@ -55,7 +55,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/3500 b/test/confs/3500
index 2419dece4..5cf34fa20 100644
--- a/test/confs/3500
+++ b/test/confs/3500
@@ -102,7 +102,8 @@ appendfile:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/3700 b/test/confs/3700
index 4a8d38aae..599f3e50d 100644
--- a/test/confs/3700
+++ b/test/confs/3700
@@ -95,7 +95,8 @@ t2:
file:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/3720 b/test/confs/3720
index 397e4e94d..74faec2cf 100644
--- a/test/confs/3720
+++ b/test/confs/3720
@@ -88,7 +88,8 @@ t1:
file:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/4000 b/test/confs/4000
index d80aaa8f1..81afa5f2d 100644
--- a/test/confs/4000
+++ b/test/confs/4000
@@ -52,7 +52,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/4002 b/test/confs/4002
index cf124eccf..d9a12a368 100644
--- a/test/confs/4002
+++ b/test/confs/4002
@@ -46,7 +46,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/4201 b/test/confs/4201
index a2c45a327..376cea5bd 100644
--- a/test/confs/4201
+++ b/test/confs/4201
@@ -116,7 +116,8 @@ local_delivery:
user = CALLER
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/4211 b/test/confs/4211
index 044888314..a5e823a56 100644
--- a/test/confs/4211
+++ b/test/confs/4211
@@ -107,7 +107,8 @@ local_delivery:
user = CALLER
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/4221 b/test/confs/4221
index 07feb488b..d146ecfdf 100644
--- a/test/confs/4221
+++ b/test/confs/4221
@@ -106,7 +106,8 @@ local_delivery:
user = CALLER
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = "X-body-linecount: $body_linecount\n\
X-message-linecount: $message_linecount\n\
X-received-count: $received_count"
diff --git a/test/confs/4520 b/test/confs/4520
index 1f9d75b80..bb980c037 100644
--- a/test/confs/4520
+++ b/test/confs/4520
@@ -78,7 +78,8 @@ send_to_server:
file:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/4525 b/test/confs/4525
index a5b7f2cd0..040cd117c 100644
--- a/test/confs/4525
+++ b/test/confs/4525
@@ -107,7 +107,8 @@ send_to_server:
file:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/4560 b/test/confs/4560
index 8c5864b9a..8cffd65cf 100644
--- a/test/confs/4560
+++ b/test/confs/4560
@@ -78,7 +78,8 @@ begin transports
tfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
tsmtp:
diff --git a/test/confs/4565 b/test/confs/4565
index 9f1058fb1..e045d5a14 100644
--- a/test/confs/4565
+++ b/test/confs/4565
@@ -59,7 +59,8 @@ begin transports
tfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
tsmtp:
diff --git a/test/confs/4620 b/test/confs/4620
index ad115c962..effc845a5 100644
--- a/test/confs/4620
+++ b/test/confs/4620
@@ -86,7 +86,8 @@ forwarded_external:
appendfile:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# ----- Retry -----
diff --git a/test/confs/4700 b/test/confs/4700
index 04cc37082..d3b842222 100644
--- a/test/confs/4700
+++ b/test/confs/4700
@@ -52,7 +52,8 @@ smtp:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/5003 b/test/confs/5003
index 5aa96819f..76c0149b8 100644
--- a/test/confs/5003
+++ b/test/confs/5003
@@ -24,14 +24,16 @@ begin transports
local_delivery:
driver = appendfile
- directory = DIR/test-mail/${bless:$local_part}
+ directory = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
maildir_format
quota = 1.5K
user = CALLER
local_delivery2:
driver = appendfile
- directory = DIR/test-mail/${bless:$local_part}/
+ directory = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
maildir_format
quota = 1.5K
user = CALLER
diff --git a/test/confs/5005 b/test/confs/5005
index e5a7ef362..1d7d16302 100644
--- a/test/confs/5005
+++ b/test/confs/5005
@@ -27,7 +27,8 @@ begin transports
t1:
driver = appendfile
- directory = DIR/test-mail/${bless:$local_part}
+ directory = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
maildir_format
maildir_use_size_file
diff --git a/test/confs/5006 b/test/confs/5006
index 17cba3c99..1e6e86f25 100644
--- a/test/confs/5006
+++ b/test/confs/5006
@@ -24,7 +24,8 @@ begin transports
t1:
driver = appendfile
- directory = DIR/test-mail/${bless:$local_part}
+ directory = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
maildir_format
maildir_use_size_file
diff --git a/test/confs/5007 b/test/confs/5007
index 7929b406f..877b9b7c3 100644
--- a/test/confs/5007
+++ b/test/confs/5007
@@ -27,7 +27,8 @@ begin transports
t1:
driver = appendfile
- directory = DIR/test-mail/${bless:$local_part}
+ directory = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
maildir_format
maildir_use_size_file
diff --git a/test/confs/5008 b/test/confs/5008
index 1e904d488..43b8b91de 100644
--- a/test/confs/5008
+++ b/test/confs/5008
@@ -27,7 +27,8 @@ begin transports
t1:
driver = appendfile
- directory = DIR/test-mail/${bless:$local_part}
+ directory = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
maildir_format
mailbox_size = 100K
diff --git a/test/confs/5050 b/test/confs/5050
index af6220121..832f0d787 100644
--- a/test/confs/5050
+++ b/test/confs/5050
@@ -32,7 +32,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
file_format = "From : local_delivery :\
*mbx*\r\n : mbx_local_delivery :\
tpmissing : tpmissing"
@@ -45,7 +46,8 @@ bsmtp_local_delivery:
use_bsmtp
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
@@ -54,7 +56,8 @@ mbx_local_delivery:
check_string =
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
mbx_format
message_prefix =
return_path_add
diff --git a/test/confs/5101 b/test/confs/5101
index 1002009f5..542d9ab76 100644
--- a/test/confs/5101
+++ b/test/confs/5101
@@ -35,7 +35,8 @@ local_delivery:
envelope_to_add
headers_add = X-Recipient: local_part=$local_part domain=$domain\n\
X-Home: $home
- file = DIR/test-mail/${if eq{$sender_address}{}{copied}{${bless:$h_mailbox:}}}
+ file = DIR/test-mail/${if eq{$sender_address}{}{copied}{$h_mailbox:}}
+ create_file = DIR/test-mail
user = CALLER
lmtp:
diff --git a/test/confs/5200 b/test/confs/5200
index d30bc3533..03f127921 100644
--- a/test/confs/5200
+++ b/test/confs/5200
@@ -36,7 +36,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
diff --git a/test/confs/5201 b/test/confs/5201
index 2af73f244..a94c5b13a 100644
--- a/test/confs/5201
+++ b/test/confs/5201
@@ -34,7 +34,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/5203 b/test/confs/5203
index 7a1f943a6..64e579d37 100644
--- a/test/confs/5203
+++ b/test/confs/5203
@@ -27,7 +27,8 @@ begin transports
userx_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_suffix = "$address_data\n"
user = CALLER
diff --git a/test/confs/5204 b/test/confs/5204
index a6812213b..4fb15c351 100644
--- a/test/confs/5204
+++ b/test/confs/5204
@@ -64,7 +64,8 @@ null:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/5207 b/test/confs/5207
index 9465cfceb..61f3748f3 100644
--- a/test/confs/5207
+++ b/test/confs/5207
@@ -14,7 +14,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${if eq{$address_data}{}{${bless:$local_part}}{$address_data}}
+ file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}}
+ create_file = DIR/test-mail
user = CALLER
# ----- Routers -----
diff --git a/test/confs/5500 b/test/confs/5500
index 91dc4275d..97894d1cd 100644
--- a/test/confs/5500
+++ b/test/confs/5500
@@ -45,7 +45,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# ----- Routers -----
diff --git a/test/confs/5600 b/test/confs/5600
index 7526b9cc4..6d1559e01 100644
--- a/test/confs/5600
+++ b/test/confs/5600
@@ -66,7 +66,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5610 b/test/confs/5610
index 7526b9cc4..6d1559e01 100644
--- a/test/confs/5610
+++ b/test/confs/5610
@@ -66,7 +66,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5611 b/test/confs/5611
index 09c81ffe9..657c726aa 100644
--- a/test/confs/5611
+++ b/test/confs/5611
@@ -85,7 +85,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5650 b/test/confs/5650
index c48428232..a5637bc83 100644
--- a/test/confs/5650
+++ b/test/confs/5650
@@ -65,7 +65,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5651 b/test/confs/5651
index 0e5e27b85..75adc098e 100644
--- a/test/confs/5651
+++ b/test/confs/5651
@@ -83,7 +83,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5665 b/test/confs/5665
index 9ced25da4..f686ef014 100644
--- a/test/confs/5665
+++ b/test/confs/5665
@@ -95,7 +95,8 @@ remote_delivery:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5670 b/test/confs/5670
index 325ac885b..d4bedac51 100644
--- a/test/confs/5670
+++ b/test/confs/5670
@@ -96,7 +96,8 @@ remote_delivery:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5730 b/test/confs/5730
index 88c229802..edebaf8c0 100644
--- a/test/confs/5730
+++ b/test/confs/5730
@@ -92,7 +92,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5740 b/test/confs/5740
index 5dcbcb5bb..ecf95436b 100644
--- a/test/confs/5740
+++ b/test/confs/5740
@@ -93,7 +93,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
user = CALLER
diff --git a/test/confs/5902 b/test/confs/5902
index ec4306b47..bce0aebd4 100644
--- a/test/confs/5902
+++ b/test/confs/5902
@@ -32,7 +32,8 @@ scan:
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
diff --git a/test/confs/9001 b/test/confs/9001
index ba5a1687f..58c8b4036 100644
--- a/test/confs/9001
+++ b/test/confs/9001
@@ -28,7 +28,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
diff --git a/test/confs/9400 b/test/confs/9400
index 0b54c9675..081c24632 100644
--- a/test/confs/9400
+++ b/test/confs/9400
@@ -42,7 +42,8 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = ${if eq {$local_scan_data}{}{}{LSD: $local_scan_data}}
diff --git a/test/confs/9401 b/test/confs/9401
index ed83ed3de..e0af263fb 100644
--- a/test/confs/9401
+++ b/test/confs/9401
@@ -30,7 +30,8 @@ begin transports
t1:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
headers_add = X-lsd: >$local_scan_data<
diff --git a/test/log/0318 b/test/log/0318
index df62c6c9f..140bddebe 100644
--- a/test/log/0318
+++ b/test/log/0318
@@ -2,4 +2,4 @@
1999-03-02 09:44:33 10HmaX-0005vi-00 => userx <userx@test.ex> R=all T=local_delivery
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss
-1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@test.ex R=all T=local_delivery defer (EEE): File exists: while renaming TESTSUITE/test-mail/temp.pppp.the.local.host.name as TESTSUITE/test-mail/userx
+1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@test.ex R=all T=local_delivery defer (EEE): File exists: while renaming TESTSUITE/test-mail/subdir/temp.pppp.the.local.host.name as TESTSUITE/test-mail/subdir/userx
diff --git a/test/log/0593 b/test/log/0593
index f3ab6ea12..de70c2806 100644
--- a/test/log/0593
+++ b/test/log/0593
@@ -1,2 +1,7 @@
1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain U=CALLER P=local-smtp S=sss
-1999-03-02 09:44:33 10HmaX-0005vi-00 == CALLER@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/CALLER' (file or directory name for local_delivery transport) not permitted
+1999-03-02 09:44:33 10HmaX-0005vi-00 == fred@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/fred' (file or directory name for local_delivery transport) not permitted
+1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain U=CALLER P=local-smtp S=sss
+1999-03-02 09:44:33 10HmaY-0005vi-00 == bill@the.local.host.name R=localuser T=local_delivery defer (EEE): Permission denied: creating lock file hitching post TESTSUITE/test-mail/bill.lock.test.ex.dddddddd.pppppppp (euid=EXIM_UID egid=EXIM_GID)
+1999-03-02 09:44:33 10HmaY-0005vi-00 ** bill@the.local.host.name: retry timeout exceeded
+1999-03-02 09:44:33 10HmaY-0005vi-00 bill@the.local.host.name: error ignored
+1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
diff --git a/test/mail/0318.userx b/test/mail/0318.subdir/userx
index 6f77ef9ee..6f77ef9ee 100644
--- a/test/mail/0318.userx
+++ b/test/mail/0318.subdir/userx
diff --git a/test/msglog/0584.10HmaX-0005vi-00 b/test/msglog/0584.10HmaX-0005vi-00
index 540b68351..fa93f2509 100644
--- a/test/msglog/0584.10HmaX-0005vi-00
+++ b/test/msglog/0584.10HmaX-0005vi-00
@@ -1,2 +1,2 @@
1999-03-02 09:44:33 Received from someone@some.domain U=CALLER P=local-smtp S=sss
-1999-03-02 09:44:33 CALLER@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/CALLER' (file or directory name for local_delivery transport) not permitted
+1999-03-02 09:44:33 fred@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/fred' (file or directory name for local_delivery transport) not permitted
diff --git a/test/msglog/0593.10HmaX-0005vi-00 b/test/msglog/0593.10HmaX-0005vi-00
index 540b68351..fa93f2509 100644
--- a/test/msglog/0593.10HmaX-0005vi-00
+++ b/test/msglog/0593.10HmaX-0005vi-00
@@ -1,2 +1,2 @@
1999-03-02 09:44:33 Received from someone@some.domain U=CALLER P=local-smtp S=sss
-1999-03-02 09:44:33 CALLER@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/CALLER' (file or directory name for local_delivery transport) not permitted
+1999-03-02 09:44:33 fred@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/fred' (file or directory name for local_delivery transport) not permitted
diff --git a/test/paniclog/0593 b/test/paniclog/0593
index af4f47118..c91120311 100644
--- a/test/paniclog/0593
+++ b/test/paniclog/0593
@@ -1 +1 @@
-1999-03-02 09:44:33 10HmaX-0005vi-00 == CALLER@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/CALLER' (file or directory name for local_delivery transport) not permitted
+1999-03-02 09:44:33 10HmaX-0005vi-00 == fred@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/fred' (file or directory name for local_delivery transport) not permitted
diff --git a/test/runtest b/test/runtest
index 858617957..6050411ed 100755
--- a/test/runtest
+++ b/test/runtest
@@ -749,7 +749,7 @@ RESET_AFTER_EXTRA_LINE_READ:
s/remote delivery process \d+ ended/remote delivery process pppp ended/;
# Pid in temp file in appendfile transport
- s"test-mail/temp\.\d+\."test-mail/temp.pppp.";
+ s"test-mail/(subdir/)?temp\K\.\d+\.".pppp.";
# Optional pid in log lines
s/^(\d{4}-\d\d-\d\d\s\d\d:\d\d:\d\d)(\.\d{3}|)(\s[+-]\d{4}|)(\s\[\d+\])/
diff --git a/test/scripts/0000-Basic/0593 b/test/scripts/0000-Basic/0593
index 54ca506cc..81a1b4c03 100644
--- a/test/scripts/0000-Basic/0593
+++ b/test/scripts/0000-Basic/0593
@@ -1,7 +1,19 @@
# tainted data for appendfile file option
+#
+# This should trap
exim -bs -odi
mail from:someone@some.domain
-rcpt to:CALLER@HOSTNAME
+rcpt to:fred@HOSTNAME
+data
+.
+quit
+****
+#
+# taint trap defated by using create_file
+# goes on to fail on perms
+exim -bs -odi -DOPT=DIR/test-mail
+mail from:someone@some.domain
+rcpt to:bill@HOSTNAME
data
.
quit
diff --git a/test/stderr/0023 b/test/stderr/0023
index ddf364bcb..441422371 100644
--- a/test/stderr/0023
+++ b/test/stderr/0023
@@ -603,7 +603,7 @@ LOG: H=[8.8.8.8] F=<x@y> temporarily rejected RCPT <x@y>: ACL nested too deep: p
>>> processing "accept" (TESTSUITE/test-config 85)
>>> check acl = TESTSUITE/aux-fixed/0023.acl1
>>> read ACL from file TESTSUITE/aux-fixed/0023.acl1
->>> processing "accept" (TESTSUITE/test-config 271)
+>>> processing "accept" (TESTSUITE/test-config 272)
>>> check domains = y
>>> y in "y"? yes (matched "y")
>>> check local_parts = x
@@ -616,7 +616,7 @@ LOG: H=[8.8.8.8] F=<x@y> temporarily rejected RCPT <x@y>: ACL nested too deep: p
>>> processing "accept" (TESTSUITE/test-config 85)
>>> check acl = TESTSUITE/aux-fixed/0023.acl1
>>> using ACL "TESTSUITE/aux-fixed/0023.acl1"
->>> processing "accept" (TESTSUITE/test-config 271)
+>>> processing "accept" (TESTSUITE/test-config 272)
>>> check domains = y
>>> y in "y"? yes (matched "y")
>>> check local_parts = x
@@ -630,7 +630,7 @@ LOG: H=[5.6.13.1] F=<x@y> rejected RCPT <x1@y>
>>> processing "accept" (TESTSUITE/test-config 85)
>>> check acl = TESTSUITE/aux-fixed/0023.acl1
>>> using ACL "TESTSUITE/aux-fixed/0023.acl1"
->>> processing "accept" (TESTSUITE/test-config 271)
+>>> processing "accept" (TESTSUITE/test-config 272)
>>> check domains = y
>>> y in "y"? yes (matched "y")
>>> check local_parts = x
@@ -1344,7 +1344,7 @@ LOG: H=[44.44.44.1] Warning: ACL "warn" statement skipped: condition test deferr
>>> processing "accept" (TESTSUITE/test-config 226)
>>> check !acl = TESTSUITE/aux-fixed/0023.acl2
>>> read ACL from file TESTSUITE/aux-fixed/0023.acl2
->>> processing "accept" (TESTSUITE/test-config 271)
+>>> processing "accept" (TESTSUITE/test-config 272)
>>> check domains = b
>>> y in "b"? no (end of list)
>>> accept: condition test failed in ACL "TESTSUITE/aux-fixed/0023.acl2"
@@ -1355,7 +1355,7 @@ LOG: H=[44.44.44.1] Warning: ACL "warn" statement skipped: condition test deferr
>>> processing "accept" (TESTSUITE/test-config 226)
>>> check !acl = TESTSUITE/aux-fixed/0023.acl2
>>> using ACL "TESTSUITE/aux-fixed/0023.acl2"
->>> processing "accept" (TESTSUITE/test-config 271)
+>>> processing "accept" (TESTSUITE/test-config 272)
>>> check domains = b
>>> b in "b"? yes (matched "b")
>>> check local_parts = a
diff --git a/test/stderr/0026 b/test/stderr/0026
index be1f27bd6..e1dfdf664 100644
--- a/test/stderr/0026
+++ b/test/stderr/0026
@@ -6,7 +6,7 @@
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
->>> processing "accept" (TESTSUITE/test-config 60)
+>>> processing "accept" (TESTSUITE/test-config 61)
>>> accept: condition test succeeded in inline ACL
>>> end of inline ACL: ACCEPT
>>> host in ignore_fromline_hosts? no (option unset)
@@ -34,7 +34,7 @@ LOG: 10HmbI-0005vi-00 H=[10.0.0.0] F=<x@y> rejected after DATA: domain missing o
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
->>> processing "accept" (TESTSUITE/test-config 60)
+>>> processing "accept" (TESTSUITE/test-config 61)
>>> accept: condition test succeeded in inline ACL
>>> end of inline ACL: ACCEPT
>>> host in ignore_fromline_hosts? no (option unset)
diff --git a/test/stderr/0042 b/test/stderr/0042
index 2fb24dd16..5d7deb7d8 100644
--- a/test/stderr/0042
+++ b/test/stderr/0042
@@ -7,7 +7,7 @@
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
>>> host in smtp_accept_max_nonmail_hosts? yes (matched "*")
->>> processing "accept" (TESTSUITE/test-config 46)
+>>> processing "accept" (TESTSUITE/test-config 47)
>>> accept: condition test succeeded in inline ACL
>>> end of inline ACL: ACCEPT
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@@ -18,7 +18,7 @@
>>> userx in "userx"? yes (matched "userx")
>>> calling localuser router
>>> routed by localuser router
->>> processing "accept" (TESTSUITE/test-config 46)
+>>> processing "accept" (TESTSUITE/test-config 47)
>>> accept: condition test succeeded in inline ACL
>>> end of inline ACL: ACCEPT
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@@ -29,7 +29,7 @@
>>> junkjunk in "userx"? no (end of list)
>>> no more routers
LOG: VRFY failed for junkjunk@test.ex H=[1.1.1.1]
->>> processing "accept" (TESTSUITE/test-config 46)
+>>> processing "accept" (TESTSUITE/test-config 47)
>>> accept: condition test succeeded in inline ACL
>>> end of inline ACL: ACCEPT
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
diff --git a/test/stderr/0169 b/test/stderr/0169
index 4e0f4b6df..0585da344 100644
--- a/test/stderr/0169
+++ b/test/stderr/0169
@@ -17,6 +17,7 @@ appendfile: mode=600 notify_comsat=0 quota=52428800 warning=41%
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/userx'
lock name: TESTSUITE/test-mail/userx.lock
hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
lock file created
diff --git a/test/stderr/0386 b/test/stderr/0386
index 9f53887c7..f625344eb 100644
--- a/test/stderr/0386
+++ b/test/stderr/0386
@@ -38,15 +38,15 @@ check local_parts = 1
1 in "1"? yes (matched "1")
check acl = TESTSUITE/aux-fixed/0386.acl1
read ACL from file TESTSUITE/aux-fixed/0386.acl1
- processing "accept" (TESTSUITE/test-config 43)
+ processing "accept" (TESTSUITE/test-config 44)
check hosts = :
host in ":"? no (end of list)
accept: condition test failed in ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "deny" (TESTSUITE/test-config 43)
+ processing "deny" (TESTSUITE/test-config 44)
check local_parts = ^.*[@%!/|]
1 in "^.*[@%!/|]"? no (end of list)
deny: condition test failed in ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "require" (TESTSUITE/test-config 43)
+ processing "require" (TESTSUITE/test-config 44)
l_message: Invalid sender
message: Couldn't verify the sender
check verify = sender/defer_ok
@@ -72,7 +72,7 @@ routed by r1 router
----------- end verify ------------
sender x@y verified ok
require: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "deny" (TESTSUITE/test-config 43)
+ processing "deny" (TESTSUITE/test-config 44)
message: No such user here
deny: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl1"
end of ACL "TESTSUITE/aux-fixed/0386.acl1": DENY
@@ -94,15 +94,15 @@ check local_parts = 1
1 in "1"? yes (matched "1")
check acl = TESTSUITE/aux-fixed/0386.acl1
using ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "accept" (TESTSUITE/test-config 43)
+ processing "accept" (TESTSUITE/test-config 44)
check hosts = :
host in ":"? no (end of list)
accept: condition test failed in ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "deny" (TESTSUITE/test-config 43)
+ processing "deny" (TESTSUITE/test-config 44)
check local_parts = ^.*[@%!/|]
1 in "^.*[@%!/|]"? no (end of list)
deny: condition test failed in ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "require" (TESTSUITE/test-config 43)
+ processing "require" (TESTSUITE/test-config 44)
l_message: Invalid sender
message: Couldn't verify the sender
check verify = sender/defer_ok
@@ -127,7 +127,7 @@ routed by r1 router
----------- end verify ------------
sender x@y verified ok
require: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl1"
- processing "deny" (TESTSUITE/test-config 43)
+ processing "deny" (TESTSUITE/test-config 44)
message: No such user here
deny: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl1"
end of ACL "TESTSUITE/aux-fixed/0386.acl1": DENY
@@ -188,7 +188,7 @@ check local_parts = 2
2 in "2"? yes (matched "2")
check acl = TESTSUITE/aux-fixed/0386.acl2
read ACL from file TESTSUITE/aux-fixed/0386.acl2
- processing "warn" (TESTSUITE/test-config 43)
+ processing "warn" (TESTSUITE/test-config 44)
message: X-Warning: $sender_host_address is listed at $dnslist_domain\nX-Warning: $dnslist_text
l_message: found in $dnslist_domain: $dnslist_text
check dnslists = rbl.test.ex
@@ -205,7 +205,7 @@ DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) succeeded
LOG: MAIN
H=[V4NET.11.12.13] U=CALLER Warning: found in rbl.test.ex: This is a test blacklisting message
created log directory TESTSUITE/spool/log
- processing "accept" (TESTSUITE/test-config 43)
+ processing "accept" (TESTSUITE/test-config 44)
accept: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl2"
end of ACL "TESTSUITE/aux-fixed/0386.acl2": ACCEPT
accept: condition test succeeded in ACL "chk_rcpt"
@@ -324,6 +324,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/2'
lock name: TESTSUITE/test-mail/2.lock
hitch name: TESTSUITE/test-mail/2.lock.test.ex.dddddddd.pppppppp
lock file created
@@ -383,7 +384,7 @@ check local_parts = 2
2 in "2"? yes (matched "2")
check acl = TESTSUITE/aux-fixed/0386.acl2
using ACL "TESTSUITE/aux-fixed/0386.acl2"
- processing "warn" (TESTSUITE/test-config 43)
+ processing "warn" (TESTSUITE/test-config 44)
message: X-Warning: $sender_host_address is listed at $dnslist_domain\nX-Warning: $dnslist_text
l_message: found in $dnslist_domain: $dnslist_text
check dnslists = rbl.test.ex
@@ -394,7 +395,7 @@ DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2)
warn: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl2"
LOG: MAIN
H=[V4NET.11.12.13] U=CALLER Warning: found in rbl.test.ex: This is a test blacklisting message
- processing "accept" (TESTSUITE/test-config 43)
+ processing "accept" (TESTSUITE/test-config 44)
accept: condition test succeeded in ACL "TESTSUITE/aux-fixed/0386.acl2"
end of ACL "TESTSUITE/aux-fixed/0386.acl2": ACCEPT
accept: condition test succeeded in ACL "chk_rcpt"
@@ -512,6 +513,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/2'
lock name: TESTSUITE/test-mail/2.lock
hitch name: TESTSUITE/test-mail/2.lock.test.ex.dddddddd.pppppppp
lock file created
diff --git a/test/stderr/0393 b/test/stderr/0393
index 0177ee36d..ac13db4cd 100644
--- a/test/stderr/0393
+++ b/test/stderr/0393
@@ -22,6 +22,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/userx'
lock name: TESTSUITE/test-mail/userx.lock
hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
lock file created
@@ -68,6 +69,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/userx'
lock name: TESTSUITE/test-mail/userx.lock
hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
lock file created
@@ -108,6 +110,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/userx'
lock name: TESTSUITE/test-mail/userx.lock
hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
lock file created
diff --git a/test/stderr/0404 b/test/stderr/0404
index 1240813dc..cf57c90ba 100644
--- a/test/stderr/0404
+++ b/test/stderr/0404
@@ -17379,6 +17379,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/sender'
lock name: TESTSUITE/test-mail/sender.lock
hitch name: TESTSUITE/test-mail/sender.lock.test.ex.dddddddd.pppppppp
lock file created
diff --git a/test/stderr/0408 b/test/stderr/0408
index bd7e753c3..1b55f031e 100644
--- a/test/stderr/0408
+++ b/test/stderr/0408
@@ -149,6 +149,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/userx'
lock name: TESTSUITE/test-mail/userx.lock
hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
lock file created
diff --git a/test/stderr/0487 b/test/stderr/0487
index 2a3446da4..277fba63b 100644
--- a/test/stderr/0487
+++ b/test/stderr/0487
@@ -32,7 +32,7 @@ spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
SMTP>> 250 OK
SMTP<< rcpt to:<userx@test.ex>
-processing "accept" (TESTSUITE/test-config 33)
+processing "accept" (TESTSUITE/test-config 34)
accept: condition test succeeded in inline ACL
end of inline ACL: ACCEPT
SMTP>> 250 Accepted
@@ -150,6 +150,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=0
message_suffix=\n
maildir_use_size_file=no
locking by lockfile fcntl
+de-tainting path 'TESTSUITE/test-mail/userx'
lock name: TESTSUITE/test-mail/userx.lock
hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
lock file created
diff --git a/test/stderr/0593 b/test/stderr/0593
index af4f47118..c91120311 100644
--- a/test/stderr/0593
+++ b/test/stderr/0593
@@ -1 +1 @@
-1999-03-02 09:44:33 10HmaX-0005vi-00 == CALLER@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/CALLER' (file or directory name for local_delivery transport) not permitted
+1999-03-02 09:44:33 10HmaX-0005vi-00 == fred@the.local.host.name R=localuser T=local_delivery defer (-1): Tainted 'TESTSUITE/test-mail/fred' (file or directory name for local_delivery transport) not permitted
diff --git a/test/stderr/5005 b/test/stderr/5005
index cf343d6ba..c01854665 100644
--- a/test/stderr/5005
+++ b/test/stderr/5005
@@ -121,6 +121,7 @@ appendfile: mode=600 notify_comsat=0 quota=500 warning=0
message_prefix=null
message_suffix=null
maildir_use_size_file=yes
+de-tainting path 'TESTSUITE/test-mail/nofile'
ensuring maildir directories exist in TESTSUITE/test-mail/nofile
created directory TESTSUITE/test-mail/nofile
created directory TESTSUITE/test-mail/nofile/tmp
@@ -305,6 +306,7 @@ appendfile: mode=600 notify_comsat=0 quota=500 warning=0
message_prefix=null
message_suffix=null
maildir_use_size_file=yes
+de-tainting path 'TESTSUITE/test-mail/userx'
ensuring maildir directories exist in TESTSUITE/test-mail/userx
created directory TESTSUITE/test-mail/userx/tmp
created directory TESTSUITE/test-mail/userx/new
@@ -491,6 +493,7 @@ appendfile: mode=600 notify_comsat=0 quota=500 warning=0
message_prefix=null
message_suffix=null
maildir_use_size_file=yes
+de-tainting path 'TESTSUITE/test-mail/userx'
ensuring maildir directories exist in TESTSUITE/test-mail/userx
using regex for maildir directory selection: ^(?:cur|new|\..*)$
looking for maildirsize in TESTSUITE/test-mail/userx
@@ -691,6 +694,7 @@ appendfile: mode=600 notify_comsat=0 quota=500 warning=0
message_prefix=null
message_suffix=null
maildir_use_size_file=yes
+de-tainting path 'TESTSUITE/test-mail/userx'
ensuring maildir directories exist in TESTSUITE/test-mail/userx
using regex for maildir directory selection: ^(?:cur|new|\..*)$
looking for maildirsize in TESTSUITE/test-mail/userx
diff --git a/test/stderr/5006 b/test/stderr/5006
index 25b03e8de..250352ffb 100644
--- a/test/stderr/5006
+++ b/test/stderr/5006
@@ -121,6 +121,7 @@ appendfile: mode=600 notify_comsat=0 quota=0 warning=50%
message_prefix=null
message_suffix=null
maildir_use_size_file=yes
+de-tainting path 'TESTSUITE/test-mail/userx'
ensuring maildir directories exist in TESTSUITE/test-mail/userx
created directory TESTSUITE/test-mail/userx
created directory TESTSUITE/test-mail/userx/tmp
diff --git a/test/stderr/5008 b/test/stderr/5008
index f4577c398..8e2b7df40 100644
--- a/test/stderr/5008
+++ b/test/stderr/5008
@@ -17,6 +17,7 @@ appendfile: mode=600 notify_comsat=0 quota=1048576 warning=0
message_prefix=null
message_suffix=null
maildir_use_size_file=no
+de-tainting path 'TESTSUITE/test-mail/userx'
ensuring maildir directories exist in TESTSUITE/test-mail/userx
created directory TESTSUITE/test-mail/userx
created directory TESTSUITE/test-mail/userx/tmp
@@ -56,6 +57,7 @@ appendfile: mode=600 notify_comsat=0 quota=1048576 warning=0
message_prefix=null
message_suffix=null
maildir_use_size_file=no
+de-tainting path 'TESTSUITE/test-mail/userx'
ensuring maildir directories exist in TESTSUITE/test-mail/userx
quota checks on directory TESTSUITE/test-mail/userx
MUNGED: the check_dir_size lines have been sorted to ensure consistency
diff --git a/test/stderr/5204 b/test/stderr/5204
index 9672fd861..64f9d9879 100644
--- a/test/stderr/5204
+++ b/test/stderr/5204
@@ -242,7 +242,7 @@ some.name in helo_lookup_domains? no (end of list)
host in dsn_advertise_hosts? no (option unset)
host in pipelining_advertise_hosts? yes (matched "*")
host in chunking_advertise_hosts? no (end of list)
-processing "accept" (TESTSUITE/test-config 78)
+processing "accept" (TESTSUITE/test-config 79)
check verify = recipient
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing "FAIL cannot route this one (FAIL)"@some.host
diff --git a/test/stdout/0593 b/test/stdout/0593
index 4e4673def..2b1941f58 100644
--- a/test/stdout/0593
+++ b/test/stdout/0593
@@ -4,3 +4,9 @@
354 Enter message, ending with "." on a line by itself
250 OK id=10HmaX-0005vi-00
221 the.local.host.name closing connection
+220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaY-0005vi-00
+221 the.local.host.name closing connection