Re: Unwanted headers (Was: A subtle issue with ifile-gnus)

Mario <[email protected]>
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
you wrote:

> Mario <[email protected]> writes:
>
> > ---Executing: echo
> > encodedinlinedimagejpeg./process: line 4:  7504 Broken pipe            
> > KEYHEADS='*' MAILCAPS='/home/mario/tmp/test/ifile.mailcap' metamail -d
> > 2>&1
> 
> What /exactly/ is it that executes what?  

I'm using the suggested mailcap file with a test script, the following
'process' script:

#!/bin/sh
KEYHEADS='*' \
MAILCAPS='/home/mario/tmp/test/ifile.mailcap' \
metamail -d 2>&1

Then I launch: 'cat spam.txt | ./process'

So I receive this above error! :(

> What happens if you just
> pass the email through metamail with no options? 

If I do: 'cat spam.txt | metamail' the /etc/mailcap was used so it launch
'links'. :P
If I put my mailcap in my home directory as '.mailcap' and launch 'cat
spam.txt | metamail' this is the output:

"........[CUT]..............
    </font></font></span></p>
</div>
</body>
</html>
Content-Description: logo_small.jpg


This message contains 'image/jpeg'-format data.
Do you want to view it using the 'echo' command (y/n) [y] ? "

If I answer with 'y' I receive the error:

"---Executing: echo
encodedinlinedimagejpegBroken pipe"

> Does metamail
> complain?  The email might be broken (which happens quite often with
> spam).
> If the attachments are broken, metamail should give an error, which
> itself is an excellent indication of spam.

I tried with many other mails with html+images and the result is the same!
:(

bye
Mario

-- 
 [ e-mail: diraimondo (at) bigfoot (dot) com              ]
 [ Home Page: http://www.diraimondo.cjb.net               ]
 [ NEW GnuPG/PGP key (BAC3EBB1) available on key-servers! ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.