[vchkpw] Error: Domain does not exist

2008-04-23 Thread Sam Ami
i'm trying to delete a domain by passing vpopmail

/home/vpopmail/bin/vdeldomain test.com

but i'm getting Error: Domain does not exist, the domains exists i
can see it listed in /home/vpopmail/domains

!DSPAM:480f40bd120507116326356!



Re: [vchkpw] Error: Domain does not exist

2008-04-23 Thread Remo Mattei

does it exist in the qmail access file?

Remo

Sam Ami wrote:

i'm trying to delete a domain by passing vpopmail

/home/vpopmail/bin/vdeldomain test.com

but i'm getting Error: Domain does not exist, the domains exists i
can see it listed in /home/vpopmail/domains








!DSPAM:480f4ae8120501910115895!



Re: [vchkpw] Error: Domain does not exist

2008-04-23 Thread Sam Ami
On Thu, Apr 24, 2008 at 12:42 AM, Remo Mattei [EMAIL PROTECTED] wrote:
 does it exist in the qmail access file?

  Remo



  Sam Ami wrote:

  i'm trying to delete a domain by passing vpopmail
 
  /home/vpopmail/bin/vdeldomain test.com
 
  but i'm getting Error: Domain does not exist, the domains exists i
  can see it listed in /home/vpopmail/domains
 
 
 
 
 
 
 

  



!DSPAM:480fc539120503030514614!



Re: [vchkpw] Error: Domain does not exist

