Re: How best to build on Ubuntu (15.04) ?

2015-04-29 Thread Chris Green
On Tue, Apr 28, 2015 at 05:44:34PM -0400, Xu Wang wrote:
 Dear Mutt users,
 
 I am quite happy to begin using Mutt. I would like to build Mutt on
 Ubuntu 15.04. However, I am confused because of all the different
 patches there exist. Does someone have a script that they would be
 interested in sharing which does a build that is sensible? For
 example, how to build the equivalent of mutt-patched? Or do you have
 recommendations for a different set of patches to apply?
 
Why are you buildng it yourself?  You get a pretty recent version of
mutt if you just install it from the Ubuntu repository.

-- 
Chris Green


Re: How best to build on Ubuntu (15.04) ?

2015-04-29 Thread Heinz Diehl
On 28.04.2015, Xu Wang wrote: 

 Does someone have a script that they would be
 interested in sharing which does a build that is sensible?

Usually, I'm building it the easy way:

1. configure --enable-imap --enable-hcache --with-ssl --with-sasl
2. make
3. make install

 For example, how to build the equivalent of mutt-patched? Or do you have
 recommendations for a different set of patches to apply?

I think you don't need one at all. At least I do not..





Re: display html email in browser?

2015-04-29 Thread Michael Tatge
* On Tue, Apr 28, 2015 12:09PM -0400 Peter P. (peterpar...@fastmail.com) 
muttered:
 Is there a way to have an html email rendered and displayed in a browser
 window?

There used to be a page about that in the mutt wiki (wiki.mutt.org)
though I cannot find it right now.

In short:

~/.muttrc
# i prefere text/plain thank you (show text part of multipart messages
# rather then html
alternative_order text/enriched text/plain text/html

# this is needed for the autoview part in mailcap
auto_view text/html

~/.mailcap
# used when (v)iewing (use any browser you like)
# text/html; w3m -v -F -T text/html '%s'; nametemplate=%s.html
# text/html; /usr/bin/opera -newpage '%s'; test=test $DISPLAY != 
# text/html; /usr/bin/firefox -new-tab '%s'; test=test $DISPLAY != 
text/html; links2 -codepage utf8 '%s'; nametemplate=%s.html; needsterminal

# for autoview
text/html; lynx -stdin -dump -force_html ; copiousoutput; needsterminal

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


mutt S/MIME

2015-04-29 Thread Thomas Klausner
Hi!

I want to use mutt to send S/MIME encrypted/signed mails. I managed to
set up keys for myself and a friend once already, but they expired, so
I replaced my key. (I haven't managed to replace his key yet. I find
handling keys very hard, because there are too many formats and most
guides assume too much knowledge, and smime_keys errors out quite
easily.)

Is there a way to configure mutt in such a way that I can read mails
encrypted using my old key and ones encrypted using my current key in
the same session?

Using the piece of code most pages cite:

set crypt_autosign = no
set smime_default_key=.1
set smime_timeout=3600
# always encrypt to myself as well
set smime_encrypt_command=openssl smime -encrypt -%a -outform DER -in %f %c 
/home/wiz/.smime/certificates/.1

I have to use change smime_default before every start to the
appropriate key, otherwise it doesn't work.

 Thomas


Re: How best to build on Ubuntu (15.04) ?

2015-04-29 Thread Xu Wang
On Tue, Apr 28, 2015 at 6:16 PM, Dan Ritter d...@randomstring.org wrote:
 On Tue, Apr 28, 2015 at 05:44:34PM -0400, Xu Wang wrote:
 Dear Mutt users,

 I am quite happy to begin using Mutt. I would like to build Mutt on
 Ubuntu 15.04. However, I am confused because of all the different
 patches there exist. Does someone have a script that they would be
 interested in sharing which does a build that is sensible? For
 example, how to build the equivalent of mutt-patched? Or do you have
 recommendations for a different set of patches to apply?

 Ubuntu ships mutt already, because Debian does. You
 can:

 apt-get build-dep mutt
 apt-get source mutt

 and that will get you a system that can build exactly what
 Ubuntu shipped; you can then add or remove patches as you like.


Thank you, Dan.

Xu


Re: How best to build on Ubuntu (15.04) ?

2015-04-29 Thread Xu Wang
On Wed, Apr 29, 2015 at 3:14 AM, Heinz Diehl htd...@fritha.org wrote:
 On 28.04.2015, Xu Wang wrote:

 Does someone have a script that they would be
 interested in sharing which does a build that is sensible?

 Usually, I'm building it the easy way:

 1. configure --enable-imap --enable-hcache --with-ssl --with-sasl
 2. make
 3. make install

