I need to re-install vpopmail without touching qmail, and have some
I delete /home/vpopmail dir, drop mysql vpopmail database, then (all
as root)

tar -zxvf vpopmail-5.2.1.tar.gz
groupadd -g 83 vchkpw
useradd -c "VMail Server" -g 83 -s /bin/false -u 88 vpopmail
mkdir -p /home/vpopmail
chown 88.83 /home/vpopmail
cd vpopmail-5.2.1
vi vmysql.h and set two names&pw, the same

./configure --enable-learn-passwords=y --enable-auth-logging=y \
  --enable-logging=p \
  --enable-default-domain=do.main.com \
  --enable-incdir=/usr/include/mysql \
  --enable-libdir=/usr/lib/mysql \
  --enable-mysql=y \
  --enable-valias=y \
make install-strip

Haven't any errors when ./conf & make*.

after this no databases was created, and some strange things:
cd /home/vpopmail/bin
 ./vadddomain do.main.com
Please enter password for postmaster:
enter password again:
Error: Domain already exists
./vdeldomain do.main.com
Error: Domain does not exist
 ./vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
could not connect to mysql update server Unknown database 'vpopmail' with database
vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist
Error: Unable to chdir to vpopmail/domains directory

last strong is mostly un-understable:
ls -l /home/vpopmail/
drwx------    2 vpopmail vchkpw       4096 Июл 24 09:53 domains

help, please....
Thank you!
Best regards,
Sandy          mailto:[EMAIL PROTECTED]

Reply via email to