darren david writes:

> has anyone gotten qmailadmin and/or vQadmin running on OpenBSD > 3.2 with
> the default install of apache? I'd love to hear your secrets...

Not on OpenBSD, but on Linux with the default Apache which uses suexec.
If you're running with suexec then you need to do the following.

Make sure the cgi-bin directory (the one you've scriptaliased) and
qailadmin (and any sub-directories in between if you have them) are owned
by vpopmail group vchkpw.  Make sure the directory permissions are
0755.  Make absolutely sure the setuid/setgid bits are NOT set on
qmailadmin.  Make sure that the cgi-bin directory is within the
DocumentRoot directory for the server or virtual host (as appropriate).

If it still fails then tail -f the httpd error log and suexec log
while you try to access sqwebmail.

It would be really nice if qmailadmin had a --with-suexec=user:group
configure option.  It would save me a chown and a chmod each time
I install it, given that I use a custom script to call configure
with all the options I want in it.  But I'd still have to tweak
sqwebmail because Mr Sam refuses to support suexec, so I can live
without that option.  OTOH, it might make life easier for those
installing it for the first time on an suexec system.

-- 
Paul Allen
Softflare Support


Reply via email to