summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-02-14 17:14:34 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-02-14 22:01:02 +0000
commit882bc1704d33aa34873e3a0f72e657b0cc2985e5 (patch)
tree69ccb826bf096a6654bc5e5fbb27f4bfe59e6803 /src
parent27d0d9e6e002b2a9ea9a053e8163523592786ab5 (diff)
Fix info on using local_scan() in the default Makefile
Broken-by: 9723f96673
Diffstat (limited to 'src')
-rw-r--r--src/OS/Makefile-Default10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/OS/Makefile-Default b/src/OS/Makefile-Default
index b3990fe84..41a4dbbdf 100644
--- a/src/OS/Makefile-Default
+++ b/src/OS/Makefile-Default
@@ -232,6 +232,11 @@ RANLIB=ranlib
EXIM_CHMOD=@true
+# If you want to use local_scan() at all, the support code must be included
+# by uncommenting this line.
+
+# HAVE_LOCAL_SCAN=yes
+
# LOCAL_SCAN_SOURCE defines the file in which the function local_scan() is
# defined. This provides the administrator with a hook for including C code
# for scanning incoming mails. The path that is defined must be relative to
@@ -239,8 +244,9 @@ EXIM_CHMOD=@true
# LOCAL_SCAN_SOURCE=Local/local_scan.c
-# The default setting points to a template function that doesn't actually do
-# any scanning, but just accepts the message.
+# A very simple example points to a template function that doesn't actually do
+# any scanning, but just accepts the message. A compilable file must be
+# included in the build even if HAVE_LOCAL_SCAN is not defined.
LOCAL_SCAN_SOURCE=src/local_scan.c