On 2008-10-13 19:06, Rob MacGregor wrote: > On Mon, Oct 13, 2008 at 16:10, Sam Smith <[EMAIL PROTECTED]> wrote: > >> Hello there! >> >> I am running ClamAV engine ver 0.93.1 >> > > That's an old version, you should update. > > >> When trying to scan Outlook PST files I receive this error: >> >> "archive.pst: Value too large for defined data type" >> >> The file size is close to 6 GB. Is this more than the maximum size >> allowed by the program? >> > <---SNIP---> > >> Any help on increasing the limit would be much appreciated. >> > > Have a look in the clamd.conf file, under the Limits section. At a > rough guess the MaxScanSize and MaxFileSize will be relevant to you. > >
That error message usually means two things: - the size of the file doesn't fit in 32-bits, and the application cannot handle 64-bits lengths - you are using a filesystem that has 64-bit inodes, and trying to access the file using a 32-bit application (such as xfs with inode64 mount option) There are some compile flags that can be used to support large files on 32-bit systems (LARGEFILE_SOURCE and friends), however consider that: - you'll also have to change the clamd limits - I doubt those limits can exceed 2 Gb on a 32-bit system - scanning such a large file would take a huge amount of time - clamav doesn't handle the PST format, so it won't be scanning the actual emails, and perform only a raw scan You can try splitting that 6Gb file into individual emails, and scanning those with clamav. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml