Re: Method fileLocation() redux.
"Roderick A. Anderson" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2 Apr 2004, Mark Overmeer wrote:
> Maybe you can show us a piece of the code. fileLocation() is only defined
> on headers and bodies, but it gets called on a part (which contains a
> head and a body)
Next week (or this week-end if you don't have a life :-) after I get the
STDERR stuff.
> I may have found a buglet on this one, in Mail/Message/Body/Multipart.pm:
>
> $self->{MMBM_epilogue} = $epilogue if defined $epilogue;
> my $end = defined $epilogue ? ($epilogue->fileLocation)[1]
> : @parts ? ($parts[-1]->body->fileLocation)[1]
> ^^^^^^ required
> : defined $preamble ? ($preamble->fileLocation)[1]
> : $begin;
Probably is a multipart. We've been fighting spam like crazy. Mostly
we're on top of it so it doesn't get back out from our servers but little
tricks are raising havoc with reports etc.
So I should try _adding_ the 'body->'?
> Nearly all multipart message have some kind of epilogue, but maybe
> some erroneous multiparts (for instance viruses) do not end cleanly.
> Any chance that this helps?
Well when I first worked on this I saw *lots* of errors but nothing fatal,
mostly improper characters in the body so I just let them go. Then report
started hanging part way though and that got to be an annoyance so I
started working on it.
Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"