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:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>
>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.
Thanks,
Philip
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list