|
When setting up the auto install feature I am stuck on a problem
when copying the skel files. Typically with a lot of users the "parent" directory is not always "../" (or back one directory from the users home). The actual desired parent directory in my case is always /var/qmail/vpopmail/domains/%(ShortUrlDom)s/ With the directory control and more than a thousand (not sure when qmail actually does this) directories begin to be broken down into larger paths. For example, bobs home mail directory may be /var/qmail/vpopmail/domains/mydomain.com/N/bob Joes directory may be /var/qmail/vpopmail/domains/mydomain.com/joe making the parent variable valid. My problem is that these will not stay consistent but it will always need to copy 4 files. First, I need to copy both the .qmail and .qmail-default files into the home directory of the user (this part works with the auto install in the cgi). The second is that I need to copy 2 files, the .qmail-%(User)s-default and the .qmail-%(User)s files into the root directory of the virtual domain like so /var/qmail/vpopmail/domains/%(ShortUrlDom)s/ Does anyone have an idea on how to solve this problem? Trying to add variables in the skel directories does not seem to work because the variables seem to be using the perspective of the users home directory. Thanks. Sam |
- Re: Dynamic Parent Variables? Sam
- Re: Dynamic Parent Variables? Sam
- Re: Dynamic Parent Variables? Gre7g Luterman
