I have a fresh install of RHEL ES 3 Update 1, netqmail 1.05, and
vpopmail 5.4.3 and am receiving:
Error: Could not open qmail default
whenever I run vadddomain as root

Here are my configure options:
./configure --enable-clear-passwd --enable-qmail-ext
--enable-domains-dir=/mail/domains --enable-qmaildir=/mail/
--enable-qmail-newu=/var/qmail/bin/qmail-newu
--enable-qmail-inject=/var/qmail/bin/qmail-inject
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
--enable-auth-module=pgsql --enable-logging=p --enable-pgsql-logging
--enable-valias --enable-learn-passwords


I have my qmail control and user/assign directories in /mail  I also
have them sym linked in /var/qmail as I was getting an error when I
would try and run vdominfo earlier saying it couldn't open
/var/qmail/users/assign (not sure why it was looking there when I did
declared the qmail dir in configure).

I changed the PG_CONNECT and DB entries in vpgsql.h to reflect the
settings for my remote host before I configured.

Vpopmail has created the dir_control table and made 1 entry in it so I
know that the connection to the database server is working correctly.

The permissions on my vpopmail home dir are:
drwx------    8 vpopmail vchkpw       4096 Apr 28 20:41 .
drwxr-xr-x    6 root     root         4096 Apr 28 15:26 ..
-rw-------    1 vpopmail vchkpw        334 Apr 27 18:54 .bash_history
-rw-r--r--    1 vpopmail vchkpw         24 Apr 26 19:34 .bash_logout
-rw-r--r--    1 vpopmail vchkpw        191 Apr 26 19:34 .bash_profile
-rw-r--r--    1 vpopmail vchkpw        124 Apr 26 19:34 .bashrc
drwxr-xr-x    2 vpopmail vchkpw       4096 Apr 28 19:02 bin
drwxr-xr-x    4 vpopmail vchkpw       4096 Apr 27 15:39 doc
drwxr-xr-x    2 vpopmail vchkpw       4096 Apr 27 15:39 etc
drwxr-xr-x    2 vpopmail vchkpw       4096 Apr 28 19:02 include
drwxr-xr-x    2 vpopmail vchkpw       4096 Apr 28 19:02 lib
drwx------    3 vpopmail vchkpw       4096 Apr 27 15:39 mail


The permissions on /mail are:
drwxr-xr-x    5 root     root         4096 Apr 28 18:31 .
drwxr-xr-x   23 root     root         4096 Apr 26 17:47 ..
drwxr-xr-x    2 root     qmail        4096 Apr 26 18:35 control
drwx------    2 vpopmail vchkpw       4096 Apr 28 20:28 domains
drwxr-xr-x    2 root     qmail        4096 Apr 28 19:06 users


I have no other domains setup on this machine yet.  If I manually create
the directory inside of domains and then run vadddomain mydomain.com
password it deletes the directory I created and gives me the same error.

I have tried reinstalling vpopmail a few times and continue to get the
same error.

Thank you for your time,
Jay Tortorelli

Reply via email to