# /site/etc/make.conf.sasl # ln -s ../../../etc/make.conf.sasl \ # /site/domain/berklix/etc/make.conf.sasl # ln -s ../../../etc/make.conf.sasl \ # /site/domain/js.berklix.net/etc/make.conf.sasl # cd /site/etc; make install # Exports to: http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/ # Perhaps an equivalent of this is not necessary on remote # berklix.org SASL servers, just on local js.berklix.net clients ? # See Also: # http://www.berklix.com/~jhs/txt/sasl.html # Put in /etc/make.conf: # .include "/site/domain/this/etc/make.conf.sasl" # Install /usr/ports/security/cyrus-sasl else /usr/src fails in: # bin/rmail # lib/libmilter # lib/libsmutil # libexec/mail.local # libexec/smrsh # usr.bin/vacation # usr.sbin/editmap # usr.sbin/mailstats # usr.sbin/praliases # usr.sbin/sendmail # List above may be useful if doing a manual rebuild on a slow host, # in case some of /usr/src might not automatically pick up dependencies # on SASL. # In case sasl is turned on later on a slow host, that has already # just built generic, & it will take much time to completely rebuild # /usr/src, these 6.2-RELEASE directories use SASL: # contrib/bind9/doc/draft # contrib/sendmail # crypto/heimdal/lib/hdb # etc/sendmail # share/examples/etc # share/man/man5 # usr.sbin/sendmail # In FreeBSD-6.4, /usr/ports/security/cyrus-sasl is empty # cyrus-sasl2/ exists # See also http://docs.snake.de/smtp-auth.html # { Analaysis of /usr/local/include/{ sasl, sasl1, sals2 } # host=park FreeBSD-6.2 # cd /var/db/pkg ; Grep include/sasl | sort # cyrus-sasl-1.5.28_5/+CONTENTS:include/sasl1/ # hmac-md5.h md5.h md5global.h sasl.h saslplug.h saslutil.h # cyrus-sasl-2.1.22/+CONTENTS:include/sasl/ # hmac-md5.h md5.h md5global.h prop.h sasl.h saslplug.h saslutil.h # cd /usr/local/include ; ls -l sasl* # sasl1: # hmac-md5.h md5.h md5global.h sasl.h saslplug.h saslutil.h # sasl: # hmac-md5.h md5.h md5global.h prop.h sasl.h saslplug.h saslutil.h # host=mart FreeBSD-6.2 upgrading to 6.4 src/ # cd /var/db/pkg/cyrus-sasl-2.1.22_1: ORIGIN:security/cyrus-sasl2 # cyrus-sasl-2.1.22_1/+CONTENTS:include/sasl/ # hmac-md5.h md5.h md5global.h prop.h sasl.h saslplug.h saslutil.h # cd /usr/local/include ; ls -l sasl* # sasl1: # hmac-md5.h md5.h md5global.h sasl.h saslplug.h saslutil.h # sasl: # hmac-md5.h md5.h md5global.h prop.h sasl.h saslplug.h saslutil.h # } .if exists ( /usr/local/include/sasl1 ) #{ SENDMAIL_CFLAGS+= -I/usr/local/include/sasl1 -DSASL .endif #} .if exists ( /usr/local/include/sasl2 ) #{ SENDMAIL_CFLAGS+= -I/usr/local/include/sasl2 -DSASL=2 .endif #} .if exists ( /usr/local/include/sasl ) #{ SENDMAIL_CFLAGS+= -I/usr/local/include/sasl -DSASL=2 .endif #} .if ( exists ( /usr/local/include/sasl1 ) ) || \ ( exists ( /usr/local/include/sasl2 ) ) || \ ( exists ( /usr/local/include/sasl ) ) #{ SENDMAIL_LDFLAGS+= -L/usr/local/lib .endif #} .if exists ( /usr/local/include/sasl1 ) #{ SENDMAIL_LDADD+= -lsasl -lcrypto -lssl .endif #} .if ( exists ( /usr/local/include/sasl2 ) || \ exists ( /usr/local/include/sasl ) ) #{ SENDMAIL_LDADD+= -lsasl2 .endif #} # Not Used: # SENDMAIL_CFLAGS+= -DSTARTTLS # On gate (with broken auth) with # `cd /etc/mail;make stop;make start` # I see # mart sm-mta[4379]: STARTTLS: Server(null) missing # SENDMAIL_LDADD+= -ldb3