On 10/12/2014 05:20 AM, Quinn Comendant wrote:
On Sat, 11 Oct 2014 23:35:35 -0700, Eric Shubert wrote:
Did you use the --numeric-ids flag on rsync? Without it, user and
group ids can get changed from one host to another, depend on what
number is assigned to which name(s).
No, because I wanted files to retain same username ownership, regardless of their ids
(since the ids are different between old and new servers). Otherwise files which arrive
would have an owner of "7919", which is a nonexistent user. But I've learned
this could be a problem because inside the `/var/qmail/users/assign` file Maildir paths
are specified with a numeric ID (but as I noted previously, I've updated that file to the
new uids).
Are there any other files in QMT which use user ids rather than user names? I grep'ed
/var/qmail for "7919" and `/var/qmail/users/assign` was the only file which
contained this.
Quinn
---------------------------------------------------------------------
Gee, I don't rightly know. I missed the assign file off hand. I know
that qmail insists on using user and group 89 (I believe it's hard coded
in the source in some places). I think you've done a good job of finding
the places where it's configurable.
It'd be interesting to know the history behind the use of vpopmail vs
vchkpw as the name for group 89. Someone at inter7 might have some
insight about that.
Glad to hear your new rig is working though. That's the important part I
suppose.
Thanks.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]