[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sqwebmail



This one time, at band camp, Tony Wasson said:
> >Anyone have any experience setting up sqwebmail?  I've been puttering
> >around with it, but I'm not really getting anywhere.  I have a default
> >apache install, and a default sqwebmail for woody.  When I acces the
> >site, I get an error "foo.com/[" not found.  I assume this is because
> >it's trying to look up the .css for sqwebmail and failing, but I'm not
> >sure how to correct it as yet.  Putting the setEnv directive from the
> >README.Debian in httpd.conf makes reloading apache fail (I'm putting it
> >under 'if mod_setenv' - maybe it's the wrong place?)
> 
> >Any pointers to docs or whatever welcome.  Please be gentle, this is my
> >first foray into both apache and webmail, and I'm moving fairly slowly.
> >Looking at docs online lead me to believe I'm going to need to set up a
> >cgi-bin on this server, but I find nothing in the Debian package - is
> >this just poor documentation on Debian's part, or is it not really
> >necessary?
> 
> I recently set it up, and I recall there being a problem with the
> dependencies. If you check the bug logs (bugs.debian.org), you'll see that
> you have to install a slightly different PHP to get everything to work. The
> .deb does everything for you, so you shouldn't need to tweak httpd.conf,
> unless you want to change the URL.
> 
> Feel free to contact me if you need more help.
> Tony Wasson
> 
> 
> Tony

Hmmm . . . I don't have PHP installed at all on this box, and it seems
to be working.  I guess, rereading my message, I really wasn't clear
what the problem was.  Not enough (coffee | sleep) and too much time in
my head.  Let me start over.

If I choose to install sqwebmail non-SUID root (my preferred solution),
I get the above error.  If I do install it SUID root, then it works, but
under foo.com/cgi-bin/sqwebmail.

What I have set up currently is this:

I have a domain, let's say foo.com.  DNS points to 2 boxes, www.foo.com
and mail.foo.com, each with their own static IP.  www.foo.com displays a
main webpage and users pages as it should. (Yaay - I really don't know
apache well, so this was a small triumph).  I would like it if I could
go to mail.foo.com, and be presented with a login page, which I think
would mean setting up the DocumentRoot to be /path/to/sqwebmail,
although this has so far failed.  I basically would like this because
there are no other virtual domains on this server, and it is serving a
fairly small user base.  I suppose I could just set up index.html in the
DocumentRoot to redirect to cgi-bin/sqwebmail, but this feels clumsy.
As all the users are friends of mine, is there a way to not install
sqwebmail SUID root (they can just ask me to change their passwords,
rather than having a potential security hole) and have the DocumentRoot
work as described above?

Thanks,
Steve

-- 
Fascinating, a totally parochial attitude.
		-- Spock, "Metamorphosis", stardate 3219.8

Attachment: pgp5Mnc4BGlcs.pgp
Description: PGP signature


Reply to: