Local/local_scan.c, and edit the copy. To use your version instead of the
default, you must set
+HAVE_LOCAL_SCAN=yes
LOCAL_SCAN_SOURCE=Local/local_scan.c
in your Local/Makefile. This makes it easy to copy your version for use with
int
local_scan(int fd, uschar **return_text)
{
-fd = fd; /* Keep picky compilers happy */
-return_text = return_text;
return LOCAL_SCAN_ACCEPT;
}