aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.msmtprc10
-rw-r--r--.mutt/accounts.rc1
2 files changed, 11 insertions, 0 deletions
diff --git a/.msmtprc b/.msmtprc
index 5a67df2..aea7ec5 100644
--- a/.msmtprc
+++ b/.msmtprc
@@ -113,3 +113,13 @@ auth cram-md5
tls on
tls_starttls on
tls_trust_file SSL_CERTS
+
+account ensl
+from ryan.kavanagh@ens-lyon.fr
+host smtp.ens-lyon.fr
+port 587
+user rkavanag
+password ENS_PASS
+tls on
+tls_starttls on
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
diff --git a/.mutt/accounts.rc b/.mutt/accounts.rc
index 907ad65..588b0fe 100644
--- a/.mutt/accounts.rc
+++ b/.mutt/accounts.rc
@@ -117,5 +117,6 @@ macro compose <F4> '<enter-command>unset sendmail<enter><edit-from><kill-line>Ry
macro compose <Esc><F4> '<enter-command>set sendmail="MSMTP_PATH -a queensucs"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from><kill-line>Ryan Kavanagh <ryan@cs.queensu.ca><enter><edit-fcc><kill-line><enter><enter-command>set postponed="=[Google Mail]/Drafts"<enter>' "Sent mail from cs.queensu.ca account"
macro compose <F5> '<enter-command>set sendmail="MSMTP_PATH"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from><kill-line>Ryan Kavanagh <rak@debian.org><enter><edit-fcc><kill-line><enter><enter-command>set postponed="=[Google Mail]/Drafts"<enter>' "Sent mail from Debian account"
macro compose <F6> '<enter-command>set sendmail="MSMTP_PATH -a ryanakca"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from><kill-line>Ryan Kavanagh <rak@ryanak.ca><enter><edit-fcc><kill-line>imaps://hermes.ryanak.ca/Sent<enter><enter-command>set postponed="imaps://hermes.ryanak.ca/Drafts"<enter>' "Sent mail from ryanak.ca account"
+macro compose <Esc><F6> '<enter-command>set sendmail="MSMTP_PATH -a ensl"<enter><enter-command>unset smtp_url<enter><enter-command>unset smtp_pass<enter><edit-from><kill-line>Ryan Kavanagh <ryan.kavanagh@ens-lyon.fr><enter><edit-fcc><kill-line>=ENSL.INBOX.Sent<enter><enter-command>set postponed="=ENSL.INBOX.Drafts"<enter>' "Sent mail from ens-lyon.fr account"
set certificate_file = '~/.mutt/certs/certificates'