Store temporary files in /var/tmp instead /tmp. This should avoid
a possible disk overflow for enormous large mails. Submitted by: grog
This commit is contained in:
parent
4ddfeabd8f
commit
77a87957c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30313
@ -30,7 +30,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)mail.local.8 8.2 (Berkeley) 12/11/93
|
.\" @(#)mail.local.8 8.2 (Berkeley) 12/11/93
|
||||||
.\" $Id$
|
.\" $Id: mail.local.8,v 1.6 1997/02/22 14:21:48 peter Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd December 11, 1993
|
.Dd December 11, 1993
|
||||||
.Dt MAIL.LOCAL 8
|
.Dt MAIL.LOCAL 8
|
||||||
@ -88,8 +88,8 @@ utility exits 0 on success, and >0 if an error occurs.
|
|||||||
Used to set the appropriate time zone on the timestamp.
|
Used to set the appropriate time zone on the timestamp.
|
||||||
.El
|
.El
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /tmp/local.XXXXXX -compact
|
.Bl -tag -width /var/tmp/local.XXXXXX -compact
|
||||||
.It Pa /tmp/local.XXXXXX
|
.It Pa /var/tmp/local.XXXXXX
|
||||||
temporary files
|
temporary files
|
||||||
.It Pa /var/mail/user
|
.It Pa /var/mail/user
|
||||||
user's mailbox directory
|
user's mailbox directory
|
||||||
|
@ -34,4 +34,4 @@
|
|||||||
*/
|
*/
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
|
|
||||||
#define _PATH_LOCTMP "/tmp/local.XXXXXX"
|
#define _PATH_LOCTMP "/var/tmp/local.XXXXXX"
|
||||||
|
Loading…
Reference in New Issue
Block a user