User Tools

Site Tools


user:sachy:lakatux

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
user:sachy:lakatux [2019/08/03 15:34] sachyuser:sachy:lakatux [2019/11/26 22:21] – mutt & html shitmails sachy
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 ====
user/sachy/lakatux.txt · Last modified: 2023/09/10 09:16 by sachy