Mailing List Archive

Yet another ripmime 1.3.1.2 error
Argh...

d_m: output spotted from /usr/local/bin/ripmime --disable-qmail-bounce
--no-ole --recursion-max 30 --unique_names -i - -d
/var/qmail/qmailscan/tmp/localhost108800011278119877/
(mime.c:1032:MIME_is_file_mime:ERROR: cannot open file
'/var/qmail/qmailscan/tmp/localhost108800011278119877/tmpQuote327123.htm
' for reading (No such file or directory)
) - that shouldn't happen! [111]

I hope to get a copy of tmpQuote327123.htm soon to see why it blows
up... Has anyone seen this error yet?


_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
RE: Yet another ripmime 1.3.1.2 error [ In reply to ]
>
> Argh...
>
> d_m: output spotted from /usr/local/bin/ripmime
> --disable-qmail-bounce --no-ole --recursion-max 30
> --unique_names -i - -d
> /var/qmail/qmailscan/tmp/localhost108800011278119877/
> (mime.c:1032:MIME_is_file_mime:ERROR: cannot open file
> '/var/qmail/qmailscan/tmp/localhost108800011278119877/tmpQuote
> 327123.htm' for reading (No such file or directory)
> ) - that shouldn't happen! [111]
>
> I hope to get a copy of tmpQuote327123.htm soon to see why it
> blows up... Has anyone seen this error yet?
>
>

Okay, I got a copy of the email... Here goes with ripmime

try #1

[root@mailgw tmp]# ripmime -v --disable-qmail-bounce -i
localhost108800610977924327 -d tmp Decoding
filename=textfile0_18
Decoding filename=textfile1_18
Decoding filename=textfile2_18
Decoding filename=textfile3_18
Decoding filename=textfile4_18
Decoding filename=tmpQuote327123.htm
ole.c:1112:OLE_open_file:ERROR:Cannot open tmp/tmpQuote327123.htm for
reading (No such file or directory)
mime.c:1032:MIME_is_file_mime:ERROR: cannot open file
'tmp/tmpQuote327123.htm' for reading (No such file or directory)

try #2

[root@mailgw tmp]# ripmime -v --no-tnef --no-quotedprintable --no-mht
--no-doublecr --no-uudecode --disable-qmail-bounce -i
localhost108800610977924327 -d tmp
Decoding filename=textfile0_19
Decoding filename=textfile1_19
Decoding filename=textfile2_19
Decoding filename=textfile3_19
Decoding filename=textfile4_19
Decoding filename=tmpQuote327123.htm
ole.c:1112:OLE_open_file:ERROR:Cannot open tmp/tmpQuote327123.htm for
reading (No such file or directory)
mime.c:1032:MIME_is_file_mime:ERROR: cannot open file
'tmp/tmpQuote327123.htm' for reading (No such file or directory)

try #3

[root@mailgw tmp]# ripmime -v --no-tnef --no-ole--no-quotedprintable
--no-mht --no-doublecr --no-uudecode --disable-qmail-bounce -i
localhost108800610977924327 -d tmp
Decoding filename=textfile0_20
Decoding filename=textfile1_20
Decoding filename=textfile2_20
Decoding filename=textfile3_20
Decoding filename=textfile4_20
Decoding filename=tmpQuote327123.htm
mime.c:1032:MIME_is_file_mime:ERROR: cannot open file
'tmp/tmpQuote327123.htm' for reading (No such file or directory)



attachment looks pretty standard..

------=_NextPart_000_009B_01C4585B.77A88EA0
Content-Type: text/html;
name="tmpQuote327123.htm"
Content-Transfer-Encoding: uuencode
Content-Disposition: attachment;
filename="tmpQuote327123.htm"