2005-03-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That is not the usage of vsetuserquota.  Run the command
to see how to use it.
Thanks.
kalin mintchev wrote:
| hello...
|
| problem with vsetuserquota after moving the whole vpopmail to a new drive:
|
| # ./vsetuserquota 8000S [EMAIL PROTECTED]
| Error: Domain does not exist
|
| the domain is there of course as is on the /var/qmail/users/assign and
| vdominfo is seeing it... and the messages are going in fine...
|
| please help...
|
| thanks..
- --
/*
~Matt Brookings [EMAIL PROTECTED]   GnuPG Key 7D7E5F37
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
banner(Support open-source!\n);
void banner(char *arg) {
~  char b[50];
~  strcpy(b, arg);
~  printf(b);
}
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCLHC4/pZz8n1+XzcRAnYNAJ9/72VHPhdcfHOFaXz3XXGpZfmTHACgiYLB
5M4oryaDFFGfst1V4w3hSkk=
=Qji/
-END PGP SIGNATURE-


[vchkpw] Error: Domain does not exist

2005-03-06 Thread kalin mintchev

hello...

problem with vsetuserquota after moving the whole vpopmail to a new drive:

# ./vsetuserquota 8000S [EMAIL PROTECTED]
Error: Domain does not exist

the domain is there of course as is on the /var/qmail/users/assign and
vdominfo is seeing it... and the messages are going in fine...

please help...

thanks..
-- 




[vchkpw] Error: Domain does not exist

2003-11-13 Thread Carlos H Pilz
Hi,I installed 5.2.2 vpopmail version with
--enable-default-domain=mydomain.com.br ...Can I use vadduser
without domain ??? (./vadduser -n iconn) When I use ./vadduser user without
domain,Iget"Error: Domain does not exist"
message.And I used --enable-passwd=y to use /etc/passwd / shadow to
auth my pop users. How will be my ./vadduser ???And with virtual
domains. How wiil I insert virtual users in /etc/passwd ???Finally,
How will be my pop line in inetd.conf
Tks,--Obrigado.Carlos H
Pilz[EMAIL PROTECTED]19 9722 9168


Message sent using UebiMiau 2.7




Re: [vchkpw] Error: Domain does not exist

2003-11-13 Thread X-Istence
Carlos H Pilz wrote:

Hi,

I installed 5.2.2 vpopmail version with 
--enable-default-domain=mydomain.com.br ...

Can I use vadduser without domain ??? (./vadduser -n iconn) When I use 
./vadduser user without domain, I get Error: Domain does not exist 
message.

And I used --enable-passwd=y to use /etc/passwd / shadow to auth my 
pop users. How will be my ./vadduser ???

And with virtual domains. How wiil I insert virtual users in 
/etc/passwd ???

Finally, How will be my pop line in inetd.conf 

Tks,



--
Obrigado.
Carlos H Pilz
[EMAIL PROTECTED]
19 9722 9168

Message sent using UebiMiau 2.7
You do not use vadduser if your users want mail, instead they have to 
create a directory called a Maildir in their home directory, and create 
3 more directories inside that, check for the domain you allready have 
set up how it works.

That is how i think that works.




Re: [vchkpw] Error: Domain does not exist

2003-11-13 Thread Fred Tucker
Hmmm...

but did you:

./vadddomain before you vadduser?

this will create the domain and then when you use vadduser it will 
create the user directories for you (under the vpopmail domains 
directory).  As an added benefit, it make it very easy to not use 
system passwords for user accounts.  With this kind of a setup, you 
would only have localhost in /var/qmail/locals, something for your 
local domain in /var/qmail/rcpthosts and vadddomain and vadduser will 
take care of /var/qmail/virtualdomains and /var/qmail/users for you.

I hope this is of some help.

Fred

On Thursday, November 13, 2003, at 09:09  PM, X-Istence wrote:

Carlos H Pilz wrote:

Hi,

I installed 5.2.2 vpopmail version with 
--enable-default-domain=mydomain.com.br ...

Can I use vadduser without domain ??? (./vadduser -n iconn) When I 
use ./vadduser user without domain, I get Error: Domain does not 
exist message.

And I used --enable-passwd=y to use /etc/passwd / shadow to auth my 
pop users. How will be my ./vadduser ???

And with virtual domains. How wiil I insert virtual users in 
/etc/passwd ???

Finally, How will be my pop line in inetd.conf 

Tks,



--
Obrigado.
Carlos H Pilz
[EMAIL PROTECTED]
19 9722 9168

Message sent using UebiMiau 2.7
You do not use vadduser if your users want mail, instead they have to 
create a directory called a Maildir in their home directory, and 
create 3 more directories inside that, check for the domain you 
allready have set up how it works.

That is how i think that works.



Fred Tucker
Senior Software Developer/Network Admin
Rocket Science Group, LLC
404-936-6857
[EMAIL PROTECTED]
www.rocketsciencegroup.com



Re: [vchkpw] Error: Domain does not exist

2003-11-13 Thread Chris Pugh
Carlos,

Forgive me for saying so, but you *did* read the
INSTALL file when you unpacked vpopmail didn't
you??

Chris.

--- Carlos H Pilz [EMAIL PROTECTED] wrote:

-
Hi,

I installed 5.2.2 vpopmail version
with--enable-default-domain=mydomain.com.br ...

Can I use vadduserwithout domain ??? (./vadduser -n
iconn) When I use ./vadduser user withoutdomain, I get
Error: Domain does not existmessage.

And I used --enable-passwd=y to use /etc/passwd /
shadow toauth my pop users. How will be my ./vadduser
???

And with virtualdomains. How wiil I insert virtual
users in /etc/passwd ???

Finally,How will be my pop line in inetd.conf

Tks,



--
Obrigado.

Carlos HPilz
[EMAIL PROTECTED]
19 9722 9168


Message sent using UebiMiau 2.7



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



Re: [vchkpw] Error: Domain does not exist

2003-11-13 Thread Hugo Cisneiros
Carlos H Pilz wrote:
Hi,
Hau,

I installed 5.2.2 vpopmail version with 
--enable-default-domain=mydomain.com.br ...

Can I use vadduser without domain ??? (./vadduser -n iconn) When I use 
./vadduser user without domain, I get Error: Domain does not exist 
message.

And I used --enable-passwd=y to use /etc/passwd / shadow to auth my pop 
users. How will be my ./vadduser ???

And with virtual domains. How wiil I insert virtual users in /etc/passwd ???

Finally, How will be my pop line in inetd.conf 
Well, I'm seeing that you have many questions about everything, so I 
would recommend reading my tutorial about qmail+vpopmail and some other 
addons, it is written in Brazilian Portuguese (Notei que você é 
brasileiro :), it will surely help you a lot.

Here is the URL
http://tlm.conectiva.com.br/qmail/
Tks,
--
Obrigado.
Carlos H Pilz
[EMAIL PROTECTED]
19 9722 9168
[]'s
Hugo



[vchkpw] Error: Domain does not exist

2003-08-01 Thread Gonzo
Hello,

following problem:

orion:/var/vpopmail/bin# ./vadddomain test.de testpass
Error: Domain does not exist
orion:/var/vpopmail/bin# ./vdeldomain test.de
Error: Domain does not exist
orion:/var/vpopmail/bin# ls -lh ../domains/
total 4.0k
drwx--2 vpopmail vchkpw   4.0k Aug  1 22:08 test.de

Anyone knows whats going on?

Gonzo




Re: [vchkpw] Error: Domain does not exist

2003-08-01 Thread Evren Yurtesen
Perhaps there is some problem with your qmail directory?
normally vadddomain should add the domain to
/var/qmail/control/virtualdomains
/var/qmail/control/rcpthosts
/var/qmail/users/assign
if it doesnt know the correct path?

On Fri, 1 Aug 2003, Gonzo wrote:

 Hello,
 
 following problem:
 
 orion:/var/vpopmail/bin# ./vadddomain test.de testpass
 Error: Domain does not exist
 orion:/var/vpopmail/bin# ./vdeldomain test.de
 Error: Domain does not exist
 orion:/var/vpopmail/bin# ls -lh ../domains/
 total 4.0k
 drwx--2 vpopmail vchkpw   4.0k Aug  1 22:08 test.de
 
 Anyone knows whats going on?
 
 Gonzo
 
 
 




Vpopmail 5.0 gives Error: Domain does not exist

2001-11-17 Thread João Santos
Hi,

I have just downloaded the new 5.0 version and installed it!

My qmail is installed in the /usr/local/qmail directory so my configure was something like:

./configure --enable-qmaildir=/usr/local/qmail --enable-qmail-newu=/usr/local/qmail/bin/qmail-newu --enable-qmail-inject=/usr/local/qmail/bin/qmail-inject --enable-qmail-newmrh=/usr/local/qmail/bin/qmail-newmrh 

It generates the config.h file, I have checked the paths and everything was ok correct.

Everything configured and compiled without any problems, but when I try to add (vadddomain) a new domain or delete (vdeldomain) it, I receive the following error message:

Error: Domain does not exist

Can anyone help me?

Thanks in advance,

JoãoGet your FREE download of MSN Explorer at http://explorer.msn.com


Re: Error: Domain does not exist

2001-11-15 Thread Paul Kremer

hello

I finally found a solution, together with a friend.
The mistake was that vpopmail had an old config.h from a previous
qmail-installation.
In the config.h, the paths to the qmail-binaries are defined, and
these were different in the previous setup.
On adding a domain, the vadddomain could not execute the qmail-newu
tool and therefore quitted...

The fact that there was no serious error-message was quite the
problem, because we spent an hour with gdb for finding out that there
a simple path-problem...
well.
I am not C-hacker, so I have no patch for this.

I hope this information can help out some of you who have the same
error-message...

regards,
paul kremer

p.s.: I would never have had this trouble if I didn't start out with
installing the unofficial debian-qmail packages...
debian is OK, but in this case it took me hours, because of
path-definitions !!!

On Wed, Nov 14, 2001 at 05:47:50PM +0100, Paul Kremer yelled:
 hello everybody
 
 this question has already be posted several times during the last
 weeks/months and there has never been any reply...
 so I guess nobody knows the answer ?
 
 I get the error Error: Domain does not exist when using
 vadddomain...
 
 here is the situation:
 
 - linux 2.2.20
 - qmail 1.03 (patched with
   http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
 - tcpserver 0.88 (patched with
   http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
 - vpopmail 5.0
 
 I want all authentication to go through mysql, the tables are all OK,
 I am 100% strict : the SQL-server is working OK, connect info
 is in /var/qmail/control/sql.
 
 files under /var/qmail/users/ are syntactically OK, since I finally
 copied assign, cdb from a different working server.
 Empty files (including a one-dotted line) did not work too.
 
 the entries in rcpthosts and virtualdomains is being made, all OK.
 the directory in /home/vpopmail/domains is also created, containing a
 .qmail-default file, but nothing for postmaster.
 the assign file also does not contain any info regarding the
 postmaster.
 the sql-tabel vpopmail seems to be left untouched after the
 vadddomain.
 
 I would really be glad if somebody could have a closer look at the
 strace below...
 
 here is the output of strace vadddomain:
 cite
 execve(./vadddomain, [./vadddomain, problems.com], [/* 23 vars */]) = 0
 uname({sys=Linux, node=newmail, ...}) = 0
 brk(0)  = 0x8055fa8
 open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
 open(/etc/ld.so.cache, O_RDONLY)  = 3
 fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not implemented)
 fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
 old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
 close(3)= 0
 open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0..., 1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
 old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
 mprotect(0x4003c000, 100960, PROT_NONE) = 0
 old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x22000) = 0x4003c000
 close(3)= 0
 open(/usr/lib/libz.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30..., 1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
 old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40055000
 mprotect(0x40061000, 8500, PROT_NONE)   = 0
 old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb000) 
