ports/59966: clamav-milter tries to execute /usr/lib/sendmail

Douglas K. Rand rand at newman.meridian-enviro.com
Thu Dec 4 23:00:44 UTC 2003


>Number:         59966
>Category:       ports
>Synopsis:       clamav-milter tries to execute /usr/lib/sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 04 15:00:41 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Douglas K. Rand
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Meridian Environmental Technology, Inc.
>Environment:
System: FreeBSD newman.meridian-enviro.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Jun 16 14:14:46 CDT 2003 root at newman.meridian-enviro.com:/usr/obj/usr/src/sys/NEWMAN i386


	
>Description:
	When the WITH_MILTER knob is turned on, clamav-milter is
	built trying to run /usr/lib/sendmail, which doesn't exist.
	The attached trivial patch uses /usr/sbin/sendmail.
>How-To-Repeat:
	Build clamav with WITH_MILTER=YES
>Fix:


--- clamav-milter/clamav-milter.c-orig	Thu Dec  4 16:54:17 2003
+++ clamav-milter/clamav-milter.c	Thu Dec  4 16:54:51 2003
@@ -1243,7 +1243,7 @@
 #endif
 
 		if(!qflag) {
-			sendmail = popen("/usr/lib/sendmail -t", "w");
+			sendmail = popen("/usr/sbin/sendmail -t", "w");
 			if(sendmail) {
 				/*
 				 * TODO: Make this e-mail message customisable

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



More information about the freebsd-ports-bugs mailing list