diff --git a/setup/stuff.sh b/setup/stuff.sh index a75607e..99e8eb1 100755 --- a/setup/stuff.sh +++ b/setup/stuff.sh @@ -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 diff --git a/tilde/mailrc b/tilde/mailrc new file mode 100644 index 0000000..f063f38 --- /dev/null +++ b/tilde/mailrc @@ -0,0 +1 @@ +set sendmail=/usr/local/bin/msmtp \ No newline at end of file diff --git a/tilde/msmtprc b/tilde/msmtprc new file mode 100644 index 0000000..f730a30 --- /dev/null +++ b/tilde/msmtprc @@ -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 \ No newline at end of file diff --git a/tilde/muttrc b/tilde/muttrc new file mode 100644 index 0000000..f063f38 --- /dev/null +++ b/tilde/muttrc @@ -0,0 +1 @@ +set sendmail=/usr/local/bin/msmtp \ No newline at end of file