= 0x40061000
 close(3)= 0
 open(/lib/libnsl.so.1, O_RDONLY)  = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000..., 1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
 old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40064000
 mprotect(0x40075000, 13084, PROT_NONE)  = 0
 old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) 
= 0x40075000
 old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
 close(3)= 0
 open(/lib/libcrypt.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20..., 1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40079000
 old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4007a000
 mprotect(0x4007f000, 163260, PROT_NONE) = 0
 old_mmap(0x4007f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 
0x4007f000
 old_mmap(0x4008, 159164, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4008
 close(3)= 0
 open(/lib/libm.so.6, O_RDONLY)= 3
 read(3, \177ELF

Re: Error: Domain does not exist

2001-11-15 Thread Alec Grynspan

BINGO!!

I *REMOVED* the path definitions from the configure and let them
default.

That did it!


===

- Original Message -
From: Paul Kremer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 4:20 AM
Subject: Re: Error: Domain does not exist


 hello

 I finally found a solution, together with a friend.
 The mistake was that vpopmail had an old config.h from a previous
 qmail-installation.
 In the config.h, the paths to the qmail-binaries are defined, and
 these were different in the previous setup.
 On adding a domain, the vadddomain could not execute the qmail-newu
 tool and therefore quitted...

 The fact that there was no serious error-message was quite the
 problem, because we spent an hour with gdb for finding out that there
 a simple path-problem...
 well.
 I am not C-hacker, so I have no patch for this.

 I hope this information can help out some of you who have the same
 error-message...

 regards,
 paul kremer

 p.s.: I would never have had this trouble if I didn't start out with
 installing the unofficial debian-qmail packages...
 debian is OK, but in this case it took me hours, because of
 path-definitions !!!

 On Wed, Nov 14, 2001 at 05:47:50PM +0100, Paul Kremer yelled:
  hello everybody
 
  this question has already be posted several times during the last
  weeks/months and there has never been any reply...
  so I guess nobody knows the answer ?
 
  I get the error Error: Domain does not exist when using
  vadddomain...
 
  here is the situation:
 
  - linux 2.2.20
  - qmail 1.03 (patched with
 
http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
  - tcpserver 0.88 (patched with
 
http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
  - vpopmail 5.0
 
  I want all authentication to go through mysql, the tables are all
OK,
  I am 100% strict : the SQL-server is working OK, connect info
  is in /var/qmail/control/sql.
 
  files under /var/qmail/users/ are syntactically OK, since I finally
  copied assign, cdb from a different working server.
  Empty files (including a one-dotted line) did not work too.
 
  the entries in rcpthosts and virtualdomains is being made, all OK.
  the directory in /home/vpopmail/domains is also created, containing
a
  .qmail-default file, but nothing for postmaster.
  the assign file also does not contain any info regarding the
  postmaster.
  the sql-tabel vpopmail seems to be left untouched after the
  vadddomain.
 
  I would really be glad if somebody could have a closer look at the
  strace below...
 
  here is the output of strace vadddomain:
  cite
  execve(./vadddomain, [./vadddomain, problems.com], [/* 23 vars
*/]) = 0
  uname({sys=Linux, node=newmail, ...}) = 0
  brk(0)  = 0x8055fa8
  open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
directory)
  open(/etc/ld.so.cache, O_RDONLY)  = 3
  fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not
implemented)
  fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
  old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
  close(3)= 0
  open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
  read(3,
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0..., 1024) =
1024
  fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
  old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40019000
  mprotect(0x4003c000, 100960, PROT_NONE) = 0
  old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x4003c000
  close(3)= 0
  open(/usr/lib/libz.so.1, O_RDONLY)= 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30...,
1024) = 1024
  fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
  old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40055000
  mprotect(0x40061000, 8500, PROT_NONE)   = 0
  old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 0x40061000
  close(3)= 0
  open(/lib/libnsl.so.1, O_RDONLY)  = 3
  read(3,
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000..., 1024) =
1024
  fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
  old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40064000
  mprotect(0x40075000, 13084, PROT_NONE)  = 0
  old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40075000
  old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
  close(3)= 0
  open(/lib/libcrypt.so.1, O_RDONLY)= 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20...,
1024) = 1024
  fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
  old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40079000

Re: Error: Domain does not exist

2001-11-14 Thread Alec Grynspan


- Original Message -
From: Paul Kremer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 11:47 AM
Subject: Error: Domain does not exist


 hello everybody

 this question has already be posted several times during the last
 weeks/months and there has never been any reply...
 so I guess nobody knows the answer ?

 I get the error Error: Domain does not exist when using
 vadddomain...

Except for the patches, I'm pretty much using the same config and get
the same error. The domain directory is in vpopmails/domains, but there
doesn't seem to be any data in the vpopmail database!


 here is the situation:

 - linux 2.2.20
 - qmail 1.03 (patched with

http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
 - tcpserver 0.88 (patched with
   http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
 - vpopmail 5.0

 I want all authentication to go through mysql, the tables are all OK,
 I am 100% strict : the SQL-server is working OK, connect info
 is in /var/qmail/control/sql.

 files under /var/qmail/users/ are syntactically OK, since I finally
 copied assign, cdb from a different working server.
 Empty files (including a one-dotted line) did not work too.

 the entries in rcpthosts and virtualdomains is being made, all OK.
 the directory in /home/vpopmail/domains is also created, containing a
 .qmail-default file, but nothing for postmaster.
 the assign file also does not contain any info regarding the
 postmaster.
 the sql-tabel vpopmail seems to be left untouched after the
 vadddomain.

 I would really be glad if somebody could have a closer look at the
 strace below...

 here is the output of strace vadddomain:
 cite
 execve(./vadddomain, [./vadddomain, problems.com], [/* 23 vars
*/]) = 0
 uname({sys=Linux, node=newmail, ...}) = 0
 brk(0)  = 0x8055fa8
 open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
directory)
 open(/etc/ld.so.cache, O_RDONLY)  = 3
 fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not
implemented)
 fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
 old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
 close(3)= 0
 open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
 old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40019000
 mprotect(0x4003c000, 100960, PROT_NONE) = 0
 old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x4003c000
 close(3)= 0
 open(/usr/lib/libz.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
 old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40055000
 mprotect(0x40061000, 8500, PROT_NONE)   = 0
 old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 0x40061000
 close(3)= 0
 open(/lib/libnsl.so.1, O_RDONLY)  = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
 old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40064000
 mprotect(0x40075000, 13084, PROT_NONE)  = 0
 old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40075000
 old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
 close(3)= 0
 open(/lib/libcrypt.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40079000
 old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4007a000
 mprotect(0x4007f000, 163260, PROT_NONE) = 0
 old_mmap(0x4007f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4007f000
 old_mmap(0x4008, 159164, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4008
 close(3)= 0
 open(/lib/libm.so.6, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 I\0\000...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=134668, ...}) = 0
 old_mmap(NULL, 137220, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x400a7000
 mprotect(0x400c8000, 2052, PROT_NONE)   = 0
 old_mmap(0x400c8000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x2) = 0x400c8000
 close(3)= 0
 open(/lib/libc.so.6, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(\327\1...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0755, st_size=1171196, ...}) = 0
 old_mmap

Re: Error: Domain does not exist

2001-11-14 Thread Brad

 too get the same error message.

server:/home/vpopmail/bin# ./vadddomain server.aunoc.net
Please enter password for postmaster:
enter password again:
qmail-newu: fatal: bad format in users/assign
Error: Domain does not exist
server:/home/vpopmail/bin# ./vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
Error: Domain does not exist
server:/home/vpopmail/bin#


The error is happening with both adding the domain and adding the users.
Does anyone have any idea whats happening with this??

I added domains for a couple of test domains into bind and then tried with
them. The same error was appearing.


Brad

- Original Message -
From: Paul Kremer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 3:47 AM
Subject: Error: Domain does not exist


 hello everybody

 this question has already be posted several times during the last
 weeks/months and there has never been any reply...
 so I guess nobody knows the answer ?

 I get the error Error: Domain does not exist when using
 vadddomain...

 here is the situation:

 - linux 2.2.20
 - qmail 1.03 (patched with
   http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
 - tcpserver 0.88 (patched with
   http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
 - vpopmail 5.0

 I want all authentication to go through mysql, the tables are all OK,
 I am 100% strict : the SQL-server is working OK, connect info
 is in /var/qmail/control/sql.

 files under /var/qmail/users/ are syntactically OK, since I finally
 copied assign, cdb from a different working server.
 Empty files (including a one-dotted line) did not work too.

 the entries in rcpthosts and virtualdomains is being made, all OK.
 the directory in /home/vpopmail/domains is also created, containing a
 .qmail-default file, but nothing for postmaster.
 the assign file also does not contain any info regarding the
 postmaster.
 the sql-tabel vpopmail seems to be left untouched after the
 vadddomain.

 I would really be glad if somebody could have a closer look at the
 strace below...

 here is the output of strace vadddomain:
 cite
 execve(./vadddomain, [./vadddomain, problems.com], [/* 23 vars */])
= 0
 uname({sys=Linux, node=newmail, ...}) = 0
 brk(0)  = 0x8055fa8
 open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
directory)
 open(/etc/ld.so.cache, O_RDONLY)  = 3
 fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not
implemented)
 fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
 old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
 close(3)= 0
 open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
 old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40019000
 mprotect(0x4003c000, 100960, PROT_NONE) = 0
 old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x22000) = 0x4003c000
 close(3)= 0
 open(/usr/lib/libz.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30..., 1024)
= 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
 old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40055000
 mprotect(0x40061000, 8500, PROT_NONE)   = 0
 old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0xb000) = 0x40061000
 close(3)= 0
 open(/lib/libnsl.so.1, O_RDONLY)  = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
 old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40064000
 mprotect(0x40075000, 13084, PROT_NONE)  = 0
 old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1) = 0x40075000
 old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
 close(3)= 0
 open(/lib/libcrypt.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20..., 1024)
= 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40079000
 old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4007a000
 mprotect(0x4007f000, 163260, PROT_NONE) = 0
 old_mmap(0x4007f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4000) = 0x4007f000
 old_mmap(0x4008, 159164, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4008
 close(3)= 0
 open(/lib/libm.so.6, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 I\0\000...,
1024) = 1024
 fstat(3, {st_mode=S_IFREG|0644, st_size=134668, ...}) = 0

Re: Error: Domain does not exist

2001-11-14 Thread Ale

look at your /var/qmail/users/assign
sometimes (i dont know why) the file has some blank space or dont have a 
point at the end of files
the format must be


+domain1.com-:domain1.com:89:89:/home/vpopmail/domains/domain1.com:-::
+domain2.com-:domain2.com:89:89:/home/vpopmail/domains/domain2.com:-::
.



On Wednesday 14 November 2001 22:01, Brad wrote:
  too get the same error message.

 server:/home/vpopmail/bin# ./vadddomain server.aunoc.net
 Please enter password for postmaster:
 enter password again:
 qmail-newu: fatal: bad format in users/assign
 Error: Domain does not exist
 server:/home/vpopmail/bin# ./vadduser [EMAIL PROTECTED]
 Please enter password for [EMAIL PROTECTED]:
 enter password again:
 Error: Domain does not exist
 server:/home/vpopmail/bin#


 The error is happening with both adding the domain and adding the users.
 Does anyone have any idea whats happening with this??

 I added domains for a couple of test domains into bind and then tried with
 them. The same error was appearing.


 Brad

 - Original Message -
 From: Paul Kremer [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, November 15, 2001 3:47 AM
 Subject: Error: Domain does not exist

  hello everybody
 
  this question has already be posted several times during the last
  weeks/months and there has never been any reply...
  so I guess nobody knows the answer ?
 
  I get the error Error: Domain does not exist when using
  vadddomain...
 
  here is the situation:
 
  - linux 2.2.20
  - qmail 1.03 (patched with
http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
  - tcpserver 0.88 (patched with
http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
  - vpopmail 5.0
 
  I want all authentication to go through mysql, the tables are all OK,
  I am 100% strict : the SQL-server is working OK, connect info
  is in /var/qmail/control/sql.
 
  files under /var/qmail/users/ are syntactically OK, since I finally
  copied assign, cdb from a different working server.
  Empty files (including a one-dotted line) did not work too.
 
  the entries in rcpthosts and virtualdomains is being made, all OK.
  the directory in /home/vpopmail/domains is also created, containing a
  .qmail-default file, but nothing for postmaster.
  the assign file also does not contain any info regarding the
  postmaster.
  the sql-tabel vpopmail seems to be left untouched after the
  vadddomain.
 
  I would really be glad if somebody could have a closer look at the
  strace below...
 
  here is the output of strace vadddomain:
  cite
  execve(./vadddomain, [./vadddomain, problems.com], [/* 23 vars */])

 = 0

  uname({sys=Linux, node=newmail, ...}) = 0
  brk(0)  = 0x8055fa8
  open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or

 directory)

  open(/etc/ld.so.cache, O_RDONLY)  = 3
  fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not

 implemented)

  fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
  old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
  close(3)= 0
  open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0...,

 1024) = 1024

  fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
  old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =

 0x40019000

  mprotect(0x4003c000, 100960, PROT_NONE) = 0
  old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,

 3, 0x22000) = 0x4003c000

  close(3)= 0
  open(/usr/lib/libz.so.1, O_RDONLY)= 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30...,
  1024)

 = 1024

  fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
  old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
  0x40055000 mprotect(0x40061000, 8500, PROT_NONE)   = 0
  old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,

 3, 0xb000) = 0x40061000

  close(3)= 0
  open(/lib/libnsl.so.1, O_RDONLY)  = 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000...,

 1024) = 1024

  fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
  old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
  0x40064000 mprotect(0x40075000, 13084, PROT_NONE)  = 0
  old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
  3,

 0x1) = 0x40075000

  old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,

 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000

  close(3)= 0
  open(/lib/libcrypt.so.1, O_RDONLY)= 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20...,
  1024)

 = 1024

  fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
  old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,

 0) = 0x40079000

  old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0

