It is kept in the /var/qmail/users/assign file and it's associated cdb file.
You can change it there, but be sure to change the paths in the vpasswd
files (or database).

Ken

On Sunday 10 October 2004 08:19 am, Peter Nilsson wrote:
> Hi ken, it still creates the subdir in the new dir that i assign regardless
> off what path i set then it adds a next level.
>
> where does vpopmail keep track off these things, is there a way to change
> it?
>
> Ken Jones writes:
> > On Thursday 07 October 2004 03:56 pm, Peter Nilsson wrote:
> >> Hi!
> >>
> >> I have many users on my qmail system and vpopmail has decided to split
> >> them up in subdirs under /home/vpopmail/domains/0/domain.com etc, but
> >> somehow it has started to create new subdirs allmost every time I add a
> >> new domain....now i have many subdirs with only 2 - 5 domains in it.
> >>
> >> My questions are:
> >>
> >> 1. Is it possible to force qmail to use another dir, like
> >> /home/vpopmail/myownchoise/domains/newdomain.com when i add new domains
> >> ?
> >
> > Yes, with vadddomain, use the -d option
> >          -d dir (sets the dir to use for this domain)
> >
> > Like:
> > vadddomain -d /home/vpopmail/myownchoise/domains/newdomain.com
> > newdomain.com
> >
> >> 2. Can i move domains to other locations like above? (and just change it
> >> in /var/qmail/users/assign) ?
> >
> > Change both the assign file and the vpasswd file (if using cdb) since
> > each user has the full path to their Maildir in the vpasswd file. Be sure
> > to run qmail-newu after changing the assign file to rebuild the cdb file.
> >
> > Ken Jones

Reply via email to