Problems with Quoted Printable and IMAP

1999-04-05 Thread Sverre Slotte

Now that I am properly accepted by majordomo I send my message again:

Dear mutters,

The company I work for has in its infinite wisdome decided to to start
using MS Exchange as our email backbone. The only silver lining is
that Exchange supports IMAP, so I can continue using mutt.

I recently bumped into a problem, though. When reading a message from
an IMAP server with mutt does not convert the QP mess (stuff like =E4
instead of ä) into readable text, but shows me the =E4's etc.

When reading the same message with mutt from a normal Unix mailbox the
text looks fine, so this must have something to do with the way mutt
handles IMAP mailboxes.

Can anyone help me? I use a version of mutt configured thusly:

$ mutt -v
Mutt 0.95i (1998-12-12)
Copyright (C) 1996-8 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: SunOS 5.5 [using slang 9938]
Compile options:
-DOMAIN
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -USE_FCNTL  -USE_FLOCK
+USE_IMAP  -USE_POP  -HAVE_REGCOMP  +USE_GNU_RX  +HAVE_COLOR
+HAVE_PGP2  -BUFFY_SIZE 
+EXACT_ADDRESS  +ENABLE_NLS

Thanks in advance,

Sverre

-- 
Sverre Slotte   | Nokia China R&D Center | Phone +86 10 84229922
| 11 He Ping Li Dong Jie | Phax  +86 10 84222439
[EMAIL PROTECTED] | Beijing, 100 013 China | GSM   +86 137 1121458



Re: [0.95.1i] configure can't find sendmail

1999-04-05 Thread Ben Elliston

>  which looks perfectly ok to me, runs as
> + IFS=  
> + ac_save_ifs=  
> + IFS=  
> :
> + test -z /bin
> + test -f /bin/sendmail
> [snip]
> + test -z /usr/local/bin
> + test -f /usr/local/bin/sendmail
> + test -z /usr/sbin:/usr/sbin:/usr/lib
> + test -f /usr/sbin /usr/sbin /usr/lib/sendmail
> test: syntax error: Undefined error: 0

>  A bug in BSDI's sh?

Did you ever come up with a solution to this problem?

Ben



Re: Installing LBDB problem

1999-04-05 Thread Rejo

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=AqsLC8rIMeq19msA; micalg=pgp-sha1;protocol="application/pgp-signature"




Re: Installing LBDB problem

1999-04-05 Thread Roland Rosenfeld

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=7ZAtKRhVyVSsbBD2; micalg=pgp-md5;protocol="application/pgp-signature"




Re: Installing LBDB problem

1999-04-05 Thread Roland Rosenfeld

On Mon, 05 Apr 1999, Rejo wrote:

> I think these are a little bit RTFM, but maybe you can help me
> anyway. When i'm in a field where i can enter an address i hit ^T
> for a query. I enter 'lbdbq rejo'.
> This results in a To line with:
> touch: "[EMAIL PROTECTED], Rejo <[EMAIL PROTECTED]>".

As far as I remember Mutt 0.95 used the white space character as an
address separator (this is fixed in newer versions). So the above
tries to send the mail to "lbdbq" and "rejo".

But your primary problem seems to be, that you don't have to enter
"lbdbq" at the query field. Simply add

set query_command="lbdbq %s"

to your muttrc and then enter only the query string ("rejo") on the
Query prompt. But why do I write all this again, you can simply read
this in the "External Address Queries" section (4.5 or near this) of
the Mutt manual.

Ciao

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *
 PGP: 1024/DD08DD6D   2D E7 CC DE D5 8D 78 BE  3C A0 A4 F1 4B 09 CE AF



Re: editing a message with the headers

1999-04-05 Thread David Thorburn-Gundlach

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=3V7upXqbjpZ4EhLz; micalg=pgp-sha1;protocol="application/pgp-signature"




Stripping signature on replies

1999-04-05 Thread homega

Hi there,

