summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-20 16:36:35 +0000
committerStef Walter <stef@memberwebs.com>2004-09-20 16:36:35 +0000
commitdd90660cc1d49f9ff54c0d9333efa67e30fd4ddd (patch)
treef4e664a61860ae1b34e583dd3e7a946778e3c4a3
parentff2c36735644c1045135dacb1ae1cbe5f44e90b2 (diff)
Change "TMP" to "TMPDIR"
-rw-r--r--common/smtppass.c2
-rw-r--r--doc/clamsmtpd.82
2 files changed, 2 insertions, 2 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index 6a30ad8..72ca71c 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -1394,7 +1394,7 @@ void sp_setup_forked(spctx_t* ctx, int file)
if(file && ctx->cachename[0])
setenv("EMAIL", ctx->cachename, 1);
- setenv("TMP", g_state.directory, 1);
+ setenv("TMPDIR", g_state.directory, 1);
}
diff --git a/doc/clamsmtpd.8 b/doc/clamsmtpd.8
index 526f4ae..9501064 100644
--- a/doc/clamsmtpd.8
+++ b/doc/clamsmtpd.8
@@ -168,7 +168,7 @@ The email addresses of the email recipients. These are specified one per
line, in standard address format.
.It Ar SENDER
The email address for the sender of the email.
-.It Ar TMP
+.It Ar TMPDIR
The path to the temp directory in use. This is the same as the
.Ar TempDirectory
option.