TNEF decoder failed with real error / FreeBSD11

Martín García martintoy at
Tue Sep 25 19:51:26 UTC 2018

Im having this issue with MailScanner over FreeBSD

Sep 25 14:44:31 SINCHI01 MailScanner[37683]: TNEF decoder failed with real
error: Can't run tnef decoder: No such file or directory at
/usr/local/share/MailScanner/perl/MailScanner/ line 272.

My MailScanner setup seems correct.


MailScanner --lint
Trying to setlogsock(unix)

Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Read 1500 hostnames from the phishing whitelist
Read 16275 hostnames from the phishing blacklists

Checking version numbers...
Version number in MailScanner.conf (5.0.3) is correct.

ERROR: The "envelope_sender_header" in your spamassassin.conf
ERROR: is not correct, it should match X-Nettix-MailScanner-From

MailScanner setting GID to  (125)
MailScanner setting UID to  (125)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 29 messages in the Processing Attempts Database
Using locktype = posix
MailScanner.conf says "Virus Scanners = clamd"
mktemp: illegal option -- -
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
Found these virus scanners installed: clamd
Filename Checks: Windows/DOS Executable (1
Other Checks: Found 1 problems
Virus and Content Scanning: Starting
Clamd::INFECTED:: Eicar-Test-Signature :: ./1/
Virus Scanning: Clamd found 1 infections
Infected message 1 came from
Virus Scanning: Found 1 viruses
Virus Scanner test reports:
Clamd said " was infected: Eicar-Test-Signature"

If any of your virus scanners (clamd)
are not listed there, you should check that they are installed correctly
and that MailScanner is finding them correctly via its virus.scanners.conf.

Saludos / Best regards

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

More information about the MailScanner mailing list