Alexander Barkov wrote:

> By the way, have you examples of such messages?

Yes... just try parsing one of my mails to this list ... you should find that the
parser as follows:

Mime "multipart/*" text/plain " "cat $1 > testfile; echo testfile"

..Will have all the headers chopped off and the test file will show something similar
to the following at the top:

---[begin paste]---
This is a cryptographically signed message in MIME format.

--------------ms5D88D812C6C793F70E552496
Content-Type: multipart/mixed;
 boundary="------------242B9E129A910C201D48FF93"

This is a multi-part message in MIME format.
--------------242B9E129A910C201D48FF93
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: base64
---[end paste]---

I have written a 'C' parser for mnogosearch to decrypt/convert news messages to
text/html - currently it will restart with the information from the 'UDM_URL'
enviromental variable and redownload the message.... but this seems an aweful waste
of bandwidth.

(Devel Group: This same parser can also be used with search.cgi and my 'Alias' patch
to display news as a web document... I have not attached it but am in a position to
send it now as I am ready to release it. (Code is still a mess but it works well -
mail me if you want to take a look before it get around to releasing it...))

Yours

Matthew

>
>
> Matthew Sullivan wrote:
> >
> > Hi,
> >
> > Currently when parsing documents to external parsers the headers are stripped...
> > not a problem... who needs 'HTTP/1.1 200 text/html 403' or what ever other
> > message is received....
> >
> > However, when parsing a news message not only is the HTTP header which is added
> > gets removed but also the message header - particually the content-type line and
> > the Content-transfer-encoding line.....  This makes parsing anything but
> > un-encoded non-Mime mails impossible.... now me I consider this a bug, but
> > realise this could also be just and RFE for the parser config to have another
> > option available so all headers can be parsed to the file.....
> >
> > Comments please...?
> >
> > Yours
> >
> > Matthew
> _
begin:vcard 
n:Sullivan;Matthew
tel;cell:+61 (0)414 861 744 (Not for work use)
tel;fax:+61 (0)3 9693 7699
tel;home:+61 (0)3 9397 4859
tel;work:+61 (0)3 9693 7640
x-mozilla-html:TRUE
url:http://people.netscape.com/matthews/
org:<TABLE cols=2 width=350 spacing=0 rows=1><TR><TD width=50><img src="http://people.netscape.com/matthews/penguin.gif";></TD><TD><TABLE width=250 spacing=0 border=0><TR><TD><FONT SIZE=2>Senior Technical Support Engineer<TR><TD><FONT SIZE=2>iPlanet E-Commerce Solutions<TR><TD><FONT SIZE=2>Netscape Communications Australia Pty Ltd<TR><TD><FONT SIZE=2>A division of America On Line Inc.</TABLE></TABLE>
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;Netscape Communications Australia=0D=0A;Level 1, The Tea House, 28 Clarendon Street;South Melbourne;VIC 3205;Australia
x-mozilla-cpt:nemesis.netscape.com;-18464
fn:Matthew Sullivan
end:vcard

S/MIME Cryptographic Signature

Reply via email to