Randy Lewis writes:

>I thing the sqwebmail problem comes from the fact that 3.5 mounts the
>/var partition 'nosuid' (by default). 
>
>So, you'd have to un-do the nosuid flag in /etc/fstab, or perhaps
>find a different location from which to run sqwebmail. 
>
>Also, don't forget about the other fact that httpd is running chroot'd.
>You may have to un-do that with a -u option for httpd when it
>starts...

And very good ideas they are.

It is indeed the problem with chroot that was causing sqwebmail to silently
fail.

Apparently, the sqwebmail CGI program can't communicate with the back-end
from inside the chroot enviroment.  Which is the whole point, I guess.

I'll just have to run it in 'insecure' mode like 99% of apache users out
there for now.  I'd like to figure out how to get it to run inside the
chroot though.

The sqwebmail CGI isn't setuid, so that wasn't a problem.  The web
administration interface for Courier is setuid, however, so that's something
to consider if I want to get that running.  It would be easy enough to just
point the document root and/or the CGI bin directory somewhere else
though.

Thank you for your help!

James Graves
Delta Mobile Software                               http://www.deltamobile.com


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to