Hi,
I have an old problem which I have been searching the archives for to see if any progress has been made by anyone else. I cannot find an answer, so I’ll summerise and hope someone has some further advice.
The system = Linux/qmail (life with qmail install)/vpopmail (using mysql)/qmailadmin/vqadmin/sqwebmail
Now for the file system and perms.
[EMAIL PROTECTED] /home/vpopmail/domains]# ls -la /home/vpopmail/
total 32
drwxr-xr-x 8 vpopmail vchkpw 4096 Oct 30 14:29 .
drwxr-xr-x 13 root root 4096 Oct 23 18:16 ..
drwxr-xr-x 2 vpopmail vchkpw 4096 Sep 10 20:21 bin
drwxr-xr-x 4 vpopmail vchkpw 4096 Apr 14 2003 doc
drwx------ 11 vpopmail vchkpw 4096 Oct 30 14:30 domains
drwxr-xr-x 2 vpopmail vchkpw 4096 Sep 16 15:46 etc
drwxr-xr-x 2 vpopmail vchkpw 4096 Aug 27 22:27 include
drwx------ 2 root vchkpw 4096 Apr 14 2003 lib
[EMAIL PROTECTED] /home/vpopmail/domains]# ls -la /home/vpopmail/domains/
total 48
drwx------ 11 vpopmail vchkpw 4096 Oct 30 14:30 .
drwxr-xr-x 8 vpopmail vchkpw 4096 Oct 30 14:29 ..
-rwx------ 1 vpopmail vchkpw 34 Sep 9 10:12 .dir-control
drwx------ 3 vpopmail vchkpw 4096 Apr 23 2003 aspectevents.co.uk
drwx------ 2 vpopmail vchkpw 4096 Oct 30 14:25 bum.com
drwx------ 4 vpopmail vchkpw 4096 Jul 17 14:15 hacktek.co.uk
drwx------ 2 vpopmail vchkpw 4096 Sep 21 15:06 hugo.com
drwx------ 4 vpopmail vchkpw 4096 Sep 21 17:36 mdlan.co.uk
drwx------ 4 vpopmail vchkpw 4096 May 29 17:08 parsonsmotorsport.co.uk
drwx------ 7 vpopmail vchkpw 4096 Sep 29 12:56 projecthugo.co.uk
drwx------ 4 vpopmail vchkpw 4096 Apr 25 2003 sfproject.co.uk
drwx------ 2 vpopmail vchkpw 4096 Oct 30 14:31 tit.com
The problem appears to be with vpopmail
If I use qmailadmin to add a domain I get the error “cannot open default”
If I user vpopmail on the CLI and do a domain add, I get
[EMAIL PROTECTED] /home/vpopmail/domains]# ../bin/vadddomain test1.com
Please enter password for postmaster:
enter password again:
Error: Could not open qmail default
The default it is referring to is .qmail-default within the domains/$domain_name dir.
As you can see it causes and error but creates the domain test1.com directory
[EMAIL PROTECTED] /home/vpopmail/domains]# ls -la test1.com/
total 8
drwx------ 2 vpopmail vchkpw 4096 Oct 30 14:35 .
drwx------ 12 vpopmail vchkpw 4096 Oct 30 14:35 ..
but it does NOT update any of the config files for test1.com or create the .qmail-default file
It seems pretty obvious that something is not working with vpopmail as it cannot update/create full domains in /home/vpopmail, yet if I use vqadmin (which uses the same vpopmail binaries) it works ??? and creates a domain with the correct configs
[EMAIL PROTECTED] /home/vpopmail/domains]# ls -la test2.com/
total 16
drwx------ 3 vpopmail vchkpw 4096 Oct 30 14:45 .
drwx------ 13 vpopmail vchkpw 4096 Oct 30 14:45 ..
-rw------- 1 vpopmail vchkpw 55 Oct 30 14:45 .qmail-default
-rw------- 1 vpopmail vchkpw 0 Oct 30 14:45 .qmailadmin-limits
drwx------ 3 vpopmail vchkpw 4096 Oct 30 14:45 postmaster
the last suggestion I got when I first posted this was to tar up the domains dir, and re-create the domains directory with 700 perms, I have done this and got no further.
I am now running a little out of where to go ????
Sorry for the long post, and look forward to some fresh ideas on this.
Thanks,
Matt.