Beta 4.51.2: "Use TNEF Contents"

Julian Field MailScanner at ecs.soton.ac.uk
Fri Feb 24 19:47:16 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can anyone generate 0-length bodies in TNEF messages? My Outlook 2003 
won't do it, it always generates at least 1 blank line, which works fine.

Julian Field wrote:
> * PGP Signed by an unmatched address: 02/24/06 at 17:19:14
>
> On 24 Feb 2006, at 16:53, Rick Cooper wrote:
>>
>>
>>> -----Original Message-----
>>> From: mailscanner-bounces at lists.mailscanner.info
>>> [mailto:mailscanner-bounces at lists.mailscanner.info]On Behalf Of Julian
>>> Field
>>> Sent: Friday, February 24, 2006 11:41 AM
>>> To: MailScanner discussion
>>> Subject: Re: Beta 4.51.2: "Use TNEF Contents"
>>>
>>>
>> [...]
>>>> Well found, thankyou. This is why I have beta versions :-)
>>>> Please try editing TNEF.pm (in /usr/lib/MailScanner/MailScanner).
>>>> On line 275 you should see this:
>>>>     next if /^msg[\d-]+\.txt$/;
>>>> Please try commenting out that line and try the test again.
>>>
>>> And another change too:
>>> In Message.pm around line 1680 there will be some code that says this:
>>>
>>>    # Now try the same on all the parts
>>>    my(@parts, $part, @keep);
>>>    @parts = $entity->parts;
>>>    foreach $part (@parts) {
>>>      push @keep, $part unless DeleteEntity($message, $part, $tnef) 
>>> == 1;
>>>    }
>>>    $entity->parts(\@keep);
>>>
>>> After that, add this line:
>>>    $entity->make_singlepart unless scalar(@keep);
>>>
>>> and try again.
>>>
>>> Hopefully both of these combined will help solve the problem.
>>>
>>> If you can see if this fixes the problem, I'll put it out in a new
>>> beta this weekend.
>>
>> Nope, still fails with same error
>>
>
> My copy of Outlook won't reproduce the problem, certainly not with 
> sendmail as the MTA.
>
> Please can you zip up the raw queue files of a message that shows the 
> problem and send it to me at mailscanner at ecs.soton.ac.uk.
>
> Ideally I would like 1 totally empty message (no body or attachments) 
> and 1 message with 1 attachment but no body. Both of those should 
> exhibit the problem.
>
> Thanks.
>
> --Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> * WEBCENTRE
> * 0xA4FAAFA1 (L)
>
>
> --This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.5 (Build 5050)

iQA/AwUBQ/9ixRH2WUcUFbZUEQK+MACfaT6yZLPiqahxl4qKIynu6BlHO5EAn1hI
NwOMYwyBEm5rHlVENtHfqFnj
=l8a/
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list