FreeBSD 11 new install

Richard Mealing richard at
Mon Jul 17 09:58:33 UTC 2017

Hi everyone,

I've tried to install MailScanner on a new FreeBSD box. I received an interesting error -

/usr/local/etc/rc.d/mailscanner start
/usr/local/etc/rc.d/mailscanner: WARNING: run_rc_command: cannot run /usr/local/sbin/mailscanner

I can see /usr/local/sbin/mailscanner does not exist, but /usr/local/sbin/MailScanner does.

cat /usr/local/etc/rc.d/mailscanner | grep command
run_rc_command "$1"

I have contacted the port owner for this issue.

I've changed this now, but I've come up with another error when I attempt to start the program -

/usr/local/etc/rc.d/mailscanner start
Starting mailscanner.
Can't locate MailScanner/ in @INC (you may need to install the MailScanner::Antiword module) (@INC contains: /usr/share/MailScanner/perl  /usr/share/MailScanner/perl /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24) at /usr/local/sbin/MailScanner line 88.
BEGIN failed--compilation aborted at /usr/local/sbin/MailScanner line 88.
/usr/local/etc/rc.d/mailscanner: WARNING: failed to start mailscanner

Is there a work around to this?

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

More information about the MailScanner mailing list