summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-12-12 11:24:16 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-12-12 11:24:16 +0000
commit9b230009225d688ca002152c8747c96e83951397 (patch)
treedb70252edd86de5d8da3a1601a2076933ad8e617 /doc
parentc58803fd11185cbcf673e99cebf8397c9194357a (diff)
Docs: more notes for local_scan/dlfunc
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 5e4822123..8be9b7121 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -33648,7 +33648,12 @@ directory, so you might set
HAVE_LOCAL_SCAN=yes
LOCAL_SCAN_SOURCE=Local/local_scan.c
.endd
-for example. The function must be called &[local_scan()]&. It is called by
+for example. The function must be called &[local_scan()]&;
+.new
+the source file(s) for it should first #define LOCAL_SCAN
+and then #include "local_scan.h".
+.wen
+It is called by
Exim after it has received a message, when the success return code is about to
be sent. This is after all the ACLs have been run. The return code from your
function controls whether the message is actually accepted or not. There is a