Beta 4.51.2: "Use TNEF Contents"
Julian Field
MailScanner at ecs.soton.ac.uk
Fri Feb 24 16:19:41 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
On 24 Feb 2006, at 15:38, 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: Thursday, February 23, 2006 4:48 PM
>> To: MailScanner discussion
>> Subject: Re: Beta 4.51.2: "Use TNEF Contents"
>>
> [...]
>
> Julian,
>
> If you send a rich text message with no body and Use TNEF is set to
> replace,
> MailScanner goes into a loop dying and restarting. I tracked the
> error down
> to EximDiskStore.pm line 375. I am not sure what is what there but
> the debug
> message is:
>
> read-open
> /var/spool/mailscanner/incoming/16938/1FCdDL-0003Ai-DQ/winmail.dat:
> No such
> file or directory at /usr/lib/perl5/site_perl/5.8.0/MIME/Body.pm
> line 435
>
> Same with internal or external tnef parser. If you Change Use TNEF
> Contents
> to add then it will pass. As it stands it would be fairly easy to DOS
> MailScanner with an empty bodied rtf message.
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.
- --
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
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.5 (Build 5050)
iQEVAwUBQ/8yH/w32o+k+q+hAQEctAf/ffmtpsu8e/bt5qpv/T4IOPjHBqJvHTdz
kGYB84+oQAeC0gyqATCG/tVp5gYDIsrqRtzHxr6ESBva+PuSwM+X9VeyXD2u3vSU
klOVALytcUwUNYBBxOHILYMAZSRVq09kZ7jDP6f0e8JgBaevp4XRJhg7aYb76ALZ
hd/7476TDiDE9ApQwBqieLg86vZvT6RFhR1CtShoAinsorhamELyWux6qxYFcxRz
C8knHGkTrC1ozpYrUkWh69fUZ9TPBfNNUIPUdOdeTrkQ7WE3T1rMh7t3/OY1eQ0J
K092mnbPzcB6IHJlJrf+i+ysOrcCtBz2kDRr5jk4FB8/+2iShhtjeQ==
=yE0Q
-----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