Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 11:39:40 +0200 (CEST)
From:      Derik van Zuetphen <dz@426.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        j.koopmann@seceidos.de
Subject:   ports/115568: mail/mailscanner: automatic virus pattern update does not work with f-prot
Message-ID:  <20070816093940.77F7456772@fallom.a.426.ch>
Resent-Message-ID: <200708161000.l7GA04Be030570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115568
>Category:       ports
>Synopsis:       mail/mailscanner: automatic virus pattern update does not work with f-prot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 16 10:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Derik van Zuetphen
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD mail-check-01.pironet-ndh.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri May 18 15:55:33 CEST 2007     root@mail-check-01.pironet-ndh.com:/usr/src/sys/i386/compile/PNDH  i386

MailScanner-4.58.9_2
>Description:
	Some scripts in /usr/local/libexec/MailScanner use wget to download
	the current virus signatures. wget is installed from ports and
	thus located in /usr/local/bin. If an update script is called from
	cron the $PATH does not include /usr/local/bin and the download
	doesn't work.

	I have only checked with f-prot, maybe other scripts that use wget
	are affected, too.
	
>How-To-Repeat:
	- install f-prot: www.f-prot.com
	- add "Virus Scanners = f-prot" to MailScanner.conf
	- add "0 * * * *      /usr/local/libexec/MailScanner/update_virus_scanners.cron" to root's crontab

>Fix:
	Add "PATH="$PATH:/usr/local/bin"" to all scripts in
	/usr/local/libexec/MailScanner that use binaries from the ports,
	like wget.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070816093940.77F7456772>