one last point of oddity, looking at the compiled tmda.cgi file:

strings tmda.cgi |grep system
TMDA_CGI_MODE=system-wide

but it claims via web to be running no-su!! What could possibly cause that?

inline:

That is odd. Take a look at what is in tmda-cgi.h for the setting TMDA_CGI_MODE. This should be exactly what is returned by the "Additional" field in the error screen.


tmda-cgi.h:
#define PYTHON    "/usr/bin/python2.3"
#define INSTALL   "/usr/local/tmda-cgi-0.13/"
#define MODE      "TMDA_CGI_MODE=system-wide"
#define DISP_DIR  "TMDA_CGI_DISP_DIR=../display"
#define BASE_DIR  "TMDA_BASE_DIR=../tmda/"
#define VUSER     "TMDA_VUSER=vpopmail"
#define SESS_PRE  "TMDA_SESSION_PREFIX=/tmp/TMDASession."
#define SESS_EXP  "TMDA_SESSION_EXP=300"
#define SESS_ODDS "TMDA_SESSION_ODDS=0.01"
#define TMDARC "TMDARC=None"
#define AUTH_TYPE "TMDA_AUTH_TYPE=remote"
#define AUTH_ARG "TMDA_AUTH_ARG=pop3://localhost"

(I was/am surprised by the TMDA_VUSER=vpopmail, as I specified "None" at ./configure)


any thought on why the tmda.cgi script would execute in no-su instead of system wide?



According to your configure.ini it should not... which is very strange. tmda-cgi.h may hold the answer. Perhaps try doing a `./configure` and `make install` again.



I went one better, removed the whole dir, re-downloaded tmda-cgi-0.13, untarred, reran conf/make/make install... same thing. same tmda-cgi.h, same (binary diff) tmda.cgi.


Is there some debug stuff I can add to .h or Makefile... or somewhere that the cgi will log it's errors? I'm not getting anything in the apache logs... ?

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to