how can i have the part of a message after the `--' automatically removed when
replying and quoting the original message?

TIA

Horacio
-- 
Claves - GnuPG/PGP - Keys : http://www.rediris.es/cert/keyserver
o/or
Envía un mensaje vacío a [EMAIL PROTECTED] con la línea de asunto:
Send a blank message to [EMAIL PROTECTED] with the subject line:
Tipo de Clave/Key Type  Asunto:/Subject:

DSA/ElGamal fetch dsa/elgamal
DSS/Diffie-Hellman  fetch dh/dss
RSA fetch rsa

 PGP signature


Re: Stripping signature on replies

1999-04-05 Thread Ayman Haidar

Once upon a time Vikas Agnihotri ([EMAIL PROTECTED]) wrote:

   > On Mon, Apr 05, 1999 at 04:27:12PM +0200, [EMAIL PROTECTED] wrote:
   > 
   > > how can i have the part of a message after the `--' automatically
   > > removed when replying and quoting the original message?
   > 
   > You cant. Use your editor's capabilities to do this automatically.
   > 
   > Vikas
   > 

if you use vim try adding this line to .muttrc.

set editor="vim +'/[ ,\t]*> --/,/^-- */-2d'"



-- 
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
|   Ayman Haidar|
|   [EMAIL PROTECTED] |
|   just another Linux and VI lover |
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-



Re: [0.95.1i] configure can't find sendmail

1999-04-05 Thread Jeffrey Haas

The line in question is a problem with both sh and bash.
As near as I can tell, test does not permit multiple arguments
for the -f operand.

I ran (and reported) a similar bug in the configure for ncurses.

Tested: bsd/os 2.1, 3.*, 4.*

If you must:
for i in /usr/sbin /usr/bin /usr/lib/sendmail
do
test -f $i
(use results of test)
done

Or just individual test statements.

On Mon, Apr 05, 1999 at 04:14:15PM +1000, Ben Elliston wrote:
> >  which looks perfectly ok to me, runs as
> > + IFS=  
> > + ac_save_ifs=  
> > + IFS=  
> > :
> > + test -z /bin
> > + test -f /bin/sendmail
> > [snip]
> > + test -z /usr/local/bin
> > + test -f /usr/local/bin/sendmail
> > + test -z /usr/sbin:/usr/sbin:/usr/lib
> > + test -f /usr/sbin /usr/sbin /usr/lib/sendmail
> > test: syntax error: Undefined error: 0
> 
> >  A bug in BSDI's sh?
> 
> Did you ever come up with a solution to this problem?
> 
> Ben

-- 
 Jeffrey Haas   
[EMAIL PROTECTED]  "Place all beliefs in proper receptacle"



Re: editing a message with the headers

1999-04-05 Thread Vincent Lefevre

On Mon, Apr 05, 1999 at 08:33:27 -0500, David Thorburn-Gundlach wrote:
> % However, a controlled editing of a whole mail repacing it in
   ^^
> % the folder afterward would be a very interesting feature.
> 
> Actually, that's finally available with 0.95.4i (perhaps earlier);
> just press 'e' in the index view to be dropped into your editor on that
> message, and make your changes and save as usual.  When you then get
> to the send menu, use 'w' to write it somewhere (like ! or ^) and then
> q to abort the send.

I have 0.95.4i and when I press 'e', the whole mail isn't edited,
only the body (without the attachments).

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: Stripping signature on replies

1999-04-05 Thread Ayman Haidar

