Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  3 Dec 2001 15:44:29 +0100 (CET)
From:      Martijn Lina <martijn@ietsvaags.xs4all.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32471: amavis-perl only usable for sendmail
Message-ID:  <20011203144429.B33B86F5@drain.ietsvaags.xs4all.nl>

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

>Number:         32471
>Category:       ports
>Synopsis:       amavis-perl only usable for sendmail
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 06:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martijn Lina
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
-
>Environment:
System: FreeBSD drain.ietsvaags.xs4all.nl 4.4-STABLE FreeBSD 4.4-STABLE #1: Tue Nov 27 01:57:10 CET 2001 root@drain.ietsvaags.xs4all.nl:/pub/FreeBSD/obj/usr/src/sys/DRAIN i386


>Description:
	There's no way to define for which MTA amavis-perl should be built.
	Therefor, when using an MTA other than sendmail, the supporting code
	in amavis is not included in the installed script.

>How-To-Repeat:
	cd /usr/ports/security/amavis-perl && make && make install
	# Now try and set up an amavis content_filter as described in
	# /usr/local/share/doc/amavis/README.postfix
>Fix:

--- Makefile.orig	Sun Oct 21 20:47:20 2001
+++ Makefile	Mon Dec  3 15:29:56 2001
@@ -56,6 +56,14 @@
 CONFIGURE_ARGS+=	--enable-relay
 .endif
 
+.if ${MTA} == "postfix"
+CONFIGURE_ARGS+=	--enable-postfix --enable-smtp
+.elif ${MTA} == "exim"
+CONFIGURE_ARGS+=	--enable-exim
+.elif ${MTA} == "sendmail"
+CONFIGURE_ARGS+=	--enable-sendmail
+.endif
+
 PKGDEINSTALL=	${PKGDIR}/pkg-deinstall.${MTA}
 PKGINSTALL=	${PKGDIR}/pkg-install.${MTA}
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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