From tw0009@triton.products.nippondata.co.jp  Fri Mar  7 10:56:35 2003
Return-Path: <tw0009@triton.products.nippondata.co.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 505A337B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Mar 2003 10:56:35 -0800 (PST)
Received: from triton.products.nippondata.co.jp (triton.products.nippondata.co.jp [210.164.150.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B198F43F93
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Mar 2003 10:56:33 -0800 (PST)
	(envelope-from tw0009@triton.products.nippondata.co.jp)
Received: from triton.products.nippondata.co.jp (localhost [127.0.0.1])
	by triton.products.nippondata.co.jp (8.12.6/8.12.6) with ESMTP id h27IuUet001133
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 8 Mar 2003 03:56:31 +0900 (JST)
	(envelope-from tw0009@triton.products.nippondata.co.jp)
Received: (from tw0009@localhost)
	by triton.products.nippondata.co.jp (8.12.6/8.12.6/Submit) id h27IuUda001132;
	Sat, 8 Mar 2003 03:56:30 +0900 (JST)
	(envelope-from tw0009)
Message-Id: <200303071856.h27IuUda001132@triton.products.nippondata.co.jp>
Date: Sat, 8 Mar 2003 03:56:30 +0900 (JST)
From: Tsuyoshi Wada <mail@tuyo.jp>
Reply-To: Tsuyoshi Wada <mail@tuyo.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: make.conf recommends wrong settings for SASL support on sendmail
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         49009
>Category:       conf
>Synopsis:       make.conf recommends wrong settings for SASL support on sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 07 11:00:25 PST 2003
>Closed-Date:    Wed Mar 19 21:52:02 PST 2003
>Last-Modified:  Wed Mar 19 21:52:02 PST 2003
>Originator:     Tsuyoshi Wada
>Release:        FreeBSD 4.7-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD triton.products.nippondata.co.jp 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #1: Tue Mar 4 17:04:23 JST 2003 tuyo@geryon.nippondata.ne.jp:/usr/obj/usr/src/sys/UTN i386


>Description:
	/etc/defaults/make.conf recommends wrong settings for SASL support in RELENG_4.
		1. Add original lines ('=' only) to my /etc/make.conf
		2. Do make world
		3. Then, sendmail couldn't support SMTP-AUTH with SASL

>How-To-Repeat:
	N/A

>Fix:
	Patch for etc/defaults/make.conf

--- make.conf.orig	Fri Oct 11 10:48:43 2002
+++ make.conf	Sat Mar  8 03:29:39 2003
@@ -400,9 +400,9 @@
 # sendmail and its related utilities. For example, SASL support can be
 # added with settings such as:
 #
-#	SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
-#	SENDMAIL_LDFLAGS=-L/usr/local/lib
-#	SENDMAIL_LDADD=-lsasl
+#	SENDMAIL_CFLAGS+=-I/usr/local/include/sasl1 -DSASL
+#	SENDMAIL_LDFLAGS+=-L/usr/local/lib
+#	SENDMAIL_LDADD+=-lsasl
 #
 # Note: If you are using Cyrus SASL with other applications which require
 #	access to the sasldb file, you should add the following to your


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Sat Mar 15 00:45:12 PST 2003 
Responsible-Changed-Why:  

Over to Mr. Sendmail. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49009 
State-Changed-From-To: open->feedback 
State-Changed-By: gshapiro 
State-Changed-When: Sat Mar 15 10:01:10 PST 2003 
State-Changed-Why:  
I just gave this a try and it worked fine for me.  Are you sure 
something else didn't get in your way like a later SENDMAIL_* setting 
in your make.conf?  Does /etc/mail/mailer.conf point to the newly 
built sendmail?  Did you setup SASL properly? 

Please try again and check to see if the built sendmail supports SASL with: 

/usr/libexec/sendmail/sendmail -d0.10 -bt < /dev/null 

and check to see if SASL shows up in the build flags. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=49009 
State-Changed-From-To: feedback->closed 
State-Changed-By: gshapiro 
State-Changed-When: Wed Mar 19 21:51:38 PST 2003 
State-Changed-Why:  
It worked after a second attempt. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49009 
>Unformatted:
