From 6bd6e3b76e3b9a31fc2930f61189e4e06d90b873 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 13 May 2016 14:40:13 +0100 Subject: [PATCH] Working offline mail config --- offline_mail/.msmtprc | 41 +++++++++++++++++++++++ offline_mail/.mutt/account.musoft | 1 + offline_mail/.mutt/account.personal | 1 + offline_mail/.mutt/account.personal-gmail | 1 + offline_mail/.mutt/account.student | 1 + 5 files changed, 45 insertions(+) create mode 100644 offline_mail/.msmtprc diff --git a/offline_mail/.msmtprc b/offline_mail/.msmtprc new file mode 100644 index 0000000..3db92b1 --- /dev/null +++ b/offline_mail/.msmtprc @@ -0,0 +1,41 @@ +defaults +tls on +tls_starttls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt + + +account personal +host mail.friedersdorff.com +port 587 +protocol smtp +auth on +from max@friedersdorff.com +user max@friedersdorff.com +passwordeval gpg -q --no-tty --for-your-eyes-only -d /home/max/.mail_pass/personal.gpg + +account personal-gmail +host smtp.gmail.com +port 587 +protocol smtp +auth on +from maxf130@gmail.com +user maxf130@gmail.com +passwordeval gpg -q --no-tty --for-your-eyes-only -d /home/max/.mail_pass/personal-gmail.gpg + +account student +host smtp.office365.com +port 587 +protocol smtp +auth on +from mf195@student.le.ac.uk +user mf195@student.le.ac.uk +passwordeval gpg -q --no-tty --for-your-eyes-only -d /home/max/.mail_pass/student.gpg + +account musoft +host smtp.gmail.com +port 587 +protocol smtp +auth on +from max@musoft.co.uk +user max@musoft.co.uk +passwordeval gpg -q --no-tty --for-your-eyes-only -d /home/max/.mail_pass/musoft.gpg diff --git a/offline_mail/.mutt/account.musoft b/offline_mail/.mutt/account.musoft index e176dab..6ba3af2 100644 --- a/offline_mail/.mutt/account.musoft +++ b/offline_mail/.mutt/account.musoft @@ -1,5 +1,6 @@ set from = "max@musoft.co.uk" set realname = "Maximilian Friedersdorff" +set sendmail = "/usr/bin/msmtp --account=musoft" set spoolfile = "+musoft/INBOX" set postponed = "+musoft/Drafts" diff --git a/offline_mail/.mutt/account.personal b/offline_mail/.mutt/account.personal index 21cf92c..c7f4485 100644 --- a/offline_mail/.mutt/account.personal +++ b/offline_mail/.mutt/account.personal @@ -1,5 +1,6 @@ set from = "max@friedersdorff.com" set realname = "Maximilian Friedersdorff" +set sendmail = "/usr/bin/msmtp --account=personal" set spoolfile = "+personal/Inbox" set postponed = "+personal/Drafts" diff --git a/offline_mail/.mutt/account.personal-gmail b/offline_mail/.mutt/account.personal-gmail index 216a82d..780d86c 100644 --- a/offline_mail/.mutt/account.personal-gmail +++ b/offline_mail/.mutt/account.personal-gmail @@ -1,5 +1,6 @@ set from = "maxf130@gmail.com" set realname = "Maximilian Friedersdorff" +set sendmail = "/usr/bin/msmtp --account=personal-gmail" set spoolfile = "+personal-gmail/INBOX" set postponed = "+personal-gmail/[Gmail]/Drafts" diff --git a/offline_mail/.mutt/account.student b/offline_mail/.mutt/account.student index 0a4cd87..cbadeaa 100644 --- a/offline_mail/.mutt/account.student +++ b/offline_mail/.mutt/account.student @@ -1,5 +1,6 @@ set from = "mf195@student.le.ac.uk" set realname = "Maximilian Friedersdorff" +set sendmail = "/usr/bin/msmtp --account=student" set spoolfile = "+student/Inbox" set postponed = "+student/Drafts" -- 2.46.2