Re: mutt for mailing list archive

2015-02-08 Thread SGT. Garcia
it would be nice send commands directly to the mail server (mailman,
majordomo, what have you) to pull the archive. with date range and so on.
does anyone know of such command?


Troubles with html attachments

2015-02-08 Thread Philippe Delavalade
Hi everybody.

First of all, I want to apologie for my poor english :-)

I have used mutt for many years under Debian but I'm now moving to
Slackware and I meet some troubles with attachments. Maybe that comes from
mime.types, from mailcap or from muttrc, I don't knwo...

When I receive an attachment in html format, I hope it is read with lynx
but in fact, I can see it as a txt file. In ~/.mailcp I have the line : 
text/html; lynx -force_html '%s'; description=HTML Text; nametemplate=%s.html

I have also tried 
text/html; /usr/bin/lynx -force_html %s; needsterminal; copiousoutput; 
nametemplate=%s.html

But neither works.

In the mime.types file I have just the line
text/html html htm shtml

In my .muttrc file I can see these lines

attachments   +A */.*
attachments   +I text/plain
attachments   +I text/html

I don't understand what they mean and didn't find explanations in the manual.

Thanks for any help.

-- 
Ph. Delavalade


Re: Troubles with html attachments

2015-02-08 Thread JaviMicro
* On  8 feb 2015, Philippe Delavalade wrote:

> 
> When I receive an attachment in html format, I hope it is read with lynx
> but in fact, I can see it as a txt file. In ~/.mailcp I have the line : 
> text/html; lynx -force_html '%s'; description=HTML Text; nametemplate=%s.html
> 
> I have also tried 
> text/html; /usr/bin/lynx -force_html %s; needsterminal; copiousoutput; 
> nametemplate=%s.html
> 
> But neither works.
> 
> In the mime.types file I have just the line
> text/html html htm shtml
> 

You need:

1- To define a viewer in mailcap for text/html attachments (you have
already done it)


2- 'auto_view' parameter in .muttrc:
auto_view text/html

Read the section with this sentence
"automatically viewing MIME attachments while in the pager"
in manual:
http://www.mutt.org/doc/devel/manual.html#auto-view


3- Maybe you also need an 'alternative_order' parameter in .muttrc.



> attachments   +A */.*
> attachments   +I text/plain
> attachments   +I text/html
> 
> I don't understand what they mean and didn't find explanations in the manual.
> 

For 'attachments', look here:
http://www.mutt.org/doc/devel/manual.html#ex-attach-count

--
J


Re: mutt for mailing list archive

2015-02-08 Thread Cameron Simpson

On 08Feb2015 05:05, SGT. Garcia  wrote:

it would be nice send commands directly to the mail server (mailman,
majordomo, what have you) to pull the archive. with date range and so on.
does anyone know of such command?


I've got a script that will download mailman archives. That sort of amounts to 
sending commands to the server. Here's an older post:


 https://lists.fedoraproject.org/pipermail/users/2014-July/452384.html

Cheers,
Cameron Simpson 

Outside of a dog, a book is a man's best friend.  Inside of a dog, it's too
dark to read. - Groucho Marx