Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dead.letter use huge hard disk space

0 views
Skip to first unread message

Stephen Wong

unread,
Sep 6, 2001, 12:08:37 AM9/6/01
to
I'm using MailStudio 2000 as email engine and it runs on a Linux
server. I found that there is a file called 'dead.letter' located at
the /var/tmp. The problem is, this file will increase in its size
continuously. As a result, the partition, which hosted the directory
'var', will be used up frequently. I required to monitor this file
frequently and delete it when it nearly reach the maximum.

Hence, I would like to ask how I can prevent this incident happen ?
Can I re-locate this files to other partition (or directory) ? Or, can
I disable this 'dead.letter' functin (i.e. the undeliverable mail
won't be stored at dead.letter) ?

Thanks a lot.

Matthew J. Salerno

unread,
Sep 6, 2001, 12:23:54 AM9/6/01
to
I am not sure what MailStudio 2000 is, but it sounds like it provides its
own SMTP service. If that is the case, then the easiest solution I have is
to write a cron job to delete the file for you, or contact MailStudio
support.

Matt


"Stephen Wong" <stephe...@i-evertravel.com> wrote in message
news:eb16b95.01090...@posting.google.com...

Claus Aßmann

unread,
Sep 7, 2001, 12:21:49 AM9/7/01
to
Stephen Wong wrote:

[You don't need to post your question twice]

> Can I re-locate this files to other partition (or directory) ? Or, can
> I disable this 'dead.letter' functin (i.e. the undeliverable mail
> won't be stored at dead.letter) ?

doc/op/op.* (assuming you have a recent version, e.g., 8.11.6
or 8.12)

DeadLetterDrop=file
[no short name] Defines the location of the
system-wide dead.letter file, formerly hard-
coded to /usr/tmp/dead.letter. If this
option is not set (the default), sendmail
will not attempt to save to a system-wide
dead.letter file in the event it can not
bounce the mail to the user or postmaster.
Instead, it will rename the qf file as it
has in the past when the dead.letter file
could not be opened.

ErrorMode=x
[e] Dispose of errors using mode x. The
values for x are:
p Print error messages (default)
q No messages, just give exit status
m Mail back errors
w Write back errors (mail if user not logged in)
e Mail back errors and give zero exit stat always
--
If you feel the urgent wish to send me a courtesy copy of a Usenet
posting, then make sure it's recognizable as such!
The FAQ: http://www.sendmail.org/faq/ Before you ask.

0 new messages