Ah thank you. This is useful to me to see an example, even though I
could have gotten information from configure --help. I actually like
to see an example of what someone else does so I know that I am using
a sensible or common configure command.


 For example, how to build the equivalent of mutt-patched? Or do you have
 recommendations for a different set of patches to apply?

 I think you don't need one at all. At least I do not..

Ah, good to know. I guess I saw that since there is shipped
mutt-patched that it is very common to patch mutt. Also I have seen
that there is low level of development on mutt last few years so I
imagined (without much knowledge) that this meant maybe some things
were broken.

Xu






Re: How best to build on Ubuntu (15.04) ?

2015-04-29 Thread Xu Wang
On Wed, Apr 29, 2015 at 4:35 PM, Heinz Diehl h...@fritha.org wrote:
 On 29.04.2015, Xu Wang wrote:

 Also I have seen that there is low level of development on mutt
 last few years so I imagined (without much knowledge)
 that this meant maybe some things were broken.

 Actually, it seems to be the other way 'round: mutt is quite stable compared 
 to
 other MUAs.

Ah yes this makes sense. I guess from my perspective it was difficult
to know whether there was not much activity because it was stable or
because it was abandoned. I am delighted to know the good news.

 Moreover, most people want a GUI based mailreader nowadays (which
 isn't nearly as capable and convenient as mutt - they just don't know) :-)

Indeed. Indeed! I am beginning to see such power.

Xu


Re: How best to build on Ubuntu (15.04) ?

2015-04-29 Thread Xu Wang
On Wed, Apr 29, 2015 at 4:31 AM, Chris Green c...@isbd.net wrote:
 On Tue, Apr 28, 2015 at 05:44:34PM -0400, Xu Wang wrote:
 Dear Mutt users,

 I am quite happy to begin using Mutt. I would like to build Mutt on
 Ubuntu 15.04. However, I am confused because of all the different
 patches there exist. Does someone have a script that they would be
 interested in sharing which does a build that is sensible? For
 example, how to build the equivalent of mutt-patched? Or do you have
 recommendations for a different set of patches to apply?

 Why are you buildng it yourself?  You get a pretty recent version of
 mutt if you just install it from the Ubuntu repository.

Most of the reason is for fun :)
Also if someday I find a bug, I like to try to reproduce the bug on
latest version before reporting it. I find that developers appreciate
that.

Xu


Offline hcache access

2015-04-29 Thread Paul Tansom
Is there a way to start Mutt and use the local hcache contents for viewing mail
that has been cached locally? So far my attempts to search for this have only
yielded details on setting up offlineimap which isn't quite what I'm looking to
do. Clearly this would solve the problem, but I'd rather not have everything
from all my accounts sync'd to my various desktops just for the few times I
want to look at a recent mail without internet access.

-- 
 Paul Tansom  |  Aptanet Ltd.  |  http://www.aptanet.com/  |  023 9238 0001
=
Registered in England | Company No: 4905028 | Registered Office: Ralls House,
Parklands Business Park, Forrest Road, Denmead, Waterlooville, Hants, PO7 6XP


Re: display html email in browser?

2015-04-29 Thread Peter P.
* Michael Tatge tatg...@gmail.com [2015-04-29 03:32]:
 * On Tue, Apr 28, 2015 12:09PM -0400 Peter P. (peterpar...@fastmail.com) 
 muttered:
  Is there a way to have an html email rendered and displayed in a browser
  window?
 
 There used to be a page about that in the mutt wiki (wiki.mutt.org)
 though I cannot find it right now.
 
 In short:
 
 ~/.muttrc
 # i prefere text/plain thank you (show text part of multipart messages
 # rather then html
 alternative_order text/enriched text/plain text/html
 
 # this is needed for the autoview part in mailcap
 auto_view text/html
 
 ~/.mailcap
 # used when (v)iewing (use any browser you like)
 # text/html; w3m -v -F -T text/html '%s'; nametemplate=%s.html
 # text/html; /usr/bin/opera -newpage '%s'; test=test $DISPLAY != 
 # text/html; /usr/bin/firefox -new-tab '%s'; test=test $DISPLAY != 
 text/html; links2 -codepage utf8 '%s'; nametemplate=%s.html; needsterminal
 
 # for autoview
 text/html; lynx -stdin -dump -force_html ; copiousoutput; needsterminal
 
 HTH,
 
 Michael

Thanks to all of you for posting your suggestions! It will take me a few
days to catch up on your examples, which I am very eager to try out!

regards, 
P