Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
user:sachy:lakatux [2019/08/03 17:34]
sachy
user:sachy:lakatux [2019/11/26 23:21] (current)
sachy mutt & html shitmails
Line 121: Line 121:
 $ echo 'set editor="​nano --syntax=mutt "'​ >> $HOME/​.mutt/​muttrc $ echo 'set editor="​nano --syntax=mutt "'​ >> $HOME/​.mutt/​muttrc
 </​code>​ </​code>​
- 
-=== Zobrazeni TEXT/HTML === 
- 
-Maily z Utlouku ci jineho bazmekwaru produkujiciho straslivy "​mimetype:​ text/​html"​ humus lze umravnit odstranenim XML ze zprav (.mutt/​muttrc):​ 
-<​code>​ 
-set display_filter = " sed -e '​s/<​[^><​]*>//​g'​ " 
-</​code>​ 
-Je to ale jen hotfix (utloucke maily jsou chvalne v text-only klientech necitelne zprasene) plny escape bugu. Lynx -dump je urcite lepsi reseni, ale ne vsude dostupne. 
  
 === Mutt v ruznych sitich === === Mutt v ruznych sitich ===
Line 174: Line 166:
 viz: [[https://​robbat2.livejournal.com/​241544.html?​nojs=1]] viz: [[https://​robbat2.livejournal.com/​241544.html?​nojs=1]]
  
 +=== text/html a text/plain ===
  
 +How to read HTML emails in mutt, but automatically prefer plaintext if available in the multipart?
 +The way is self-explaining...
 +
 +<code blah .muttrc>
 +auto_view text/html
 +alternative_order text/plain text/html
 +</​code>​
 +
 +<code blah .mailcap>​
 +text/html; links %s; nametemplate=%s.html
 +text/html; links -dump %s; nametemplate=%s.html;​ copiousoutput
 +</​code>​
  
 ==== URL MitM ==== ==== URL MitM ====
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki