hobie of RMN <ho...@rumormillnews.com> wrote: > For 20 years I've enjoyed Mutt as my primary mail reader. I used its > 'bounce' feature to deal with HTML mails, sending them to a webmail > program on a different server. But now the jellyfish anti-spam daemon > won't allow me to do that; it rejects my bounced emails because "From:" > and "(envelope-from)" are not the same. > > What's the best way to handle this? Switch to Thunderbird or claws-mail? > I simply use lynx to view 99% of HTML E-Mail and the odd one that doesn't view well by that means I feed into my web browser. All on the same machine.
In ~/.mailcap I have:- text/html; lynx -dont_wrap_pre -dump %s; copiousoutput; nametemplate=%s.html That does the work of viewing most HTML E-Mail as text. Then, when that doesn't work I use 'v' in mutt to view the parts of the E-Mail and feed the text/html bit to my browser with 'm' (view-mailcap). To do this second bit I have the following in ~/.mailcap:- text/html; /home/chris/bin/muttview %s html This comes before the line that calls lynx, I can't quite remember how it works, I think it's the 'copiousoutput' bit that means that line gets selected by default. The /home/chris/bin/muttview is rather complicated in my case because I run mutt remotely by ssh and feed the html back through the ssh connection with a reverse tunnel to view in the browser on the client machine. If you are running mutt locally then just call your web browser. -- Chris Green ยท