# /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: # /etc/make.conf # 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 # See also http://docs.snake.de/smtp-auth.html .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 -DSASL=2 .endif #} .if ( exists ( /usr/local/include/sasl1 ) ) || \ ( exists ( /usr/local/include/sasl2 ) ) #{ 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 ) #{ 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