Bug 112752

Summary: Online documentation for enabling SMTP auth has error
Product: Documentation Reporter: bitbucket63-it
Component: Books & ArticlesAssignee: Gregory Neil Shapiro <gshapiro>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description bitbucket63-it 2007-05-18 04:00:08 UTC
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.

Fix: 

Change the documentation to reflect the way that works.
How-To-Repeat: Follow the instructions by the letter
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-18 08:24:05 UTC
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
Comment 2 Gregory Neil Shapiro freebsd_committer freebsd_triage 2007-06-14 16:57:00 UTC
State Changed
From-To: open->feedback

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) 



Comment 3 Gregory Neil Shapiro freebsd_committer freebsd_triage 2007-06-14 16:57:00 UTC
Responsible Changed
From-To: freebsd-doc->gshapiro

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)
Comment 4 Gregory Neil Shapiro freebsd_committer freebsd_triage 2007-08-06 16:06:46 UTC
State Changed
From-To: feedback->closed

Unable to reproduce and no response from original reporter.