Hello!

I'm trying to set up the latest vpopmail to make it working with the
following configuration:

 - local virtual domain
 - mysql as database
 - /etc/passwd authorization active

Configuration is run as:

--enable-default-domain=udev.over.ru --enable-mysql=y
--enable-sqlincdir=/usr/local/include/mysql
--enable-sqllibdir=/usr/local/lib/mysql --enable-qmail-dir=/var/qmail
--enable-tcprules-bin=/usr/local/bin/tcprules
--enable-tcpserver-file=/usr/local/vpopmail/etc/tcp.smtp
--enable-hardquota=2000000 --enable-logging=y --enable-passwd=n


Here is what I get:

vadduser t1 password:
   dom_dir is garbled in vauth.c, in function vauth_adduser_size; directory
is created at right place. Insert looks like

(gdb) print SqlBuf
$10 = "insert into  vpopmail ( pw_name, pw_domain, pw_passwd, pw_uid,
pw_gid, pw_gecos, pw_dir, pw_shell ) values ( 't1', 'udev.over.ru',
'nqgVqty9DpQ8o', 1, 0, 't1', '¶¢\177h$õ¿¿\233\230\b\030/t1', '10000000' )",
'\000' <repeats 408 times>

and, as far as I have understood, no one cares to set dom_dir to any value.

User directory in ~vpopmail/users creates OK.

vadduser [EMAIL PROTECTED]:
   Error: Unable to chdir to vpopmail/domains directory, I haven't
investigate the reasons yet.

The Question: 

   DOES ANYONE SUCCESSFULLY USING CONFIGURATION LIKE MINE?

If yes, what have I've done wrong?

BTW, it seems like vmysql.c should have troubles with table names when
enable_large_site is set to yes.

Alex.
 

Reply via email to