I find dead.letter files from time to time in my $HOME
directory. What they are for?
Asked
Active
Viewed 9.6k times
83

Maja Piechotka
- 16,676
2 Answers
86
Either a program tried to send mail and failed (this is more likely), or you were in the middle of writing mail and broke out, so the client saved the draft in dead.letter
. From the mail
man page:
Normally, when you abort a message with two interrupt characters (usually control-C), mail copies the partial letter to the file dead.letter in your home directory.

Michael Mrozek
- 93,103
- 40
- 240
- 233
1
In my case it was an alert for my HDD death :'(.
It's still good to know what happened by reading the content of the file.
More info are available on the file it self.

Black Mrx
- 39
-
The same is true for me. I see a lot of SMART warnings and failed mounts for drives lol – LianSheng Nov 18 '22 at 03:53
nosave
to the line starting with theset
keyword in/etc/mail.rc
. I have not tested this yet however. – ntninja Feb 05 '18 at 22:31