Permission errors with extracted TNEF data

Julian Field MailScanner at ecs.soton.ac.uk
Tue Apr 21 22:48:45 IST 2009


You were using an old version of MailScanner (probably just not the very 
latest betas), but yes, I have done quite a lot of work on the TNEF 
handling, and had forgotten in the latest revision to set all the 
permissions and ownerships. I have now fixed all of that, and it should 
now work as intended.

It will be in the next release.

On 21/4/09 21:43, PSI Mailbag wrote:
> Hey Julian (+list),
>
>   Did you correct some permission errors with the extracted TNEF data in
> your latest beta? I noticed in the 4.75.11 release (and prior), all
> extracted TNEF data (either by the perl module or via the external
> parser (1.4.5) was being saved to the incoming work directory with bad
> permissions, which was causing Clamd to complain. It only affected the
> TNEF exported data, which didn't appear to be using the proper "Incoming
> Work Permissions" or "Incoming Work Group" settings, depending on which
> parser you used. If you used the external parser, the clamd errors were
> not logged to MS, only to the clamd.log file (ex: Tue Apr 21 14:42:03
> 2009 ->  WARNING: lstat() failed on:
> /var/spool/MailScanner/incoming/15901/227A5746A0B.85B2D/tnef.15901).
>
>   I don't have the problem anymore in the latest beta (4.76.15) with
> Convert::TNEF, but the issue still exists with the external parser,
> which is ignoring the "Incoming Work Group" settings. I didn't see
> anything specifically mentioned in the changelog about the Perl TNEF
> fix, so I figured I'd ask.
>
>   I did a dump of the file permissions of the work folders in this
> pastebin: http://pastebin.com/m66f3b2db
>
>   This server is using Postfix with the following configs:
> 	Run As User = postfix / Run As Group = postfix
> 	Incoming Work Group = clamav / Incoming Work Permissions = 0640
>
>
>   Cheers,
> -Joshua
>    

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


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