Kevin.Spicer at BMRB.CO.UK
Sat Jan 31 20:38:32 GMT 2004
Julian Field wrote:
> Can you send me it again?
> Exactly how critical is it? (Already released 4.26.7 stable).
Not too critical, since most unpacking is handled by the internal unpacker. It stops the external unpacker failing. This happens because it trys to use /root/tmp as unpacking space, but clam drops privileges to the clamav user which doesn't have permission to write to /root/tmp.
The wrapper script creates a directory in the mailscanner work directory with the appropriate permissions and tells clam to use this as temp space (this should also improve performance if the work dir is in tmpfs).
It also corrects some misunderstanding of the various command line flags.
e.g. --unzip means attempt to use an external unzipper if the internal one fails. The internal one will always be attempted first (even if the --unzip option isn't given).
Each of the external unpackers can be given the path to the appropriate command (e.g. -unzip=/usr/bin/unzip). I've added all the external unpacker options to the file (with the uncommon ones commented out).
Because the internal unpacker is always attempted I've moved --unzip to ExtraScanOptions as it could cause a failure.
+44 (0)20 8566 5000
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material. If you have received this in error, please contact the
sender and delete this message immediately. Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited. BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5825 bytes
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040131/bec43d48/clamav-wrapper.obj
More information about the MailScanner