clam wrapper

Jerry Benton jerry.benton at mailborder.com
Sat Jan 30 01:16:08 UTC 2016


I am going to basically rewrite the whole thing. 

-
Jerry Benton
www.mailborder.com



> On Jan 29, 2016, at 8:15 PM, Mark Sapiro <mark at msapiro.net> wrote:
> 
> On 01/29/2016 04:55 PM, Jerry Benton wrote:
>> Similar to this:
>> 
>> mktemp --tmpdir=/var/spool/MailScanner/incoming/clamav-tmp
> 
> 
> Just be sure that if you do that ahead of this:
> 
> 
>>>> if [ "x$1" = "x-IsItInstalled" ]; then
>>>> rm -f ${TempDir}
>>>> [ -x $ClamScan ] && exit 0
>>>> exit 1
>>>> fi
> 
> 
> That the removal of the mktemp file is done. Otherwise, people who don't
> use clamav because they use clamd or something else, wind up with lots
> of empty temp files.
> 
> -- 
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list