summaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-10-10 12:56:27 -0500
committerDanny Holman <dholman@gymli.xyz>2021-10-10 12:56:27 -0500
commite55af2b2c4ccd832f96270fbdfcc01e3c08c21ec (patch)
tree603ad86d011775fe071454faa81a36b4bfc53404 /.mutt
parent26c4845807db6a72eaa47c510b53b3b12d7e701c (diff)
Email: use msmtp instead of smtp on email
Use a centralized msmtp config rather than setting up smtp configs on all email services.
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/gymli7
-rw-r--r--.mutt/tech9
2 files changed, 4 insertions, 12 deletions
diff --git a/.mutt/gymli b/.mutt/gymli
index 3a47176..31e2111 100644
--- a/.mutt/gymli
+++ b/.mutt/gymli
@@ -9,11 +9,8 @@ unmailboxes *
mailboxes =INBOX =Sent =Trash =Drafts =Junk =Archive
## SMTP
-set smtp_url = smtp://$imap_user:$imap_pass@mail.gymli.xyz
-set realname = "Danny Holman"
-set from = $imap_user@gymli.xyz
-set ssl_force_tls = yes
-set ssl_starttls
+set from = Danny Holman <$imap_user@gymli.xyz>
+set sendmail = "/usr/bin/msmtp -a private -t"
## Hook
account-hook $folder "set imap_user=dholman@gymli.xyz imap_pass=`pass gymli.xyz/mail/dholman`"
diff --git a/.mutt/tech b/.mutt/tech
index df00287..aba2a8b 100644
--- a/.mutt/tech
+++ b/.mutt/tech
@@ -6,16 +6,11 @@ set spoolfile = +INBOX
set postponed = +Drafts
set record = "+Sent Items"
unmailboxes *
-mailboxes =INBOX =Drafts "=Sent Items" "=Deleted Items"
+mailboxes =INBOX =Archive "=Junk Email" =Drafts "=Sent Items" "=Deleted Items"
## SMTP
-set smtp_url = smtp://$imap_user@outlook.office365.com
-set smtp_pass = $imap_pass
-set realname = "Danny Holman"
set from = $imap_user
-set ssl_force_tls = yes
-set smtp_authenticators = "login"
-set ssl_starttls
+set sendmail = "/usr/bin/msmtp -a ttu -t"
## Hook
account-hook $folder "set imap_user=dsholman42@tntech.edu imap_pass=`pass tntech.edu/dsholman42`"