From: Mart Lubbers Date: Tue, 25 Apr 2017 09:49:25 +0000 (+0200) Subject: add hooks for emailing from ru account X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=29f859f3fee831fc86cf621a65a81b243e10b1e8;p=dotfiles.git add hooks for emailing from ru account --- diff --git a/email/.config/msmtp/config b/email/.config/msmtp/config index 20af6b2..0df2a96 100644 --- a/email/.config/msmtp/config +++ b/email/.config/msmtp/config @@ -1,4 +1,4 @@ -account default +account net host mail.martlubbers.net port 587 auth on @@ -7,3 +7,13 @@ tls_fingerprint D8:F2:61:3E:E3:01:7F:E9:EA:EC:77:2C:D0:70:94:34:29:45:F6:32 user mart@martlubbers.net passwordeval pass mail/mart@martlubbers.net from mart@martlubbers.net + +account ru +host smtp-auth.ru.nl +port 587 +auth on +tls on +tls_fingerprint 51:BF:85:89:55:26:F6:73:4D:77:C7:0E:FA:B1:8E:A0:8C:64:BB:8D:21:B9:11:D6:3B:E1:AA:44:8C:DF:93:E0 +user s4109503 +passwordeval pass mail/mart.lubbers@student.ru.nl +from mart.lubbers@student.ru.nl diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc index 634e945..71e7bdf 100644 --- a/email/.mutt/muttrc +++ b/email/.mutt/muttrc @@ -15,6 +15,8 @@ set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/co set send_charset="us-ascii:utf-8" macro index,pager $ "offlineimap &" "Force refresh" macro attach B "firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"" +send2-hook "~f mart@martlubbers.net" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a net\"" +send2-hook "~f mart.lubbers@student.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" # Key bindings bind index gg first-entry diff --git a/shell/.bashrc b/shell/.bashrc index 014c4e1..b95dbc9 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -20,6 +20,7 @@ export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin export PATH=$PATH:~/projects/esp-open-sdk/xtensa-lx106-elf/bin export PATH=$PATH:/opt/texlive/2016/bin/x86_64-linux +export PATH=$PATH:~/.local/texlive/2016/bin/x86_64-linux export GTK_IM_MODULE=xim export QT_IM_MODULE=xim