Suggestion: configuration option for ClamAV paths

Philip Hachey phachey at CITY.CORNWALL.ON.CA
Thu Oct 6 16:45:19 IST 2005

On Thu, 6 Oct 2005 15:04:07 +0100, Julian Field
<MailScanner at ECS.SOTON.AC.UK> wrote:

>On 5 Oct 2005, at 20:03, Philip Hachey wrote:
>> I'd like to suggest the addition of two configuration options in
>> MailScanner.conf:
>> ClamAV Work Dir
>> ===============
>> It's nice to have ClamAV work in a tmpfs filesystem.  For example,
>> I have
>> changed
>> TempDir="/tmp/clamav.$$"
>> to
>> TempDir="/dev/shm/clamav.$$"
>> in /usr/lib/MailScanner/clamav-wrapper
>That only works if you have /dev/shm mounted as tmpfs, or if you have
>it at all. Most Unix distributions don't, only Linux has it. And I'm
>certainly not getting into OS-dependent -wrapper scripts.

I wasn't suggesting something OS-dependent, just the ability to configure
where the temporary "clamav.$$" gets written to.

As has been suggested, mounting /tmp as tmpfs is also a good idea.


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list