Re: [vchkpw] vadddomain -> Error: Could not open qmail default
On 2/22/2006 5:51 PM, Stoyan Marinov wrote: As far as I know --enable-domains-dir sets the domains directory, relative to vpopmail's home dir. If you set vpopmail's home dir to /export/home/vpopmail, /export/home/vpopmail/domains will be set by default as DOMAINS_DIR. Funny, I was just testing that as your message came in. I changed the path to /export/home/vpopmail/./ in my passwd file, and recompiled. sure enough, the error was referencing /export/home/vpopmail/./export/home/vpopmail/domains so --enable-domains-dir is relative to the vpopmail user's path. I think it's more intuitive to think that --enable-domains-dir overrides --prefix. but that's fine. it should be noted in ./configure --help. recompiling and simply leaving out --enable-domains-dir fixed the problem. Thanks, -- Jeremy Kister http://jeremy.kister.net./
Re: [vchkpw] vadddomain -> Error: Could not open qmail default
As far as I know --enable-domains-dir sets the domains directory, relative to vpopmail's home dir. If you set vpopmail's home dir to /export/home/vpopmail, /export/home/vpopmail/domains will be set by default as DOMAINS_DIR. Stoyan On Wed, 2006-02-22 at 16:09 -0500, Jeremy Kister wrote: when i use vadddomain, i get an error: Error: Could not open qmail default vdeldomain, vadduser, and vdeluser all work correctly. I made a small change to vpopmail.c to see what's going on: --- ../vpopmail-5.4.13/vpopmail.c 2006-02-22 16:05:34.612401000 -0500 +++ vpopmail.c 2006-02-22 15:58:12.998402000 -0500 @@ -198,6 +198,7 @@ /* create the .qmail-default file */ snprintf(tmpbuf, sizeof(tmpbuf), "%s/%s/%s/.qmail-default", dir, DOMAINS_DIR, DomainSubDir); + fprintf(stderr, "%s/%s/%s/.qmail-default\n", dir, DOMAINS_DIR, DomainSubDir); if ( (fs = fopen(tmpbuf, "w+"))==NULL) { /* back out of changes made so far */ chdir(dir); chdir(DOMAINS_DIR); this yields the following output: /export/home/vpopmail//export/home/vpopmail/domains/ff.com/.qmail-default Error: Could not open qmail default my configure: ./configure \ --prefix=/export/home/vpopmail/arch/SunOS-5-sun4u \ --enable-domains-dir=/export/home/vpopmail/domains \ --disable-md5-passwords \ --disable-roaming-users \ --enable-logging=v \ --disable-rebuild-tcpserver-file \ --enable-learn-passwords \ --enable-qmail-ext \ --enable-ip-alias-domains if I symlink /export/home/vpopmail/export/home/vpopmail/domains to /export/home/vpopmail/domains, all works fine. Anyone know why this is happening ?
Re: [vchkpw] vadddomain error!
On Oct 26, 2004, at 3:44 AM, info wrote: I'v got this message: Error: (vadduser) Domain does not exist The /usr/home/vpopmail/domains/domain.com/ folder is created but contains only the .qmail-default file. The /var/qmail/control/virtualdomains is writen and the domain.com:domain.com string is added. Equal for the rcphosts. Any Ideas? Is domain.com getting added to /var/qmail/users/assign? That's where adduser() looks up the domain's directory. If it doesn't show up in there (and get rebuilt into users/cdb), then there's a problem. -- 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/