Re: Error: Domain does not exist

2001-11-14 Thread Brad

Thanks... Thats seems to have fixed it :)

Brad

- Original Message -
From: Ale [EMAIL PROTECTED]
To: Brad [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 12:11 PM
Subject: Re: Error: Domain does not exist


 look at your /var/qmail/users/assign
 sometimes (i dont know why) the file has some blank space or dont have a
 point at the end of files
 the format must be


 +domain1.com-:domain1.com:89:89:/home/vpopmail/domains/domain1.com:-::
 +domain2.com-:domain2.com:89:89:/home/vpopmail/domains/domain2.com:-::
 .



 On Wednesday 14 November 2001 22:01, Brad wrote:
   too get the same error message.
 
  server:/home/vpopmail/bin# ./vadddomain server.aunoc.net
  Please enter password for postmaster:
  enter password again:
  qmail-newu: fatal: bad format in users/assign
  Error: Domain does not exist
  server:/home/vpopmail/bin# ./vadduser [EMAIL PROTECTED]
  Please enter password for [EMAIL PROTECTED]:
  enter password again:
  Error: Domain does not exist
  server:/home/vpopmail/bin#
 
 
  The error is happening with both adding the domain and adding the users.
  Does anyone have any idea whats happening with this??
 
  I added domains for a couple of test domains into bind and then tried
with
  them. The same error was appearing.
 
 
  Brad
 
  - Original Message -
  From: Paul Kremer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, November 15, 2001 3:47 AM
  Subject: Error: Domain does not exist
 
   hello everybody
  
   this question has already be posted several times during the last
   weeks/months and there has never been any reply...
   so I guess nobody knows the answer ?
  
   I get the error Error: Domain does not exist when using
   vadddomain...
  
   here is the situation:
  
   - linux 2.2.20
   - qmail 1.03 (patched with
  
http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
   - tcpserver 0.88 (patched with
 http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
   - vpopmail 5.0
  
   I want all authentication to go through mysql, the tables are all OK,
   I am 100% strict : the SQL-server is working OK, connect info
   is in /var/qmail/control/sql.
  
   files under /var/qmail/users/ are syntactically OK, since I finally
   copied assign, cdb from a different working server.
   Empty files (including a one-dotted line) did not work too.
  
   the entries in rcpthosts and virtualdomains is being made, all OK.
   the directory in /home/vpopmail/domains is also created, containing a
   .qmail-default file, but nothing for postmaster.
   the assign file also does not contain any info regarding the
   postmaster.
   the sql-tabel vpopmail seems to be left untouched after the
   vadddomain.
  
   I would really be glad if somebody could have a closer look at the
   strace below...
  
   here is the output of strace vadddomain:
   cite
   execve(./vadddomain, [./vadddomain, problems.com], [/* 23 vars
*/])
 
  = 0
 
   uname({sys=Linux, node=newmail, ...}) = 0
   brk(0)  = 0x8055fa8
   open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
 
  directory)
 
   open(/etc/ld.so.cache, O_RDONLY)  = 3
   fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not
 
  implemented)
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
   old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
   close(3)= 0
   open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
   read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0...,
 
  1024) = 1024
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
   old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
 
  0x40019000
 
   mprotect(0x4003c000, 100960, PROT_NONE) = 0
   old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED,
 
  3, 0x22000) = 0x4003c000
 
   close(3)= 0
   open(/usr/lib/libz.so.1, O_RDONLY)= 3
   read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30...,
   1024)
 
  = 1024
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
   old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
   0x40055000 mprotect(0x40061000, 8500, PROT_NONE)   = 0
   old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED,
 
  3, 0xb000) = 0x40061000
 
   close(3)= 0
   open(/lib/libnsl.so.1, O_RDONLY)  = 3
   read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000...,
 
  1024) = 1024
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
   old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
   0x40064000 mprotect(0x40075000, 13084, PROT_NONE)  = 0
   old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED,
   3,
 
  0x1) = 0x40075000
 
   old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,
 
  MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
 
   close(3

Re: Error: Domain does not exist

2001-11-14 Thread Alec Grynspan


- Original Message -
From: Ale [EMAIL PROTECTED]
To: Brad [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 8:11 PM
Subject: Re: Error: Domain does not exist


 look at your /var/qmail/users/assign
 sometimes (i dont know why) the file has some blank space or dont have
a
 point at the end of files
 the format must be


 +domain1.com-:domain1.com:89:89:/home/vpopmail/domains/domain1.com:-::
 +domain2.com-:domain2.com:89:89:/home/vpopmail/domains/domain2.com:-::
 .

I couldn't find anything wrong with the file.

I deleted it and tried again.

Result: The same message and the file looked identical afterwards.










 On Wednesday 14 November 2001 22:01, Brad wrote:
   too get the same error message.
 
  server:/home/vpopmail/bin# ./vadddomain server.aunoc.net
  Please enter password for postmaster:
  enter password again:
  qmail-newu: fatal: bad format in users/assign
  Error: Domain does not exist
  server:/home/vpopmail/bin# ./vadduser [EMAIL PROTECTED]
  Please enter password for [EMAIL PROTECTED]:
  enter password again:
  Error: Domain does not exist
  server:/home/vpopmail/bin#
 
 
  The error is happening with both adding the domain and adding the
users.
  Does anyone have any idea whats happening with this??
 
  I added domains for a couple of test domains into bind and then
tried with
  them. The same error was appearing.
 
 
  Brad
 
  - Original Message -
  From: Paul Kremer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, November 15, 2001 3:47 AM
  Subject: Error: Domain does not exist
 
   hello everybody
  
   this question has already be posted several times during the last
   weeks/months and there has never been any reply...
   so I guess nobody knows the answer ?
  
   I get the error Error: Domain does not exist when using
   vadddomain...
  
   here is the situation:
  
   - linux 2.2.20
   - qmail 1.03 (patched with
  
http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
   - tcpserver 0.88 (patched with
  
http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
   - vpopmail 5.0
  
   I want all authentication to go through mysql, the tables are all
OK,
   I am 100% strict : the SQL-server is working OK, connect info
   is in /var/qmail/control/sql.
  
   files under /var/qmail/users/ are syntactically OK, since I
finally
   copied assign, cdb from a different working server.
   Empty files (including a one-dotted line) did not work too.
  
   the entries in rcpthosts and virtualdomains is being made, all OK.
   the directory in /home/vpopmail/domains is also created,
containing a
   .qmail-default file, but nothing for postmaster.
   the assign file also does not contain any info regarding the
   postmaster.
   the sql-tabel vpopmail seems to be left untouched after the
   vadddomain.
  
   I would really be glad if somebody could have a closer look at the
   strace below...
  
   here is the output of strace vadddomain:
   cite
   execve(./vadddomain, [./vadddomain, problems.com], [/* 23
vars */])
 
  = 0
 
   uname({sys=Linux, node=newmail, ...}) = 0
   brk(0)  = 0x8055fa8
   open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file
or
 
  directory)
 
   open(/etc/ld.so.cache, O_RDONLY)  = 3
   fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not
 
  implemented)
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
   old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
   close(3)= 0
   open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = 3
   read(3,
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0...,
 
  1024) = 1024
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
   old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
 
  0x40019000
 
   mprotect(0x4003c000, 100960, PROT_NONE) = 0
   old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED,
 
  3, 0x22000) = 0x4003c000
 
   close(3)= 0
   open(/usr/lib/libz.so.1, O_RDONLY)= 3
   read(3,
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30...,
   1024)
 
  = 1024
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
   old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
   0x40055000 mprotect(0x40061000, 8500, PROT_NONE)   = 0
   old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED,
 
  3, 0xb000) = 0x40061000
 
   close(3)= 0
   open(/lib/libnsl.so.1, O_RDONLY)  = 3
   read(3,
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000...,
 
  1024) = 1024
 
   fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
   old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
   0x40064000 mprotect(0x40075000, 13084, PROT_NONE)  = 0
   old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED,
   3,
 
  0x1) = 0x40075000
 
   old_mmap(0x40077000, 4892

Re: Error: Domain does not exist

2001-08-15 Thread Ken Jones

On 14 Aug 2001 16:17:42 +0200, [EMAIL PROTECTED] wrote:
 I just installed vpopmail-4.10.30 and Qmail 1.03 for new mailbox and when i try
 to add a new
 domain with
 
 # ./vadddomain dom.domain.com password
 
 it refuses with
 
 Error: Domain does not exist
 
 File rights problem in /var/qmail/users?
 
 configured with
 ./configure --enable-qmaildir=/home/qmail \
   [EMAIL PROTECTED] \
   --enable-roaming-users=y \
   --enable-sqwebmail-pass=n \
   --enable-qmail-newu=/home/qmail/bin/qmail-newu \
   --enable-qmail-inject=/home/qmail/bin/qmail-inject \
   --enable-qmail-newmrh=/home/qmail/bin/qmail-newmrh \
   --enable-hardquota=4 --enable-logging=y

try adding and deleteing several times.
It might also be your /home/qmail/bin/program settings. 
It would work without these settings (default to /var/qmail/bin)
and a symbolic link between /var/qmail and /home/qmail
(just an idea)

Ken Jones




Error: Domain does not exist

2001-08-14 Thread cpax

I just installed vpopmail-4.10.30 and Qmail 1.03 for new mailbox and when i try
to add a new
domain with

# ./vadddomain dom.domain.com password

it refuses with

Error: Domain does not exist

File rights problem in /var/qmail/users?

configured with
./configure --enable-qmaildir=/home/qmail \
[EMAIL PROTECTED] \
--enable-roaming-users=y \
--enable-sqwebmail-pass=n \
--enable-qmail-newu=/home/qmail/bin/qmail-newu \
--enable-qmail-inject=/home/qmail/bin/qmail-inject \
--enable-qmail-newmrh=/home/qmail/bin/qmail-newmrh \
--enable-hardquota=4 --enable-logging=y

TIA
/AB