Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf. PR: 19790
This commit is contained in:
parent
81f87bbcbe
commit
31923af7ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66940
@ -1,17 +1,16 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
Filtering out SPAM from your site
|
Filtering out SPAM from your site
|
||||||
Sendmail now includes excellent tools block spam. These
|
|
||||||
tools are available as FEATUREs that you can add to your site's
|
|
||||||
.mc file. Proper use of these FEATUREs will prevent spammer from
|
|
||||||
using your site as a relay as well as significantly decrease the
|
|
||||||
amount of spam that arrives at your site. No set of anti-spam
|
|
||||||
tools will block all spam without blocking some portion of legitimate
|
|
||||||
mail as well. Therefore, these FEATUREs are designed to prevent
|
|
||||||
as much spam as possible without blocking legitimate mail.
|
|
||||||
|
|
||||||
These tools are discussed in /usr/src/contrib/sendmail/cf/README.
|
Sendmail now includes excellent tools block spam. These tools are
|
||||||
Read the section entitled "ANTI-SPAM CONFIGURATION CONTROL". Example
|
available as FEATUREs that you can add to your site's .mc file. Proper use
|
||||||
usage and additional tools can be found in
|
of these FEATUREs will prevent spammer from using your site as a relay as
|
||||||
/usr/src/contrib/sendmail/cf/cf/knecht.mc.
|
well as significantly decrease the amount of spam that arrives at your
|
||||||
|
site. No set of anti-spam tools will block all spam without blocking some
|
||||||
|
portion of legitimate mail as well. Therefore, these FEATUREs are designed
|
||||||
|
to prevent as much spam as possible without blocking legitimate mail.
|
||||||
|
|
||||||
|
These tools are discussed in /usr/share/sendmail/cf/README. Read the
|
||||||
|
section entitled "ANTI-SPAM CONFIGURATION CONTROL". Example usage and
|
||||||
|
additional tools can be found in /usr/share/sendmail/cf/cf/knecht.mc.
|
||||||
|
|
||||||
|
@ -852,6 +852,8 @@
|
|||||||
..
|
..
|
||||||
..
|
..
|
||||||
..
|
..
|
||||||
|
sendmail
|
||||||
|
..
|
||||||
skel
|
skel
|
||||||
..
|
..
|
||||||
syscons
|
syscons
|
||||||
|
@ -10,4 +10,8 @@ SUBDIR= colldef dict examples isdn man me misc mk mklocale skel \
|
|||||||
SUBDIR+= doc
|
SUBDIR+= doc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if !defined(NO_SENDMAIL)
|
||||||
|
SUBDIR+= sendmail
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
33
share/sendmail/Makefile
Normal file
33
share/sendmail/Makefile
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
# Doing a make install builds /usr/share/sendmail/
|
||||||
|
|
||||||
|
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||||
|
CFDIR= cf
|
||||||
|
CFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print)
|
||||||
|
CFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print)
|
||||||
|
|
||||||
|
DDIR= ${DESTDIR}/usr/share/sendmail
|
||||||
|
|
||||||
|
NOOBJ= noobj
|
||||||
|
|
||||||
|
# Define SHARED to indicate whether you want symbolic links to the system
|
||||||
|
# source (``symlinks''), or a separate copy (``copies'')
|
||||||
|
SHARED?= copies
|
||||||
|
|
||||||
|
all clean cleandir depend lint tags:
|
||||||
|
|
||||||
|
beforeinstall: ${SHARED}
|
||||||
|
|
||||||
|
copies::
|
||||||
|
.for dir in ${CFDIRS}
|
||||||
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 -d ${SENDMAIL_DIR}/${dir} ${DDIR}/${dir}
|
||||||
|
.endfor
|
||||||
|
.for file in ${CFFILES}
|
||||||
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
symlinks::
|
||||||
|
rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR}
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue
Block a user