Ken, Thanks for all your help, that last one did it.
Thanks very much for you help. Regards Dave On Fri, 2005-10-07 at 17:23 -0500, Ken Jones wrote: > Check > /etc/sysconfig/selinux > > Make sure you have: > SELINUX=disabled > > I forget how to tell the system to re-read that file. > But a reboot will cause it to take effect. > > David Brown wrote: > > Ken, > > > > On Fri, 2005-10-07 at 15:58 -0500, Ken Jones wrote: > > > >>Make sure the web server allows set uid cgi programs. > > > > > > the server is Apache/2.0.54 (Fedora), but i cant find any reference to > > allowing set uid cgi > > > > > >>And make sure the qmailadmin cgi has is setuid vpopmail setgid vchkpw > >>if all the domains are owned by vpopmail. > > > > > > I've checked the qmailadmin cgi, and the owner is set to user vpopmail > > and group to vchkpw. permissions on the cgi are owner+rw,group+r,other+r > > and the file is marked as excutable. > > > > Hope this helps. > > > >>Ken > >> > >>David Brown wrote: > >> > >>>Ken, > >>> > >>>That is the way that I had created the domains in the first instance. > >>> > >>>I tried again to add the domain using the line that you sent (just in case > >>>I had missed something) > >>>but I have just checked the /var/qmail/users/assign file, and the domain is > >>>listed in there, I have redone the cdb update, but I am still getting > >>>the error in the apache log. > >>> > >>>Any other ideas? > >>> > >>>On Fri, 2005-10-07 at 15:24 -0500, Ken Jones wrote: > >>> > >>> > >>>>David Brown wrote: > >>>> > >>>> > >>>>>[Fri Oct 07 18:56:32 2005] [error] [client 127.0.0.1] > >>>>>Error. Domain test.com was not found in the assign > >>>>>file, referer: > >>>>>http://digital-fortress.co.uk/cgi-bin/qmailadmin > >>>>> > >>>>>Username: postmaster > >>>>>Domain: test.com > >>>>>Password: letmein > >>>>> > >>>>>As far as I know all of the permissions are correct, > >>>>>but I am not sure what / where this assign file should > >>>>>be located. > >>>>> > >>>>>Thanks in advance > >>>>>Dave > >>>>> > >>>> > >>>>The best thing to do is add the domain with > >>>>the vpopmail vadddomain program like: > >>>>/home/vpopmail/bin/vadddomain test1.com letmein > >>>> > >>>>The vadddomain program will do all the work to let > >>>>qmail know about the domain. Which includes adding > >>>>the domain to /var/qmail/users/assign and compiling > >>>>the /var/qmail/users/cdb file. > >>>> > >>>>Cheers, > >>>>Ken Jones > >>>> > >>> > >>> > >> > > > >
