Andy Gayton: > Just to rule this out I've attached my checkpassword script for your > reference.
Thanks; it turns out I was using the wrong method of exec'ing the program at the end of the checkpassword routine. The problem *was* in my checkpassword all along! I knew that program was up to no good... Your checkpassword says: > os.execve( sys.argv[1], sys.argv[1:], os.environ ) I was using os.system() instead, which appears to have preserved some (but not all) of the environment variables that bincimapd was looking for. I would have thought that if one (non-default) setting got through, they all would. For reference's sake, here's information on os.system() vs. os.exec*e() that addresses this very issue: http://www.python.org/search/hypermail/python-1994q2/0460.html --Kyle
