Did you change the vpopmail user's uid after compiling vpopmail? If so,
recompile vpopmail (since the uid is hardcoded into the binary) and (this
part is very important) fix the uid in /var/qmail/users/assign then run
/var/qmail/bin/qmail-newu to update the cdb.
I found out the important part the hard way after moving a mail server from
box to box.
> Hi,
>
> I've got a new install of qmail and vpopmail(4.9.10) and I'm having lots
> of problems getting the users to work.
>
> The problem is that every time I add a new virtual domain, the UID/GID
> in the assign file are incorrect and also on the directory structure
> for the domain in the domains directory.
>
> This happens when running both vadddomain and vadduser - the ownership
> of vpasswd reverts to the incorrect UID/GID when vadduser is run.
>
> I can manually change these values and the domains work, but this
> isn't practical in the environment it will be in and any changes
> through qmailadmin will break the ownerships anyways.
>
> I'm running this on FreeBSD 4.3-STABLE, the qmail install is vanilla
> apart from changing conf-split to 79.
>
> Anyone got any ideas? I'm flummoxed.
>
> TIA,
>
> Jonathan