Changing the home dir in /etc/passwd during build time still doesn't resolve 
the problem since the resulting binaries will always be looking for the build 
dir instead of /home/vpopmail (or whatever the current home dir is set as).

For example, I set the build dir to a temporary directory built and packaged 
the files fine, but once installed, something like vadddomain fails with

Error: Unable to chdir to vpopmail/domains/domain directory

An strace of this reveals that it's trying to chdir to the build directory 
which doesn't exist (different machine).  This seems to be a very 
non-portable build method to me, or am I missing something?

Todd


On September 25, 2003 06:02 pm, Tom Collins wrote:
> On Thursday, September 25, 2003, at 01:21  PM, Todd Charron wrote:
> > I'm using vpopmail 5.2.1 and I'm trying to set vpopmaildir to
> > something other
> > than what the vpopmail user has as their home directory.  Is there an
> > easy
> > way to do this?  Something like --enable-vpopmaildir=?  It seems odd,
> > that
> > you can't specify that in any of the configure switches.  Any ideas?
> > Thanks,
>
> I recently looked into this on the development version of vpopmail, and
> there isn't a configure option.
>
> You'll have to edit /etc/passwd and set the target directory to be
> vpopmail's home directory.
>
> --
> Tom Collins
> [EMAIL PROTECTED]
> QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
> Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Reply via email to