Error expanding TNEF attachments in new 4.84.5-2

Adri Koppes adrik at salesmanager.nl
Tue Mar 13 13:13:48 GMT 2012


Jeremy,

 

The perms are 755, owner is root and group is clamav.

But the incoming/* directories are created by MailScanner, so setting
correct perms should be done by MailScanner.

Also the same setup worked fine with version 4.83.5.

If I replace 'lib/MailScanner/TNEF.pm' with the corresponding file from
version 4.83.5, then everything works fine again.

 

Adri.

 

 

From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jeremy
McSpadden
Sent: dinsdag 13 maart 2012 13:54
To: MailScanner discussion
Subject: Re: Error expanding TNEF attachments in new 4.84.5-2

 

could not create subdirectory q2DCDfuq022124//tnefdDM1SB

 

Check perms

--

Jeremy McSpadden

Flux Labs, Inc

http://www.fluxlabs.net <http://www.fluxlabs.net/> 
Endless Solutions

Office : 850-588-4626

Cell : 850-890-2543
Fax : 850-254-2955

 

From: Adri Koppes <adrik at salesmanager.nl>
Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Date: Tue, 13 Mar 2012 13:44:55 +0100
To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Subject: Error expanding TNEF attachments in new 4.84.5-2

 

Julian,

 

I just updated to the last version 4.84.5-2 and noticed a bug with the
new 'mktemp' fixes.

When I receive a message having a tnef attachment I get the following
messages in syslog:

 

Mar 13 13:13:45 mail MailScanner[17323]: New Batch: Scanning 1 messages,
32172 bytes

Mar 13 13:13:45 mail MailScanner[17323]: Expanding TNEF archive at
/usr/local/etc/MailScanner/incoming/17323/q2DCDfuq022124/winmail.dat

Mar 13 13:13:45 mail MailScanner[17323]: Trying to unpack nwinmail.dat
in message q2DCDfuq022124, could not create subdirectory
q2DCDfuq022124//tnefdDM1SB, failed to unpack TNEF message

Mar 13 13:13:45 mail MailScanner[17323]: Corrupt TNEF winmail.dat that
cannot be analysed in message q2DCDfuq022124

 

This is using the external tnef decoder setting in MailScanner.conf

The message is not sent to the recipients, instead an 'Other Bad Content
Detected' report and notice is generated.

 

Best regards,

 

Adri.

 

-- 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! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120313/c10502b7/attachment.html


More information about the MailScanner mailing list