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?

link|improve this question
feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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