FreeBSD 11 new install

Richard Mealing richard at fastnet.co.uk
Mon Jul 17 10:20:05 UTC 2017


After I removed that line I get this -

Can't locate MailScanner/Config.pm in @INC (you may need to install the MailScanner::Config module

Thanks,
Rich

From: MailScanner [mailto:mailscanner-bounces+richard=fastnet.co.uk at lists.mailscanner.info] On Behalf Of Richard Mealing
Sent: Monday, July 17, 2017 10:59
To: MailScanner discussion (mailscanner at lists.mailscanner.info) <mailscanner at lists.mailscanner.info>
Subject: FreeBSD 11 new install

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
command="/usr/local/sbin/mailscanner"
command_args="${required_files}"
extra_commands=reload
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/Antiword.pm 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?

Thanks,
Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170717/29c595fa/attachment.html>


More information about the MailScanner mailing list