summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libmilter/README
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/libmilter/README')
-rw-r--r--contrib/sendmail/libmilter/README24
1 files changed, 13 insertions, 11 deletions
diff --git a/contrib/sendmail/libmilter/README b/contrib/sendmail/libmilter/README
index 96fba66..ec1f84b 100644
--- a/contrib/sendmail/libmilter/README
+++ b/contrib/sendmail/libmilter/README
@@ -9,11 +9,8 @@ through reference to a sample filter which is attached at the end of this
file. It is necessary to first build libmilter.a, which can be done by
issuing the './Build' command in SRCDIR/libmilter .
-NOTE: If you intend to use filters in sendmail, you must compile sendmail
-with -DMILTER defined. You can do this by adding the following to
-your devtools/Site/site.config.m4 file:
-
- APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
+Starting with 8.13 sendmail is compiled by default with support for
+the milter API.
+----------------+
| SECURITY HINTS |
@@ -23,13 +20,18 @@ Note: we strongly recommend not to run any milter as root. Libmilter
does not need root access to communicate with sendmail. It is a
good security practice to run a program only with root privileges
if really necessary. A milter should probably check first whether
-it runs as root and refuse to start in that case. There is a
-compile time option _FFR_MILTER_ROOT_UNSAFE which keeps libmilter
-from unlinking a socket when running as root. It is recommended
-to turn on this option:
+it runs as root and refuse to start in that case. libmilter will
+not unlink a socket when running as root.
+
++----------------------+
+| CONFIGURATION MACROS |
++----------------------+
- APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')
+Libmilter uses a set of C preprocessor macros to specify platform specific
+features of the C compiler and standard C libraries.
+SM_CONF_POLL
+ Set to 1 if poll(2) should be used instead of select(2).
+-------------------+
| BUILDING A FILTER |
@@ -464,4 +466,4 @@ main(argc, argv)
/* eof */
-$Revision: 8.35.2.2 $, Last updated $Date: 2003/05/26 04:10:06 $
+$Revision: 8.40 $, Last updated $Date: 2003/12/11 18:14:34 $
OpenPOWER on IntegriCloud