ClamAV + MailScanner

Spicer, Kevin Kevin.Spicer at BMRB.CO.UK
Mon Mar 22 08:47:46 GMT 2004

Raymond Dijkxhoorn wrote:
>> Funnily enough that was what I originally set it to when I made those
>> changes to the script, but somewhere in the course of discussions
>> with Julian I changed it to /tmp.  I can't remember the exact
>> reason, but with hindsight /tmp is better, because not all systems
>> will have their MailScanner work dir in the same place.  For those
>> that are clued up its trivial to change the path to be the incoming
>> directory, or mount /tmp in tmpfs too.
> Or in that case, why canty it be $MSWorkDir ? :)

Because then it would have to parse the config file on each run.  Unless....
a) The arguments passed to the wrapper are changed again
b) MailScanner exports the $MSWorkDir as an environment variable.

BMRB International
+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 

More information about the MailScanner mailing list