mktemp: illegal option -- - On FreeBSD11

Martín García martintoy at
Sat Sep 22 13:38:28 UTC 2018

Ive installed clamav on my FreeBSD 11.
But seems like clamav-wrapper is not using properly mktemp.
Doing a little research seems like mktemp on BSD does not use --

Please help,

Virus and Content Scanning: Starting
mktemp: illegal option -- -
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
ERROR: Option --tempdir requires a non-empty string argument
ERROR: Can't parse command line options

If any of your virus scanners (clamav)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list