Skip to content

Commit

Permalink
msmtp
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfallshaw committed Apr 3, 2019
1 parent ef599d0 commit 8dab8b1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ for p in /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/{completio
test -e $p; and source $p
end

# msmtp
set -gx MAIL_SERVER smtp.gmail.com
set -gx MAIL_PORT 587
set -gx MAIL_USE_TLS True
set -gx MAIL_USE_SSL False
set -gx MAIL_USERNAME (security find-generic-password -a dotfiles -s msmtp.email -w)
set -gx MAIL_PASSWORD (security find-generic-password -a dotfiles -s msmtp.pass -w)


# fisher
if not functions -q fisher
echo "Installing fisher for the first time..." >&2
Expand Down
12 changes: 12 additions & 0 deletions msmtprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
defaults
auth on
tls on
tls_fingerprint 38:99:4A:4B:B0:AF:20:25:E0:BC:7A:EC:8F:BC:FC:D3:B9:F8:10:D7:0F:4F:7E:1B:AC:D0:DA:3F:0C:28:7D:30
logfile ~/.msmtp.log
account gmail
host smtp.gmail.com
port 587
from user-from-email
user user-account
password user-password
account default: gmail

0 comments on commit 8dab8b1

Please sign in to comment.