[vchkpw] vadddomain error
Hi! im trying to add a domain with numbers say 123domain.com. It says: vpgsql: error creating table '123domain_com': ERROR: syntax error at or near 1 at character 14 what am i gonna do? -- Oliver A. Rojo __ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
[vchkpw] vadddomain - Error: Could not open qmail default
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 ? -- 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: 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./
[vchkpw] vadddomain error!
Hi All, I have a problem with vpopmail-5.4.7 runing on FreeBSD 4.10. It is a new installation followed step by step the qmailrocks.org FreeBSD installation guide. By adding a new domain with: # /usr/home/vpopmail/bin/vadddomain domain.com Please enter password for postmaster: *** enter password again: *** 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? Thanks In advance lev Sent via the WebMail system at muzsa.net
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/