summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.