Make sure the web server allows set uid cgi programs.
And make sure the qmailadmin cgi has is setuid vpopmail setgid vchkpw
if all the domains are owned by vpopmail.
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