Hi,

Having previously used vpopmail-5.3.12 with no database support I've just
converted to using mysql with vpopmail-5.3.16.

I built vpopmail using the following script:

./configure \
 --enable-tcpserver-file=/etc/tcprules.d/qmail-smtp \
 --enable-logging=e \
 --enable-log-name=vpopmail \
 --enable-default-domain=robinbowes.com \
 --enable-file-sync=n \
 --enable-auth-logging=y \
 --enable-qmail-ext=y \
 --enable-clear-passwd=y \
 --enable-valias=y \
 --enable-roaming-users=y \
 --enable-mysql=y \
 && make \
 && make install-strip

I then ran vconvert -c -m.

Is that it? Is that all I have to do? That seems outrageously easy!!

A couple of problems I've noticed.

vdominfo doesn't report the correct number of users per domain following
conversion and also, aliased domains are not reported correctly, ie they
are reported as being the same name as the aliased domain. For example,
see the following dump:

domain: robinbowes.com
uid:    89
gid:    89
dir:    /home/vpopmail/domains/robinbowes.com
users:  0
domain: robinbowes.com
uid:    89
gid:    89
dir:    /home/vpopmail/domains/robinbowes.com
users:  0
domain: robinbowes.com
uid:    89
gid:    89
dir:    /home/vpopmail/domains/robinbowes.com
users:  0
domain: orhc.info
uid:    89
gid:    89
dir:    /home/vpopmail/domains/orhc.info
users:  0
domain: orhc.info
uid:    89
gid:    89
dir:    /home/vpopmail/domains/orhc.info
users:  0

This should show just two domains, one with two aliased domains and one
with one aliased domain. I have a handful of users in each of the two real
domains.

I've "fixed" this by updating the cur_users field in the dir_control table.

Also, when I did the conversion, entries were created in the vpopmail
table for users in all of the aliased domains. For example, I have a
domain robinbowes.com and an aliased domain skittle.demon.co.uk. In
robinbowes.com I have 5 users robin,chloe,emily,jane, and postmaster. When
I ran vconvert, entries were created in the vpopmail table for
[EMAIL PROTECTED], [EMAIL PROTECTED], etc. and also for
[EMAIL PROTECTED], [EMAIL PROTECTED], etc. Is this
supposed to happen? I've deleted these additional entries from the
vpopmail table without any apparent side effects, i.e. I can still login
as [EMAIL PROTECTED]

Cheers,

R.
-- 
Robin Bowes | http://robinbowes.com

Reply via email to