Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an script that backs up and sends the database via cron. The script uses mutt to send the compressed file as attachment. I am on a shared hosting server.

It looks like mutt creates a temporary file named 'sent' in my home directory with all the headers and encoded attachment, and then fails to delete it. This file keeps growing with each attachment sent. I can't find any reference to this file in mutt's manual, according to the man page, mutt temporary files look like muttXXXXX.

Other than deleting the file manually, what are my options?

share|improve this question
up vote 2 down vote accepted

This is not a temporary file, but your "sent-mail" folder, so this is expected behavior.

It should be possible to disable this with the command

set copy=no 

in your ~/.muttrc file

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.