Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an automysqlbackup.sh 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

1 Answer 1

up vote 0 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

 
discard

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.