From fcba9e893be8232843826328b11e5893518a58a9 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 2 Feb 2017 11:08:53 +0000 Subject: add college email --- Mail/msmtprc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Mail/msmtprc') diff --git a/Mail/msmtprc b/Mail/msmtprc index 297afde..6b02734 100644 --- a/Mail/msmtprc +++ b/Mail/msmtprc @@ -8,6 +8,15 @@ user v@skozl.com tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt +account imperial +host smtp.office365.com +port 587 +protocol smtp +auth on +from vasil.zlatanov15@imperial.ac.uk +user vasil.zlatanov15@imperial.ac.uk +tls on +tls_starttls on account bitmessage host mail.bitmessage.ch -- cgit v1.2.3-54-g00ecf From 0acc2b9fb6df46ea7f45464e80437384a3fb43ac Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 30 Sep 2017 15:55:01 +0100 Subject: Add macros to change sender address --- Mail/msmtprc | 3 ++- Mail/muttrc | 12 +++++++++++- Window_Manager/ratpoison/ratpoisonrc.conf | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) (limited to 'Mail/msmtprc') diff --git a/Mail/msmtprc b/Mail/msmtprc index 6b02734..19ea47a 100644 --- a/Mail/msmtprc +++ b/Mail/msmtprc @@ -14,9 +14,10 @@ port 587 protocol smtp auth on from vasil.zlatanov15@imperial.ac.uk -user vasil.zlatanov15@imperial.ac.uk +user vz215@ic.ac.uk tls on tls_starttls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt account bitmessage host mail.bitmessage.ch diff --git a/Mail/muttrc b/Mail/muttrc index 2f5cba3..cdbcc05 100644 --- a/Mail/muttrc +++ b/Mail/muttrc @@ -3,7 +3,7 @@ source ~/.mutt/crypto.rc #LocalMail config set mbox_type = Maildir -set sendmail = /usr/local/bin/msmtpq +set sendmail = msmtp set folder = ~/.mail/ set spoolfile = "+dove/Inbox" @@ -82,6 +82,16 @@ bind browser,pager \Cy previous-line bind index \Ce next-line bind index \Cy previous-line +# Change from address +bind index F noop +macro index Fi \ + ":set sendmail='msmtp -a imperial'; set from='vasil.zlatanov15@imperial.ac.uk" \ + ":set from to vasil.zlatanov15@imperial.ac.uk" + +macro index Fd \ + "set sendmail='msmtp'; set sendmail='v@skozl.com'" \ + "set from to v@skozl.com' + bind index d noop macro index dd \ "+dove/Trash" \ diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index 02abfc2..a68766d 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -106,7 +106,7 @@ bind V hsplit 2/3 bind s vsplit bind S vsplit 2/3 bind d remove -bind space exec qterminal +bind space exec urxvt bind o only bind semicolon colon bind e exec @@ -160,7 +160,7 @@ definekey top s-c colon cont definekey top s-x colon stop definekey top s-f exec firefox -definekey top s-v exec chromium --new-window --start-fullscreen https://google.com +definekey top s-v exec chromium definekey top s-V exec mpv `xclip -o` --ytdl-format=22 definekey top s-h exec ~/.config/vimb/history-search #definekey top s-g exec gvim -- cgit v1.2.3-54-g00ecf