Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
olvaffe committed Jan 17, 2024
1 parent 7857018 commit 6477b30
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
2 changes: 2 additions & 0 deletions create-links
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ install "gdbinit" ".config/gdb/gdbinit"
install "gitconfig" ".config/git/config"
touch "$dst_base/.config/git/credentials"
install "i3status-config" ".config/i3status/config"
install "msmtprc" ".config/msmtp/config"
install "msmtp-aliases" ".config/msmtp/aliases"
install "sh-aliases.sh" ".config/sh/aliases.sh"
install "sh-paths.sh" ".config/sh/paths.sh"
install "sh-rc.sh" ".config/sh/rc.sh"
Expand Down
10 changes: 3 additions & 7 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,10 @@
default = simple

[sendemail]
smtpEncryption = tls
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpUser = [email protected]
sendmailcmd = msmtp
chainReplyTo = no
confirm = auto
from = Chia-I Wu <[email protected]>
suppresscc = self
suppressFrom = yes
confirm = always

[user]
name = Chia-I Wu
Expand Down
1 change: 1 addition & 0 deletions msmtp-aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default: [email protected]
19 changes: 19 additions & 0 deletions msmtprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# common for all accounts
defaults
auth on
port 465
tls on
tls_starttls off
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.local/state/msmtp.log
aliases ~/.config/msmtp/aliases

# gmail
account gmail
host smtp.gmail.com
user [email protected]
passwordeval "cat ~/.config/msmtp/credential"
from [email protected]

# make gmail the default
account default : gmail

0 comments on commit 6477b30

Please sign in to comment.