From 113bb709387ad56caa8bec9a86e609a2987db6be Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Thu, 3 Mar 2005 05:40:08 +0000 Subject: [PATCH] Rearranged the note to add dependencies and added hooks to OpenLDAP to the Sendmail instructions git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3513 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 4 ++-- introduction/welcome/changelog.xml | 4 ++++ server/mail/sendmail.xml | 30 ++++++++++++++++-------------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/general.ent b/general.ent index 16dae94534..6601d2092c 100644 --- a/general.ent +++ b/general.ent @@ -1,8 +1,8 @@ - + - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 772787e717..ef08976a87 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -22,6 +22,10 @@ who wrote what. +March 3rd, 2005 [randy]: Rearranged the note to build +dependencies and added OpenLDAP hooks to the Sendmail +instructions. + March 2nd, 2005 [randy]: Added 'status' option to the portmap bootscript; updated to HTML Tidy-050301. diff --git a/server/mail/sendmail.xml b/server/mail/sendmail.xml index af927b3bf3..e033190f47 100644 --- a/server/mail/sendmail.xml +++ b/server/mail/sendmail.xml @@ -75,10 +75,25 @@ useradd -c "Sendmail Daemon" -g smmsp -G mail smmsp && chmod 1777 /var/mail && mkdir /var/spool/mqueue +Note: See the source tree +sendmail/README file for information on linking optional +packages into the build. Use the example below, which adds support for +tcpwrappers, SASL, +StartTLS +(OpenSSL) and +OpenLDAP, as a starting point. +Of course, modify it to suit your particular needs. + +cat >> devtools/Site/site.config.m4 << "EOF" +APPENDDEF(`confENVDEF',`-DSTARTTLS -DTCPWRAPPERS -DSASL -DLDAPMAP') +APPENDDEF(`confLIBS', `-lssl -lcrypto -lwrap -lsasl2 -lldap -llber') +APPENDDEF(`confINCDIRS', `-I/usr/include/sasl') +EOF + Install Sendmail with the following commands: -cat > devtools/Site/site.config.m4 << "EOF" +cat >> devtools/Site/site.config.m4 << "EOF" define(`confMANGRP',`root') define(`confMANOWN',`root') define(`confSBINGRP',`root') @@ -108,19 +123,6 @@ install -v -m444 sendmail/mailq.1 /usr/share/man/man1 && install -v -m444 sendmail/newaliases.1 /usr/share/man/man1 && install -v -m444 vacation/vacation.1 /usr/share/man/man1 -Note: See the source tree -sendmail/README file for information on linking optional -packages into the build. Use the example below, which adds support for -tcpwrappers, SASL and -StartTLS, as a starting point. Of course, modify it to suit -your particular needs. - -cat >> devtools/Site/site.config.m4 << "EOF" -APPENDDEF(`confENVDEF',`-DSTARTTLS -DTCPWRAPPERS -DSASL') -APPENDDEF(`confLIBS', `-lssl -lcrypto -lwrap -lsasl2') -APPENDDEF(`confINCDIRS', `-I/usr/include/sasl') -EOF - Install the Sendmail Installation and Operations Guide with the following commands: