mktemp: illegal option -- - On FreeBSD11

Paul Scott sales at
Sat Sep 22 18:19:57 UTC 2018

I finally have a new machine up and running a fresh install of the latest version of CENT OS.

I was wondering what the best method of propagation from the old server to the new one would be, and if anybody on the list here have idea or experience doing this.

Thank you very much!


Paul Scott, Engineer
Eden USA, Incorporated
Event Production Services Since 1995
Los Angeles-Las Vegas-New York
sales at<mailto:sales at> OR edenusasales at<mailto:edenusasales at>
Telephone(s): 866.501.3336 OR 951.505.6967
Fax: 866.502.3336

Please review us on Google, Yelp, or Facebook, at the following links:

Please visit us on our website or on our Facebook Business page:

From: MailScanner < at> On Behalf Of Shawn Iverson via MailScanner
Sent: Saturday, September 22, 2018 8:59 AM
To: mailscanner at
Cc: Shawn Iverson <iversons at>
Subject: Re: mktemp: illegal option -- - On FreeBSD11

On Sat, Sep 22, 2018 at 11:09 AM Martín García <martintoy at<mailto:martintoy at>> wrote:
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)

MailScanner mailing list
mailscanner at<mailto:mailscanner at>

Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 x1171
iversons at<mailto:iversons at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list