I get a "lot" of email. I am subscribed to LKML that in itself generates a few hundred a day. With that kind of email a typical GUI-based email client like Thunderbird or Evolution are just not good enough for me. Pointing and clicking takes too much time.
I use the following tools to handle email:
- offlineimap - to fetch mail from the sever to my local machine
- mutt - to read and write mail
- msmtp - to transmit mail to the mail server
- imapfilter - for server-side IMAP filtering
I'll try to describe the configuration of each of them here.
Here is my .msmtprc that works with Gmail. (If you use it, please remember to change user and password values)
# Set default values for all following accounts. defaults logfile ~/Mail/.msmtp.log # Verdurent account verdurent protocol smtp host smtp.gmail.com user firstname.lastname@example.org password XXXXXXXXXXXX port 587 auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt #tls_trust_file ~/.certs/ThawtePremiumServerCA_b64.txt syslog LOG_MAIL # Personal account personal protocol smtp host smtp.gmail.com user email@example.com password XXXXXXXXXX port 587 auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt #tls_trust_file ~/.certs/ThawtePremiumServerCA_b64.txt syslog LOG_MAIL # Set a default account account default : verdurent