Update the sendmail build information in light of the new SENDMAIL_* make.conf

flags.

Approved by:	maintainer, ade
This commit is contained in:
Gregory Neil Shapiro 2000-09-20 01:34:45 +00:00
parent 0572bde981
commit c9b4da9692
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32885
2 changed files with 12 additions and 32 deletions

View file

@ -1,25 +1,15 @@
How to enable SMTP AUTH with FreeBSD default Sendmail 8.11
1. Edit /usr/src/usr.sbin/sendmail/Makefile, and change the line:
LDADD= -lutil -lwrap
into
LDADD+= -lutil -lwrap
NOTE: This change is in 5.0-CURRENT and will be MFC'd to
4.1-STABLE later.
2) Add the following to /etc/make.conf:
1) Add the following to /etc/make.conf:
# Add SMTP AUTH support to Sendmail
.if ${.CURDIR} == "/usr/src/usr.sbin/sendmail"
CFLAGS+=-DSASL -I/usr/local/include/sasl -L/usr/local/lib
LDADD+=-lsasl
.endif
SENDMAIL_CFLAGS+= -DSASL -I/usr/local/include/sasl
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl
3) Rebuild FreeBSD (make buildworld, ...)
2) Rebuild FreeBSD (make buildworld, ...)
4) Create /usr/local/lib/sasl/Sendmail.conf with the following.
3) Create /usr/local/lib/sasl/Sendmail.conf with the following.
pwcheck_method: pwcheck

View file

@ -1,25 +1,15 @@
How to enable SMTP AUTH with FreeBSD default Sendmail 8.11
1. Edit /usr/src/usr.sbin/sendmail/Makefile, and change the line:
LDADD= -lutil -lwrap
into
LDADD+= -lutil -lwrap
NOTE: This change is in 5.0-CURRENT and will be MFC'd to
4.1-STABLE later.
2) Add the following to /etc/make.conf:
1) Add the following to /etc/make.conf:
# Add SMTP AUTH support to Sendmail
.if ${.CURDIR} == "/usr/src/usr.sbin/sendmail"
CFLAGS+=-DSASL -I/usr/local/include/sasl -L/usr/local/lib
LDADD+=-lsasl
.endif
SENDMAIL_CFLAGS+= -DSASL -I/usr/local/include/sasl
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl
3) Rebuild FreeBSD (make buildworld, ...)
2) Rebuild FreeBSD (make buildworld, ...)
4) Create /usr/local/lib/sasl/Sendmail.conf with the following.
3) Create /usr/local/lib/sasl/Sendmail.conf with the following.
pwcheck_method: pwcheck