From nobody@FreeBSD.org  Fri May 18 02:53:54 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id BBDA516A401
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2007 02:53:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id AD1BB13C447
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2007 02:53:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4I2rsAd075531
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2007 02:53:54 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l4I2mra7074519;
	Fri, 18 May 2007 02:48:53 GMT
	(envelope-from nobody)
Message-Id: <200705180248.l4I2mra7074519@www.freebsd.org>
Date: Fri, 18 May 2007 02:48:53 GMT
From: James T McNaughton<bitbucket63-it@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Online documentation for enabling SMTP auth has error
X-Send-Pr-Version: www-3.0

>Number:         112752
>Category:       docs
>Synopsis:       Online documentation for enabling SMTP auth has error
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 18 03:00:08 GMT 2007
>Closed-Date:    Mon Aug 06 15:08:03 GMT 2007
>Last-Modified:  Mon Aug 06 15:08:03 GMT 2007
>Originator:     James T McNaughton
>Release:        RELENG_6
>Organization:
Dewey, Cheatham, & Howe
>Environment:
FreeBSD terrytown.gateway.2wire.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


>Description:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html has incorrect information for make.conf. it state that you should set:

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL

in make.conf but that causes compile errors. However:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL

works fine.
>How-To-Repeat:
Follow the instructions by the letter
>Fix:
Change the documentation to reflect the way that works.
>Release-Note:
>Audit-Trail:

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org, bitbucket63-it@yahoo.com
Cc:  
Subject: Re: docs/112752: Online documentation for enabling SMTP auth has
	error
Date: Fri, 18 May 2007 09:24:05 +0200

 That's funny, I built my sendmail with the flags as documented, and it
 worked just fine.
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Fufie> snow should be on the tv and in the mountains, not here
State-Changed-From-To: open->feedback 
State-Changed-By: gshapiro 
State-Changed-When: Thu Jun 14 15:57:00 UTC 2007 
State-Changed-Why:  
I too build my sendmail using '-I/usr/local/include/sasl' and it works 
just fine.  I'm using cyrus-sasl-2.1.22 from the ports system and the 
include files are installed under /usr/local/include/sasl/: 

> cd /usr/local/include/sasl/ 
> ls -l 
total 102 
-r--r--r--  1 root  wheel   1368 Jul 30  2006 hmac-md5.h 
-r--r--r--  1 root  wheel   1442 Jul 30  2006 md5.h 
-r--r--r--  1 root  wheel   1007 Jul 30  2006 md5global.h 
-r--r--r--  1 root  wheel   7273 Jul 30  2006 prop.h 
-r--r--r--  1 root  wheel  49845 Jul 30  2006 sasl.h 
-r--r--r--  1 root  wheel  32920 Jul 30  2006 saslplug.h 
-r--r--r--  1 root  wheel   2648 Jul 30  2006 saslutil.h 

The only way -I/usr/local/include will work instead is if you did 
one of the following: 

1. Installed cyrus-sasl in a customized fashion. 
2. Instead of using -DSASL, you used -DSASL=2 or -DSASL=20000 (or higher) 



Responsible-Changed-From-To: freebsd-doc->gshapiro 
Responsible-Changed-By: gshapiro 
Responsible-Changed-When: Thu Jun 14 15:57:00 UTC 2007 
Responsible-Changed-Why:  
I too build my sendmail using '-I/usr/local/include/sasl' and it works 
just fine.  I'm using cyrus-sasl-2.1.22 from the ports system and the 
include files are installed under /usr/local/include/sasl/: 

> cd /usr/local/include/sasl/ 
> ls -l 
total 102 
-r--r--r--  1 root  wheel   1368 Jul 30  2006 hmac-md5.h 
-r--r--r--  1 root  wheel   1442 Jul 30  2006 md5.h 
-r--r--r--  1 root  wheel   1007 Jul 30  2006 md5global.h 
-r--r--r--  1 root  wheel   7273 Jul 30  2006 prop.h 
-r--r--r--  1 root  wheel  49845 Jul 30  2006 sasl.h 
-r--r--r--  1 root  wheel  32920 Jul 30  2006 saslplug.h 
-r--r--r--  1 root  wheel   2648 Jul 30  2006 saslutil.h 

The only way -I/usr/local/include will work instead is if you did 
one of the following: 

1. Installed cyrus-sasl in a customized fashion. 
2. Instead of using -DSASL, you used -DSASL=2 or -DSASL=20000 (or higher) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=112752 
State-Changed-From-To: feedback->closed 
State-Changed-By: gshapiro 
State-Changed-When: Mon Aug 6 15:06:46 UTC 2007 
State-Changed-Why:  
Unable to reproduce and no response from original reporter. 

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