<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Guys.<br><br>I saw some emails about perl 5.10.1 giving errors when running mailscanner, I had the same problem and I follow the instructions below but it din't work for me, but finally after 2 days of work I found the solution!!!.<br><br>This is working 7.2 should work on 8.0.<br><br>if you have already mailscanner installed don't worry, portupgrade can do all the job for you :).<br><br>1.- Remove old perl version :<br>pkg_info|grep perl ( copy the exact name of you perl version like perl5.10.1 )<br>pkg_delete -f perl5.10.1<br><br>2.- Install old perl.<br>pkg_add -r&nbsp;<a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.2-release/lang/perl-5.10.0_2.tbz">ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.2-release/lang/perl-5.10.0_2.tbz</a><br><br>3.- Clean up any work directory<br>portsclean -C<br><br>4.- Update pkgdb add upgrade any perl package<br>pkgdb -Ff<br>portupgrade -fr perl ( this is going to upgrade everything that uses perl including mailscanner).<br>perl-after-upgrade &amp;&amp; perl-after-upgrade -f<br><br>After that the error was gone and everything was working fine.<br><br>I was in the process of deciding of going towards mailscanner or amavisd-new and I decided to use mailscanner because was easier to configure and I expend 2 days fixing a problem with perl that I didn't have on amavis :).<br><br>I hope this help.<br><br>Thanks.<br><br>Jose Amengual.<div><br></div><div><br><div><div>On 2009-10-25, at 9:52 PM, Lyndon Labuschagne wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi All<br>Well seems we have the perl chown -T issue again<br><br>This is a fresh install (installed without perl)<br>installed perl5.10.1 first then apache mysql etc etc. finally installing MailScanner and letting the port install all its dependancies<br><br>Anyone have any ideas at all?<br><br>&lt;root@mailav02:~&gt;# mailscanner --lint<br>Trying to setlogsock(unix)<br><br>Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf<br>Reading configuration file /usr/local/etc/MailScanner/conf.d/README<br>Config: calling custom init function SQLBlacklist<br>Config: calling custom init function MailWatchLogging<br>Config: calling custom init function SQLWhitelist<br><br>Checking version numbers...<br>Version number in MailScanner.conf (4.78.17) is correct.<br><br>Your envelope_sender_header in spam.assassin.prefs.conf is correct.<br>MailScanner setting GID to &nbsp;(125)<br>MailScanner setting UID to &nbsp;(125)<br><br>Checking for SpamAssassin errors (if you use it)...<br>Using SpamAssassin results cache<br>Connected to SpamAssassin cache database<br>SpamAssassin reported no errors.<br>Connected to Processing Attempts Database<br>Created Processing Attempts Database successfully<br>There are 0 messages in the Processing Attempts Database<br>Using locktype = posix<br>MailScanner.conf says "Virus Scanners = clamav"<br>Found these virus scanners installed: clamd<br>===========================================================================<br>Insecure dependency in chown while running with -T switch at /usr/local/lib/MailScanner/MailScanner/Message.pm line 2505.<br><br>-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website!<br></div></blockquote></div><br></div><br />-- 
<br />Este mensaje ha sido analizado por 
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>
<br />en busca de virus y otros contenidos peligrosos,
<br />y se considera que est&aacute; limpio.
<br />MailScanner agradece a <a href="http://www.transtec.co.uk/">transtec Computers</a> por su apoyo.
</body></html>