M/$A434P^/$A%040^/'-T>6QE('1Y<&4])W1E>'0O8W-S)SX)0D]$62![1D].
M5"U325I%.B Q,7!T.T-/3$]2.B C,# P,# P.T9/3E0M1D%-24Q9.B!A<FEA
..etc
..etc
M:&%L;"!A<'!L>2X)"3PO5$0^"3PO5%(^/"]404),13X\+U1$/CPO5%(^/"]4
704),13X\+U ^/"]"3T19/CPO2%1-3#X`
`

------=_NextPart_000_009B_01C4585B.77A88EA0--



reformime show the parts like this..

[root@mailgw tmp]# reformime -i <localhost108800610977924327
section: 1
content-type: multipart/mixed
content-transfer-encoding: 8bit
charset: iso-8859-1
starting-pos: 0
starting-pos-body: 2883
ending-pos: 29817
line-count: 540
body-line-count: 485

section: 1.1
content-type: multipart/alternative
content-transfer-encoding: 8bit
charset: iso-8859-1
starting-pos: 2973
starting-pos-body: 3065
ending-pos: 16640
line-count: 262
body-line-count: 259

section: 1.1.1
content-type: text/plain
content-transfer-encoding: quoted-printable
charset: iso-8859-1
starting-pos: 3110
starting-pos-body: 3203
ending-pos: 6126
line-count: 100
body-line-count: 96

section: 1.1.2
content-type: text/html
content-transfer-encoding: quoted-printable
charset: iso-8859-1
starting-pos: 6171
starting-pos-body: 6263
ending-pos: 16593
line-count: 153
body-line-count: 149

section: 1.2
content-type: text/html
content-name: tmpQuote327123.htm
content-transfer-encoding: uuencode
charset: iso-8859-1
content-disposition: attachment
content-disposition-filename: tmpQuote327123.htm
starting-pos: 16685
starting-pos-body: 16838
ending-pos: 29770
line-count: 216
body-line-count: 210


and it extracts it fine...

[root@mailgw tmp]# reformime -x <localhost108800610977924327
Extract text/plain? y
Filename [1088016811.31852-0.mailgw.nmgi.com]:
Extract text/html? y
Filename [1088016814.31852-1.mailgw.nmgi.com]:
Extract text/html? y
Filename [tmpQuote327123.htm]:
[root@mailgw tmp]#


So what does ripmime not like about it?

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
RE: Yet another ripmime 1.3.1.2 error [ In reply to ]
>
> >
> > Argh...
> >
> > d_m: output spotted from /usr/local/bin/ripmime
> > --disable-qmail-bounce --no-ole --recursion-max 30
> > --unique_names -i - -d
> > /var/qmail/qmailscan/tmp/localhost108800011278119877/
> > (mime.c:1032:MIME_is_file_mime:ERROR: cannot open file
> > '/var/qmail/qmailscan/tmp/localhost108800011278119877/tmpQuote
> > 327123.htm' for reading (No such file or directory)
> > ) - that shouldn't happen! [111]
> >
> > I hope to get a copy of tmpQuote327123.htm soon to see why it
> > blows up... Has anyone seen this error yet?
> >
> >
>

More info... ripmime-1.3.0.5 is where it starts spitting out
"mime.c:976:MIME_is_file_mime:ERROR:". The May 27th dev version has
the same fate.

version previous to 1.3.0.5 (including the 1.2 series) do not complain,
but they also do not extract the tmpQuote327123.htm even though a -v
said it was..

[root@mailgw tmp]# ./ripmime -v -i mailgw.nmgi.com108800610977924327 -d
test2
Decoding textfile0
Decoding textfile1
Decoding textfile2
Decoding textfile3
Decoding textfile4
Decoding tmpQuote327123.htm

[root@mailgw tmp]# cd test2
[root@mailgw test2]# ls -la
total 14
-rw-r--r-- 1 root root 46 Jun 23 15:24 textfile0
-rw-r--r-- 1 root root 0 Jun 23 15:24 textfile1
-rw-r--r-- 1 root root 2810 Jun 23 15:24 textfile2
-rw-r--r-- 1 root root 9385 Jun 23 15:24 textfile3
-rw-r--r-- 1 root root 0 Jun 23 15:24 textfile4

The one weird thing that I do see is that even though reformime unpacked
the tmpQuote327123.htm file, the contents of the file still looks like
base64?

[root@mailgw tmp]# head -20 tmpQuote327123.htm
M/$A434P^/$A%040^/'-T>6QE('1Y<&4])W1E>'0O8W-S)SX)0D]$62![1D].
M5"U325I%.B Q,7!T.T-/3$]2.B C,# P,# P.T9/3E0M1D%-24Q9.B!A<FEA
M;'T)0D]$62![0D%#2T=23U5.1#H@(T9&1D9&1GT)00D@>T9/3E0M1D%-24Q9
M.F%R:6%L.R!&3TY4+5-)6D4],3)P=#L@1D].5"U35%E,13UB;VQD?3PO<W1Y
M;&4^/"](14%$/CQ"3T19/CQ0/CQ404),12!C96QL4W!A8VEN9STQ(&-E;&Q0
M861D:6YG/3$@8F]R9&5R/3 ^/%12/CQ41#X\5$%"3$4@8V5L;%-P86-I;F<]
M,2!C96QL4&%D9&EN9STQ(&)O<F1E<CTP($-L87-S/2=!<FEA;$-L87-S)R!I
M9#TG=&ED)SX\5%(^"3Q41"!#3TQ34$%./2<S)SX)"3QB/@D)2% @4%5"3$E#
M(%-%0U1/4B!304Q%4R!154]4051)3TX)"3PO8CX)/"]41#X\+U12/CQ44B!(
M14E'2%0])S$X)SX)/%1$/@D\+U1$/@D\5$0^"3PO5$0^"3Q41#X)/"]41#X\
M+U12/CQ44CX)/%1$('=I9'1H/3(P,#X)"5=E8B!1=6]T92!)1 D\+U1$/@D\
M5$0^,S(W,3(S"3PO5$0^"3Q41#X)/"]41#X\+U12/CQ44CX)/%1$/@D)475O
M=&4@3F%M90D\+U1$/@D\5$0^1G5T=7)E<R!.0B!W:71H(%!O<G0@4F5P;&EC
M871O<@D\+U1$/@D\5$0^"3PO5$0^/"]44CX\5%(^"3Q41#X)"4-O;G1R86-T
M($YA;64)/"]41#X)/%1$('=I9'1H/30U,#Y+4R M(%-4051%($]&($M!3E-!
M4PD\+U1$/@D\5$0^"3PO5$0^/"]44CX\5%(^"3Q41#X)"4-O;G1R86-T($YU
M;6)E<@D\+U1$/@D\5$0^,#$U,S()/"]41#X)/%1$/@D\+U1$/CPO5%(^/%12
M/@D\5$0^"0E1=6]T92!#<F5A=&5D($)Y"3PO5$0^"3Q41#YK96YM0&YM9VDN
M8V]M(&]N(#8O,C(O,C P-" Q.C$W.C(U(%!-"3PO5$0^"3Q41#X)/"]41#X\
M+U12/CQ44CX)/%1$/@D)475O=&4@94UA:6QE9"!4;PD\+U1$/@D\5$0^8V%R


Dallas

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
Re: RE: Yet another ripmime 1.3.1.2 error [ In reply to ]
Can you send the full mailpack as a gzip'd attachment to me?

Regards.

--
Paul L Daniels - PLD Software - Xamime
Unix systems Internet Development A.B.N. 19 500 721 806
ICQ#103642862,AOL:pldsoftware,Yahoo:pldaniels73
PGP Public Key at http://www.pldaniels.com/gpg-keys.pld

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
Re: RE: Yet another ripmime 1.3.1.2 error [ In reply to ]
Dallas (and everyone else)

[.NOTE -I can't crosspost this to the qmail list Dallas, so, could you forward it on ? ]

> > > I hope to get a copy of tmpQuote327123.htm soon to see why it
> > > blows up... Has anyone seen this error yet?

All should be fixed now - the latest -dev release contains the fix (see the CHANGELOG).

As a knock-on-effect, about another 5 files came out of my 45,000 email repository - amazing how many files one can find
:-)

Download at:
http://pldaniels.com/ripmime/ripmime-1.3.dev.tar.gz

After I fix up some return-error-code issues, I'll release as 1.3.2.0

Regards


--
Paul L Daniels - PLD Software - Xamime
Unix systems Internet Development A.B.N. 19 500 721 806
ICQ#103642862,AOL:pldsoftware,Yahoo:pldaniels73
PGP Public Key at http://www.pldaniels.com/gpg-keys.pld

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
RE: RE: Yet another ripmime 1.3.1.2 error [ In reply to ]
>
> Dallas (and everyone else)
>
> [.NOTE -I can't crosspost this to the qmail list Dallas,
> so, could you forward it on ? ]
>
> > > > I hope to get a copy of tmpQuote327123.htm soon to see why it
> > > > blows up... Has anyone seen this error yet?
>
> All should be fixed now - the latest -dev release contains
> the fix (see the CHANGELOG).
>
> As a knock-on-effect, about another 5 files came out of my
> 45,000 email repository - amazing how many files one can find
> :-)
>


Looks good now. I have forwarded onto the QS list.

Thanks for the quick fix!
d

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
Re: RE: Yet another ripmime 1.3.1.2 error [ In reply to ]
Dallas,

> Looks good now. I have forwarded onto the QS list.
>
> Thanks for the quick fix!

If you considered that a quick fix - I'm amazed; normally I associate "quick fix" to be < 12 hours within the report of
the error *laugh*.

Thanks, hope all goes well for you.


--
Paul L Daniels - PLD Software - Xamime
Unix systems Internet Development A.B.N. 19 500 721 806
ICQ#103642862,AOL:pldsoftware,Yahoo:pldaniels73
PGP Public Key at http://www.pldaniels.com/gpg-keys.pld

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general