Once upon a time Ayman Haidar ([EMAIL PROTECTED]) wrote:

   > Once upon a time Vikas Agnihotri ([EMAIL PROTECTED]) wrote:
   > 
   >> On Mon, Apr 05, 1999 at 04:27:12PM +0200, [EMAIL PROTECTED] wrote:
   >> 
   >> > how can i have the part of a message after the `--' automatically
   >> > removed when replying and quoting the original message?
   >> 
   >> You cant. Use your editor's capabilities to do this automatically.
   >> 
   >> Vikas
   >> 
   > 
   > if you use vim try adding this line to .muttrc.
   > 
   >set editor="vim +'/[ ,\t]*> --/,/^-- */-2d'"
   > 
   > 
   > 

correction:
set editor="vim +'/^[ ,\t]*> --/,/^-- /-2d'"

might work better. play with it a little too.

-- 
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
|   Ayman Haidar|
|   [EMAIL PROTECTED] |
|   just another Linux and VI lover |
 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-



Re: Stripping signature on replies

1999-04-05 Thread Rob Reid

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=7VkxxUl3xUvPtoxk; micalg=pgp-md5;protocol="application/pgp-signature"




Re: editing a message with the headers

1999-04-05 Thread David Thorburn-Gundlach

Vincent, et al --

...and then Vincent Lefevre said...
% On Mon, Apr 05, 1999 at 08:33:27 -0500, David Thorburn-Gundlach wrote:
% > %   However, a controlled editing of a whole mail repacing it in
%^^
% > 
% > just press 'e' in the index view to be dropped into your editor on that
% > message, and make your changes and save as usual.  When you then get
% 
% I have 0.95.4i and when I press 'e', the whole mail isn't edited,
% only the body (without the attachments).

Hmmm...  Do you perhaps have to set edit_hdrs, which not only lets you
edit the headers but also everything else in the message by coincidence?

I had to be told about this new feature (which I'm grateful to finally
have!), so I'm probably not a very good information resource :-)


:-D
-- 
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.bigfoot.com/~davidtg/
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: pop support

1999-04-05 Thread Christian R Molls


On Tue, 30 Mar 1999, rfi from Rich Roth wrote:

> On Tue, Mar 30, 1999 at 11:48:02PM +0200, Christian R Molls wrote:
> 
> > does mutt's internal pop-support forward mail via sendmail or via port 25?
> 
> I think you have a mis-understanding of POP - pop has nothing to do with
> forwarding or, for that matter, sending email - and Mutt, does use a MTA
> (like sendmail) to send mail.

Sure, I just wondered if the mail that is fetched from the pop host wanders
through sendmail or is directly put into some folder.

Thanks for your help.

-- 
Christian Molls  [EMAIL PROTECTED]
student of laws   [EMAIL PROTECTED]
univ of cologne



urlview and quoted-printable

1999-04-05 Thread Vincent Lefevre

Rob Reid's latest message contained an attachment in quoted-printable,
with an URL having a space and a newline after it, so that the encoded
line was:

  http://astro.utoronto.ca/~reid/mutt/=20

and urlview thought that the URL were
  "http://astro.utoronto.ca/~reid/mutt/=20"
instead of
  "http://astro.utoronto.ca/~reid/mutt/"

Is there a way to send decoded attachments to urlview (without
modifying variables)? Or could urlview decode the message?

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: editing a message with the headers

1999-04-05 Thread Vincent Lefevre

On Mon, Apr 05, 1999 at 11:31:37 -0500, David Thorburn-Gundlach wrote:
> Hmmm...  Do you perhaps have to set edit_hdrs, which not only lets you
> edit the headers but also everything else in the message by coincidence?

edit_hdrs is set, but:
 * attachments are not edited,
 * headers are edited, but not all headers, and they are a bit different.

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: editing a message with the headers

1999-04-05 Thread Vikas Agnihotri

On Mon, Apr 05, 1999 at 07:00:34PM +0200, Vincent Lefevre wrote:

> On Mon, Apr 05, 1999 at 11:31:37 -0500, David Thorburn-Gundlach wrote:
> > Hmmm...  Do you perhaps have to set edit_hdrs, which not only lets you
> > edit the headers but also everything else in the message by coincidence?

> edit_hdrs is set, but:
>  * attachments are not edited,

Read my other message earlier in this thread. Basically, think of
editing a message as putting yourself in place of the original author
of the message! You experience what that person would go thru when he
was composing that message *in Mutt*. 

>  * headers are edited, but not all headers, and they are a bit different.

Yup. This is a slight problem. I had posted a patch to dump headers
unchanged some time back, but Thomas disagrees with the change in API
it introduces.

Vikas



Re: pop support

1999-04-05 Thread rfi from Rich Roth

On Wed, Mar 31, 1999 at 07:45:37AM +0200, Christian R Molls wrote:

> Sure, I just wondered if the mail that is fetched from the pop host wanders
> through sendmail or is directly put into some folder.

Ah, very different Q - it's put directly in the main mail folder.

-- 
Later ...

Rich Roth --- On-the-Net

Direct:  Box 927, Northampton, MA 01061, Voice: 413-586-9668

Email: [EMAIL PROTECTED] Url: http://www.on-the-net.com
   ~~~   www.i-depth.com lets you Add Instant Depth to your Website~~~
~~~  Adding depths to Web presences and Internet providers  ~




Re: editing a message with the headers

1999-04-05 Thread Erwan David

Le Mon 05/04/1999, Vikas Agnihotri disait
> On Mon, Apr 05, 1999 at 06:13:34PM +0200, Vincent Lefevre wrote:
> 
> > I have 0.95.4i and when I press 'e', the whole mail isn't edited,
> > only the body (without the attachments).
> 
> Thats right. When you quit the editor, you will be in the Compose menu
> and your attachments will be there. Just like you are composing a new
> message. You can choose to attach something else, edit existing
> attachments, etc using all the regular Compose menu commands. When you
> are done, use the write-fcc (default: w) function to write the edited
> message to any folder.

I think we sometime need a more basic function : editing the
raw mail and replacing it in the folder after consistency checks from
mutt (don't care if the edited mail is broken, but garantee the
mailbox is not). Today's feature add a new version of the mail, and
you do not get everything. Especially if you receive a broken
multipart mail (e.g. with ill formated boundary lines) you cannot
correct it simply.

-- 
Erwan DAVID| Domaine de Voluceau
Trusted Logic  | BP 105, 78153 Le Chesnay CEDEX France

Je ne parle qu'en mon nom propre, et encore pas toujours.



Re: editing a message with the headers

1999-04-05 Thread Thomas Roessler

On 1999-04-05 15:19:15 -0400, Vikas Agnihotri wrote:

> Also, when you think about it, mail folder's are not rocket
> science. You can simply 'vim' the mail folder and edit it to your
> hearts content (keep a backup first!). Mutt is NOT an editor.
> Editing 'raw' mail is NOT within Mutt's domain. Feel free to
> unleash your favourite editor on your mail folders.

I'm under the impression that this is precisely what Erwan would
like to do:

- save the message to a separate, temporary folder
- edit that folder with your favorite text editor
- move the message back to the original folder, maybe in a safe way,
  stripping or correcting headers which are dangerous for mailbox
  consistancy.

tlr
-- 
http://home.pages.de/~roessler/



applying limit and tag simultaneously...

1999-04-05 Thread Todd Strilchuk

is there any way to have the search pattern used for a limit command
to simultaneously apply to a tag command?  usually i limit my inbox
based on certain mailing lists (i.e. mutt-users) and want to tag all
of the messages that are shown in the menu to group save them to
another mail box.  right now i'm doing a limit and then simply holding
down the "t" key to tag all messages shown.  there must be an easier
way, no?  note: i don't want to do filtering, since i like to scan all
the subject lines and un-tag certain messages before saving the rest.

thanks in advance.

--
todd

  The road to success is under construction.



Re: applying limit and tag simultaneously...

1999-04-05 Thread Jeffrey Haas

Many (most? all?) operations only work on visible messages.
So, after your limit, simply to a:
Tall

On Mon, Apr 05, 1999 at 01:27:32PM -0700, Todd Strilchuk wrote:
> is there any way to have the search pattern used for a limit command
> to simultaneously apply to a tag command?  usually i limit my inbox
> based on certain mailing lists (i.e. mutt-users) and want to tag all
> of the messages that are shown in the menu to group save them to
> another mail box.  right now i'm doing a limit and then simply holding
> down the "t" key to tag all messages shown.  there must be an easier
> way, no?  note: i don't want to do filtering, since i like to scan all
> the subject lines and un-tag certain messages before saving the rest.
> 
> thanks in advance.
> 
> --
> todd
> 
>   The road to success is under construction.

-- 
 Jeffrey Haas   
[EMAIL PROTECTED]  "Place all beliefs in proper receptacle"



Re: urlview and quoted-printable

1999-04-05 Thread Vincent Lefevre

On Mon, Apr 05, 1999 at 13:01:44 -0400, Vikas Agnihotri wrote:
> Works fine for me. Try setting 'pipe_decode' so that Mutt decodes
> stuff before feeding it to urlview.

But I don't want to set it (except if one can set it *locally*).

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: editing a message with the headers

1999-04-05 Thread Vincent Lefevre

On Mon, Apr 05, 1999 at 15:19:15 -0400, Vikas Agnihotri wrote:
> This is becoming a little silly. If you get a broken multipart mail,
> most likely Mutt would not display it properly in the first place. So,
> the question of editing it to fix it is moot.

Why? For instance, some mailers send attachments with a broken
Content-Type. With Mutt, one has to change it from the Compose
menu, and this is very long when there are lots of attachments.
If one could edit the raw mail, one could do a search & replace
with the editor; this would take very little time.

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: Mutt unpredictably quits when returning from editor (Emacs)

1999-04-05 Thread David DeSimone

Petr Hlustik <[EMAIL PROTECTED]> wrote:
>
> Well, for me it happens about 50% of the time.  For mailing to some
> people (e.g., this message to the list), I have to go back to Pine
> which is greatly annoying.  I tried installing 0.95.4 but the behavior
> persists.

I suggest that you run Mutt under control of a debugger (such as gdb). 
Then, when Mutt aborts, you can type "bt" (or similar debugger command)
to find out where Mutt was, and what is the reason why it is aborting. 

Since Mutt works well for most participants on this list, we are
somewhat at a loss to simply hurl suggestions at you.  It will help
greatly if you can do some investigative work on your specific platform
and system.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: urlview and quoted-printable

1999-04-05 Thread Roland Rosenfeld

On Mon, 05 Apr 1999, Vincent Lefevre wrote:

> and urlview thought that the URL were
>   "http://astro.utoronto.ca/~reid/mutt/=20"
> instead of
>   "http://astro.utoronto.ca/~reid/mutt/"

> Is there a way to send decoded attachments to urlview (without
> modifying variables)?

I use the following:

macro   index   \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \
"call urlview to extract URLs out of a message"
macro   pager   \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \
"call urlview to extract URLs out of a message"

This changes the variable pipe_decode but when it was unset before it
will be unset after running urlview. I want pipe_decode to be unset
normally, so this is acceptable for me.

> Or could urlview decode the message?

IMHO this means too much overhead for a program like urlview. But
maybe you want to have a look at mimedecode(1) which simply decodes
MIME to 8bit, so it could be used as a pre-filter for urlview.
mimedecode should be available at ftp://ftp.dde.dk/pub/mimedecode.c or 
as a Debian package (source and binary, including a manpage).

Ciao

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *
 PGP: 1024/DD08DD6D   2D E7 CC DE D5 8D 78 BE  3C A0 A4 F1 4B 09 CE AF



Compressed folders

1999-04-05 Thread homega

My apologies, I know this subject was treated a while ago, but I lost the
mail which had this reference.  I mean a pointer to a URL on info about
compressed mail folders with Mutt;  could anyone refresh my mind, please?

TIA

Horacio
-- 
Claves - GnuPG/PGP - Keys : http://www.rediris.es/cert/keyserver
o/or
Envía un mensaje vacío a [EMAIL PROTECTED] con la línea de asunto:
Send a blank message to [EMAIL PROTECTED] with the subject line:
Tipo de Clave/Key Type  Asunto:/Subject:

DSA/ElGamal fetch dsa/elgamal
DSS/Diffie-Hellman  fetch dh/dss
RSA fetch rsa



Re: applying limit and tag simultaneously...

1999-04-05 Thread Jeffrey Haas

On Mon, Apr 05, 1999 at 03:17:36PM -0700, Todd Strilchuk wrote:
> Mutt 0.85e: =temp (threads) [27/27] [N=0,*=0,post=0,new=0]

Upgrade post haste!

The behaviour of the limit command and many other things has improved
in recent versions.  There are definite conversion quirks, but most
can be worked around after a thorough reading of the manual.txt file.

> todd

-- 
 Jeffrey Haas   
[EMAIL PROTECTED]  "Place all beliefs in proper receptacle"



Re: Compressed folders

1999-04-05 Thread Stefan `Sec` Zehl

On Tue, Apr 06, 1999 at 12:28:26AM +0200, [EMAIL PROTECTED] wrote:
> My apologies, I know this subject was treated a while ago, but I lost the
> mail which had this reference.  I mean a pointer to a URL on info about
> compressed mail folders with Mutt;  could anyone refresh my mind, please?

The original site is
http://www.spinnaker.de/mutt/

it is also available from my patch-page at
http://sec.42.org/mutt/

HTH & CU,
Sec
-- 
This article doesn't really cover many specifics, other than to point out
that these pieces of equipment which have been labeled completely obsolete,
still have value and function, and not only to the hacker. -- hir4-5.txt



Re: urlview and quoted-printable

1999-04-05 Thread Vincent Lefevre

On Mon, Apr 05, 1999 at 22:55:58 +0200, Roland Rosenfeld wrote:
> This changes the variable pipe_decode but when it was unset before it
> will be unset after running urlview. I want pipe_decode to be unset
> normally, so this is acceptable for me.

I don't like this, because if one day, I set pipe_decode, things may
fail to work, and I won't remember why.

> > Or could urlview decode the message?
> 
> IMHO this means too much overhead for a program like urlview. But

I think so too. The best would be something in Mutt, like local variables
(something to save the environment) or options to pipe, e.g.
  |{pipe_decode} and |{nopipe_decode}
so that the pipe always behaves as if pipe_decode were set or unset.

> maybe you want to have a look at mimedecode(1) which simply decodes
> MIME to 8bit, so it could be used as a pre-filter for urlview.
> mimedecode should be available at ftp://ftp.dde.dk/pub/mimedecode.c or 
> as a Debian package (source and binary, including a manpage).

Before d/l'ing it, does it convert QP to 8bit in attachments too?
I ask this, because I use emil (with procmail) to convert QP to 8bit,
but when there is QP in attachments, it isn't converted.

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: urlview and quoted-printable

1999-04-05 Thread Roland Rosenfeld

On Tue, 06 Apr 1999, Vincent Lefevre wrote:

> > This changes the variable pipe_decode but when it was unset before
> > it will be unset after running urlview. I want pipe_decode to be
> > unset normally, so this is acceptable for me.

> I don't like this, because if one day, I set pipe_decode, things may
> fail to work, and I won't remember why.

I had no problems with this in the previous months. The only problem
is, that I have to remember, that pipe_decode will magically be unset
by running urlview. If I decide sometimes in the future to have
pipe_decode always set, I will change my macros in accordingly. I can
live with this.

> I think so too. The best would be something in Mutt, like local variables
> (something to save the environment) or options to pipe, e.g.
>   |{pipe_decode} and |{nopipe_decode}
> so that the pipe always behaves as if pipe_decode were set or unset.

Features like this may blow up the mutt code...

> > maybe you want to have a look at mimedecode(1) which simply decodes
> > MIME to 8bit, so it could be used as a pre-filter for urlview.
> > mimedecode should be available at ftp://ftp.dde.dk/pub/mimedecode.c or 
> > as a Debian package (source and binary, including a manpage).

> Before d/l'ing it, does it convert QP to 8bit in attachments too?
> I ask this, because I use emil (with procmail) to convert QP to 8bit,
> but when there is QP in attachments, it isn't converted.

The manpage tells the following:

NAME
   mimedecode

SYNOPSIS
   mimedecode
   [-h|-d ] < encoded_msg > decoded_msg

DESCRIPTION
   This manual page documents briefly the mimedecode command.
   This manual page was written for the Debian GNU/Linux dis­
   tribution because the original program  does  not  have  a
   manual page.

   mimedecode  performs the decoding of transfer encoded text
   type mime messages.  The message in its entirety  is  read
   from  stdin.   The  decoded  message is written to stdout;
   hence, this program behaves  as  a  filter  which  may  be
   placed wherever convenient.

   It  is  assumed  that the message has reached its point of
   final delivery and at that point 8-bit text types  can  be
   handled  natively.  Hence, the need for transfer-encodings
   is not present any more.

   Only some cases are handled:

   Encoded header fields are decoded from QP or B encoding.

   The charset is assumed to be iso-8859-1

   Part or subparts of content-type text only are decoded

   All other content-types are passed transparently

OPTIONS
   This program accepts the follwing options:

   -h Switch on header logging

   -d 
  Enable debugging output at level: .


Ciao

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *
 PGP: 1024/DD08DD6D   2D E7 CC DE D5 8D 78 BE  3C A0 A4 F1 4B 09 CE AF