add hooks for emailing from ru account
authorMart Lubbers <mart@martlubbers.net>
Tue, 25 Apr 2017 09:49:25 +0000 (11:49 +0200)
committerMart Lubbers <mart@martlubbers.net>
Tue, 25 Apr 2017 09:49:25 +0000 (11:49 +0200)
email/.config/msmtp/config
email/.mutt/muttrc
shell/.bashrc

index 20af6b2..0df2a96 100644 (file)
@@ -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
index 634e945..71e7bdf 100644 (file)
@@ -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 $ "<shell-escape>offlineimap &<enter><sync-mailbox>" "Force refresh"
 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
+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
index 014c4e1..b95dbc9 100644 (file)
@@ -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