On 28Apr2013 23:34, Ulrich Lauther <ulrich.laut...@t-online.de> wrote: | I upgraded to ubuntu 12.04 which implies mutt 1.5.21 | Now, when I do | mutt -f mbox | where mbox contains all my old, already read, messages, | mutt tries to open a firefox tab for each message containing html. | (I have | auto_view text/html in .muttrc | and | text/html; firefox_elinks %s; needsterminal; copiousoutput; | in .mailcap | ) | | I tried to fiddle with mail_check_recent, to no avail. | | Compiling and installing 1.4.2.3 fixed the problem, but is there | a configuration option in 1.5.21 to avoid this strange behaviour?
I would expect it to be the copiusoutput string. copiousoutput is used to choose the decoder used to render html as plain text for viewing in mutt's pager. The line without "copiousoutput" (not that you have one) would be the one to open some HTML in a broswer (for example). My html mailcap lines go: text/html; env DISPLAY= unhtml %s | less text/html; exec 2>&1 && env DISPLAY= unhtml %s; copiousoutput The copiousoutput one runs "unhtml", a little wrapper script I have here that uses w3m and a couple of other things to transcribe HTML as text. The non-copious output one is for viewing HTML in the "attachements" menu, where one might reasonably pop the text up in a browser or something. You can see I just render it as text and page it with "less". Try removing "copiousoutput" from you mailcap line and see if the behaviour changes. I would point it that it is not just viewing messages that will trigger this. And message search you do that needs to search the message body will fire the mailcap line as well. Cheers, -- Cameron Simpson <c...@zip.com.au> Our friend Trefayne is really most intuitive; you may trust that anything he says is absolutely true. - Aylebourne