Gmail and Mutt Howto ==================== I didn't make any of this stuff up. I found a lot of useful howtos and tutorials on the web. Some worked, some didn't. I eventually settled on doing it the way that is described by stoyan in his blog entry here: http://typo.onxen.info/articles/2006/06/27/activemailer-sending-via-gmail (That's how I got mail to be SENT, which is the "hard" part). I also got some information from the document here: http://mogrify.homelinux.org/2006/01/03/using-mutt-with-gmail/ Okay, on Ubuntu, I did: sudo apt-get install mutt sudo apt-get install msmtp Here are the relavant configuration files: ***************** * $HOME/.muttrc * ***************** NOTE: Change the permissions on this file (~/.muttrc) to 0600 'your_username' is just that, your username on the domain 'gmail.com', for example, if your email address is: johndoe@gmail.com, then your username is: johndoe. -------------------------------------cut---------------------------------------- set pop_host="pops://your_username:your_password@pop.gmail.com:995" set pop_last unset pop_delete exec fetch-mail set sendmail="/usr/bin/msmtp" -------------------------------------cut---------------------------------------- ****************** * $HOME/.msmtprc * ****************** -------------------------------------cut---------------------------------------- account gmail host smtp.gmail.com auth on user your_username@gmail.com password your_gmail_password tls on tls_starttls on from your_username@gmail.com maildomain gmail.com account default : gmail -------------------------------------cut---------------------------------------- NOTE: You'll also have to touch a file when you first use mutt, because it will not automatically create the mail spool, at least that is my experience. I cannot remember exactly how I did that, but its not hard to do.