Subject: bin/21305: sendmail not compiled with -DMILTER
To: None <gnats-bugs@gnats.netbsd.org>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: netbsd-bugs
Date: 04/24/2003 21:36:14
>Number:         21305
>Category:       bin
>Synopsis:       sendmail not compiled with -DMILTER
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 24 13:14:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christopher SEKIYA
>Release:        NetBSD 1.6R
>Organization:

-- Chris
	GPG key FEB9DE7F (91AF 4534 4529 4BCC 31A5  938E 023E EEFB FEB9 DE7F)
>Environment:
	
	
System: NetBSD izu 1.6R NetBSD 1.6R (IZU.MP) #0: Sat Apr 19 20:04:39 JST 2003 wileyc@izu:/usr/builder/sys/arch/i386/compile/IZU.MP i386
Architecture: i386
Machine: i386
>Description:

One of the really neat features of sendmail-8.12.x is the addition of mail
filters -- a mechanism by which email can be run through an external filter
before the entire SMTP transaction is completed.  This capability allows
tired and cranky admins to integrate things like spamassassin into their
MTA, bouncing mail judged to be spam.

Unfortunately, this facility is a compile-time option.  Hence the pr and
attached diff :)
	
>How-To-Repeat:
	
>Fix:
	

Index: Makefile.inc
===================================================================
RCS file: /cvsroot/src/gnu/usr.sbin/sendmail/Makefile.inc,v
retrieving revision 1.7
diff -u -r1.7 Makefile.inc
--- Makefile.inc	2003/03/24 15:04:03	1.7
+++ Makefile.inc	2003/04/24 12:30:50
@@ -4,7 +4,7 @@
 
 CPPFLAGS+=	-DNEWDB -DDNSMAP -DIP_SRCROUTE
 CPPFLAGS+=	-DMAP_REGEX -DTCPWRAPPERS -DNETISO
-CPPFLAGS+=	-DNEEDSGETIPNODE -DNETINET6
+CPPFLAGS+=	-DNEEDSGETIPNODE -DNETINET6 -DMILTER
 CPPFLAGS+=	-I. -I${.CURDIR}/../include \
 		-I${DIST}/sendmail/sendmail -I${DIST}/sendmail/include
 
>Release-Note:
>Audit-Trail:
>Unformatted: