From: Paul L. <pa...@sq...> - 2005-12-01 22:52:12
|
J. Patrick Campbell wrote: > Paul Lesneiwski wrote: > > >>>Paul, thank you for working with me on this. >>>i replaced the original filtercmd.c and recompiled with >>>debugging turned on. >>>Also, the plugins/serversidefilter/config.php exists and it is >>>owned by root:root. I have edited it many times but I'm not sure >>>I've configured it properly. I've attached it for your review. >>> >>>Thanks, >>> >>>Patrick >>> >>> >>>neo script # make --debug >>>GNU Make 3.80 >>>Copyright (C) 2002 Free Software Foundation, Inc. >>>This is free software; see the source for copying conditions. >>>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >>>PARTICULAR PURPOSE. >>>Reading makefiles... >>>Updating goal targets.... >>>File `all' does not exist. >>> Prerequisite `filtercmd.c' is newer than target `filtercmd.o'. >>> Must remake target `filtercmd.o'. >>>gcc -c filtercmd.c -DSQUIRRELMAILCONFIGFILE='"../../config/config.php"' >>> Successfully remade target file `filtercmd.o'. >>> Prerequisite `filtercmd.o' is newer than target `filtercmd'. >>> Must remake target `filtercmd'. >>>gcc -o filtercmd filtercmd.o checkcreds_imap.o >>>chown root:apache filtercmd >>>chmod 4750 filtercmd >>> Successfully remade target file `filtercmd'. >>>Must remake target `all'. >>>Successfully remade target file `all'. >>> >>> >> >>Please uncomment this line in the Makefile: >> >>#CFLAGS=-DDEBUG >> >>Then make as usual and show output of the test.sh script. >> >>Thanks, >> >>paul >> >> >> >> > > neo script # sh test.sh > IMAP username: patrick > IMAP password: ***************** > user:patrick dom_user:patrick dom:(null) buflen:1024 > IMAP response: a1 OK LOGIN Ok. > > > findfilterpath() > phpvar: $FILTER_FILE_PATH > No RC file path found > RESULT: 17 This gives you the answer. Why did you completely remove the $FILTER_FILE_PATH variable from config.php?? |