F-Prot - Debian - MailScanner paths [SCANNED]

Julian Field mailscanner at ecs.soton.ac.uk
Mon Mar 1 22:05:32 GMT 2004


The f-prot-autoupdate should (unless the Debian packagers have played with
it) take the installation directory on the command line, just like the
f-prot-wrapper does.

At 18:52 01/03/2004, you wrote:
>On 3/1/04 11:11 AM, "Julian Field" wrote:
>
> > The non-Debian versions of MailScanner all expect /usr/local/f-prot to be
> > the installation directory by default.
> > You will need to change the path in /etc/MailScanner/virus.scanners.conf or
> > wherever the Debian guys have put that file. Don't alter the scripts at
> all.
>
>Okay we have modified the virus.scanners.conf
>
>Old
>f-prot          /etc/MailScanner/wrapper/f-prot-wrapper /usr/lib/f-prot
>New
>f-prot          /etc/MailScanner/wrapper/f-prot-wrapper /usr/local/f-prot
>
>Looks like that was the cure :))
>
>But on the /etc/MailScanner/autoupdate/f-prot-autoupdate
>
>We have
><snip>
>use Sys::Syslog;
>use IO::File;
># Stop syslogd from needing external access (or -r)
>eval { Sys::Syslog::setlogsock('unix'); };
>
>$PackageDir = "/usr/lib/f-prot";
></snip>
>
>And
>
><snip>
># N.B. TempDir DIRECTORY WILL BE CLEARED so
># you *really* don't want to share it with
># anything else.
>$TempDir    = "/var/tmp/f-prot";
>$DefDir     = "/var/lib/f-prot";
></snip>
>
>Will the autoupdate know to tap into /usr/local/f-prot Those looked
>hard-coded?
>
>--
>Thanks!!
>David Thurman
>List Only at Web Presence Group Net

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list