Contents
What is the default copy variable in Mutt?
By default, in Mutt, the copy variable is set to ‘yes’, so copies of outgoing messages are saved for later references in the file specified via the record variable, which, by default, is ~/sent.
Is there a way to set Mutt to false in Gmail?
Since we are configuring Mutt to work with gmail, which has this functionality built in (outgoing email are stored in the remote “ [Gmail]/Sent Mail” folder), we want to set copy to false, otherwise sent emails would be also saved locally, in the location we saw above ( $record ).
How often does Mutt search for new mails?
As happens for timeout this variable accepts a numerical value, which is interpreted as the minimum time in seconds between two scans. The default value for the variable is 5 so mutt will search for new mails every 5 second even if keys are pressed very often.
How is the from header set in Mutt?
Normally, mutt sets the From: header based on the from configuration variable you set in ~/.muttrc: If this is not set, mutt uses the EMAIL environment variable by default. In which case, you can get away with calling mutt like this on the command line (as opposed to how you showed it in your comment):
Where do I create a mutt configuration file?
We can choose among many paths to create the Mutt configuration file, however the most common ones are ~/.muttrc and ~/.config/mutt/muttrc; in this tutorial we will use the former. Here are some of the directives we may want to use inside of it:
How does Mutt work when no subject is given?
Via the abort_nosubject we can setup how Mutt will behave when a message is composed but no subject is given at the subject prompt. The default for this option is ask-yes, meaning that will be asked to confirm if we really want to send the message anyway, with the “yes” option used as default.
How to delete a plain text file in Mutt?
You can now delete the original, plain text one. To source the encrypted file from the main Mutt configuration, all we have to do is to place this line at the beginning of the ~/.muttrc configuration file: Notice the traling pipe: this is important to let Mutt use the output of the command.