so I've been trying to install Qmail using QMR documentation on my Slackware box as a first trail. the QMR recomendation for newbies like me is not to panic and to keep trying and probably reinstall many times to get the installation done. i had some problems with patching Slackware 11.0 and making vqadmin and qmailadmin pages viewable but all was solved with the help from people around.
i trying to use vQadmin to create my first domain test.com and when i try to list the domain it comes back with test.com domain has no postmaster. I couldn't see were you setup a postmaster account. so I figured vqadmin is just a web interface for vpopmail which allows you create multiple virtual domains on the same qmail instance. So I deleted test.com from vQadmin and tried to create the account using vpopmail command:
# root@mail:/home/vpopmail/bin# ./vadddomain test.com xxxxxxxx
# Failure while attempting to remove_line() the locals file # Error. #Failed to add domain to assign file # Error: Could not update file
Right after the error I tried ./vdominfo:
so the domain is there but not there. I have to mention that I don't have mysql installed. There is no test.com directory under /home/vpopmail/domains please look at this:
#root@mail:/home/vpopmail# ls -al
#drwxr-xr-x 8 vpopmail vchkpw 4096 2006-11-30 13:32 ./
#drwxr-xr-x 4 root root 4096 2006-11-30 13:31 ../
#drwxr-xr-x 2 vpopmail vchkpw 4096 2006-11-30 13:32 bin/ #drwxr-xr-x 4 vpopmail vchkpw 4096 2006-11-30 13:32 doc/
#drwx------ 2 vpopmail vchkpw 4096 2006-12-06 13:56 domains/ #drwxr-xr-x 2 vpopmail vchkpw 4096 2006-11-30 13:32 etc/ #drwxr-xr-x 2 vpopmail vchkpw 4096 2006-11-30 13:32 include/ #drwxr-xr-x 2 vpopmail vchkpw 4096 2006-11-30 13:32 lib/
Vpopmail user has full rights over the /home/vpopadmin/domains directory. Is this issue related to a missed or corrupt postmaster account? how can you check on the postmaster account from CLI? Is there a file which controls the account?