msmtp and mutt.

This commit is contained in:
Artem Sapegin 2013-02-16 01:10:43 +04:00
parent cffab9105a
commit 189a101ac5
4 changed files with 29 additions and 0 deletions

View File

@ -56,6 +56,8 @@ cd -
# Everything else
brew install unrar
brew install ack
brew install msmtp --with-macosx-keyring
brew install mutt --sidebar-patch
# Node.js
brew install node

1
tilde/mailrc Normal file
View File

@ -0,0 +1 @@
set sendmail=/usr/local/bin/msmtp

25
tilde/msmtprc Normal file
View File

@ -0,0 +1,25 @@
# http://www.tuaw.com/2010/05/04/msmtp-a-free-tool-to-send-email-from-terminal/
# Set default values for all following accounts
defaults
tls on
logfile ~/.msmtp.log
# Gmail account
account artem@sapegin.ru
host smtp.gmail.com
port 587
protocol smtp
auth on
from artem@sapegin.ru
user artem@sapegin.ru
tls on
tls_starttls on
# This next line is crucial: you have to point to the correct security certificate for GMail.
# If this doesn't work, check the mstmp documentation at http://msmtp.sourceforge.net/documentation.html for help.
# This next line should all be on one long line:
tls_trust_file ~/Dropbox/Prefs/Thawte Root Certificates/thawte Premium Server CA/Thawte Premium Server CA.pem
# Set default account. You need to set a default account for Mail.
account default : artem@sapegin.ru

1
tilde/muttrc Normal file
View File

@ -0,0 +1 @@
set sendmail=/usr/local/bin/msmtp