Hi all,
I asked a question a couple of days ago, and didn't get much of a response. In an attempt to get better information I have re-installed and re-investigated the problem. I am hoping I can now give better detail which someone will be able to help on, as I am not starting to come to the end of my vqadmin understanding.
My vchkpw home dir is /home/vpopmail
My vchkpw users and groups are vpopmail:vchkpw which match UID 89 and GID 89
vpopmail:x:89:89:Vpopmail:/home/vpopmail:/bin/false
I enter my vqadmin source dir and issue
./configure --enable-qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-cgibindir=/usr/local/apache/cgi-bin
which seems ok as I get back
Current settings
---------------------------------------
vpopmail directory = /home/vpopmail
uid = 89
gid = 89
cgi-bin dir = /usr/local/apache/cgi-bin
vqadmin dir = /usr/local/apache/cgi-bin/vqadmin
please note that vqadmin finds the uid and gid is 89 so it seems very aware that it is to use uid:gid 89
I issue a make all - which goes well, then make install (not install-strip) which again goes well and does not complain.
The make install installs the vqadmin dir in the cgi-bin of the webserver with the correct permissions.
drwxr-xr-x 3 vpopmail vchkpw 4096 May 29 15:42 vqadmin
and
[EMAIL PROTECTED] /usr/local/apache/cgi-bin/vqadmin]# ls -la /usr/local/apache/cgi-bin/vqadmin
total 92
drwxr-xr-x 3 vpopmail vchkpw 4096 May 29 15:42 .
drwxr-sr-x 4 root root 4096 May 29 15:41 ..
-rwxr-xr-x 1 nobody root 114 May 29 15:41 .htaccess
drwxr-xr-x 2 vpopmail vchkpw 4096 May 29 15:41 html
-rwxr-xr-x 1 vpopmail vchkpw 864 May 29 15:41 vqadmin.acl
-rwsr-sr-x 1 root root 68108 May 29 15:41 vqadmin.cgi
I create the vqadmin password file etc etc, and restart the webserver.
On executing the cgi script on the webserver I get the login box, which logs me in fine, so that all appears working and I create the domain test2.com which says it worked fine.
However if I look at the actual files on the server I see
/usr/local/apache/cgi-bin/vqadmin]# ls -la /home/vpopmail/domains/
total 32
drwx------ 8 vpopmail vchkpw 4096 May 29 15:43 .
drwxr-xr-x 8 vpopmail vchkpw 4096 Apr 14 18:00 ..
drwx------ 3 vpopmail vchkpw 4096 Apr 23 13:24 aspectevents.co.uk
drwx------ 6 vpopmail vchkpw 4096 Apr 25 10:41 mdlan.co.uk
drwx------ 4 vpopmail vchkpw 4096 May 21 21:18 parsonsmotorsport.co.uk
drwx------ 6 vpopmail vchkpw 4096 Apr 30 15:38 projecthugo.co.uk
drwx------ 4 vpopmail vchkpw 4096 Apr 25 15:15 sfproject.co.uk
drwx------ 3 1012 108 4096 May 29 15:43 test2.com
why is test2.com created with uid 1012 and gid 108 ??? where is it getting these random id's ??? and why would it be using them when it is so aware that 89:89 is the right id's to use.
Thanks,
Matt.
