vpopmail 5 + mysql + courier-imap 1.3.12 = no roaming...

2001-11-14 Thread Ricardo A Guimaraes

Hi all:


my vpopmail 5.0 (last stable):

vpopmail directory = /var/vpopmail
uid = 510
gid = 505
   ip alias = ON  --enable-ip-alias-domains=y
address extentions = OFF --enable-qmail-ext=n (default)
  roaming users = ON  --enable-roaming-users=y
 tcpserver file = /var/vpopmail/etc/tcp.smtp
 open_smtp file = /var/vpopmail/etc/open-smtp
 user quota = 25600 -enable-hardquota=25600
auth module = mysql --enable-mysql=y
  mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
   system passwords = OFF --enable-passwd=n default
   file locking = ON  --enable-file-locking=y default
  file sync = ON  --enable-file-sync=y default
   auth logging = ON  --enable-auth-logging=y
  mysql logging = OFF --enable-mysql-logging=n default
mysql clear passwd = OFF --enable-clear-passwd=n default
  valias processing = OFF --enable-valias=n
 pop syslog = log everything, including passwords in errors
  --enable-logging=v
 default domain = xxx.com --enable-default-domain=xxx.com
   auth inc = -I/usr/include/mysql
   auth lib = -L/usr/lib/mysql  -lmysqlclient -lz



my courier-imap 1.3.12 (last version):

./configure --enable-workarounds-for-imap-client-bugs --with-authvchpw

using preauthvchkpw.c from http://www.inter7.com.

vpopmail running ok, but roaming no work for imap user.


What's wrong?

I try comment this lines in preauthvchkpw.c:

/* #ifdef POP_AUTH_OPEN_RELAYi */
 /* open the relay to imap users */
 open_smtp_relay();
/* #endif  */




but no work too.







RE: vpopmail 5 + mysql + courier-imap 1.3.12 = no roaming...

2001-11-14 Thread Tren Blackburn

You can't have imap before smtp working if you use authdaemon.  Compile it
explicitly without authdaemon and with authvchkpw.  Also, you can use the
preauthvchkpw.c that comes with courier-imap 1.3.12.

Regards,

Tren.

 -Original Message-
 From: Ricardo A Guimaraes [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 14, 2001 6:56 AM
 To: [EMAIL PROTECTED]
 Subject: vpopmail 5 + mysql + courier-imap 1.3.12 = no roaming...


 Hi all:


 my vpopmail 5.0 (last stable):

 vpopmail directory = /var/vpopmail
 uid = 510
 gid = 505
ip alias = ON  --enable-ip-alias-domains=y
 address extentions = OFF --enable-qmail-ext=n (default)
   roaming users = ON  --enable-roaming-users=y
  tcpserver file = /var/vpopmail/etc/tcp.smtp
  open_smtp file = /var/vpopmail/etc/open-smtp
  user quota = 25600 -enable-hardquota=25600
 auth module = mysql --enable-mysql=y
   mysql replication = OFF --enable-mysql-replication=n default
 table optimization = many domains --enable-many-domains=y default
system passwords = OFF --enable-passwd=n default
file locking = ON  --enable-file-locking=y default
   file sync = ON  --enable-file-sync=y default
auth logging = ON  --enable-auth-logging=y
   mysql logging = OFF --enable-mysql-logging=n default
 mysql clear passwd = OFF --enable-clear-passwd=n default
   valias processing = OFF --enable-valias=n
  pop syslog = log everything, including passwords in errors
   --enable-logging=v
  default domain = xxx.com --enable-default-domain=xxx.com
auth inc = -I/usr/include/mysql
auth lib = -L/usr/lib/mysql  -lmysqlclient -lz



 my courier-imap 1.3.12 (last version):

 ./configure --enable-workarounds-for-imap-client-bugs --with-authvchpw

 using preauthvchkpw.c from http://www.inter7.com.

 vpopmail running ok, but roaming no work for imap user.


 What's wrong?

 I try comment this lines in preauthvchkpw.c:

 /* #ifdef POP_AUTH_OPEN_RELAYi */
  /* open the relay to imap users */
  open_smtp_relay();
 /* #endif  */




 but no work too.









Vpopmail Add Domains.

2001-11-14 Thread Kevin - System Administrator



i have an entire working qmail + vpopmail + 
qmailadmin setup going and its running well
i wanted to know if there is a web based package to 
create domains in vpopmail...
also ive heard of mysql and vpopmail.. whats that 
about?
i run an old version of vpopmail. i dont 
upgrade because its not broken but im probably
missing out on some good features.



Re: Vpopmail Add Domains.

2001-11-14 Thread Paul Kremer

there is a cgi call vqadmin from inter7 at http://www.inter7.com/vqadmin/

paul

On Wed, Nov 14, 2001 at 12:17:49PM -0800, Kevin - System Administrator yelled:
 i have an entire working qmail + vpopmail + qmailadmin setup going and its running 
well
 i wanted to know if there is a web based package to create domains in vpopmail...
 also ive heard of mysql and vpopmail.. whats that about?
  i run an old version of vpopmail. i dont upgrade because its not broken but im 
probably
 missing out on some good features.
 



RE: Vpopmail Add Domains.

2001-11-14 Thread Dallas Engelken

 -Original Message-
 From: Kevin - System Administrator [mailto:[EMAIL PROTECTED]]
 Subject: Vpopmail Add Domains.

 i have an entire working qmail + vpopmail + qmailadmin setup going and its
running well
 i wanted to know if there is a web based package to create domains in
vpopmail...
 also ive heard of mysql and vpopmail.. whats that about?
 i run an old version of vpopmail. i dont upgrade because its not broken
but im probably
 missing out on some good features.

You will want to use VQAdmin to add domains via the web.  QmailAdmin is just
on a per-domain administration basis after the domains are already added.
As for mysql, it works very smooth.  The mysql database will contain all the
user infomation including login, domain, encrypted password, clear password
(if you chose).  The database can also be used in place of a tcp.smtp file
for roaming users (note, this will require a tcpserver patch).  I have
installed 3 systems with qmail+mysql+vpopmail+qmailadmin+vqadmin+sqwebmail,
and they all work flawlessly.

Good Luck
Dallas




vauth_getall inconsistencies

2001-11-14 Thread Bill Shupp

Ken,

I (among others) have noticed some strangeness with vauth_getall, and 
haven't been able to figure it out.  Sometimes it works, other times it 
just appears to return null.

Examples that *don't* work:

vmoduser -p password test.com (should set the passwords for all users 
@test.com)
vdominfo test.com (I've seen it show 0 users when there are several)
some qmailadmin users show 0/[MaxPopAccounts] in the POP Accounts page 
at the top, but then the users are properly listed below.
vsetuserquota test.com (should set the quotas for the entire domain)

Examples that *do* work:
vdominfo test.com (does  work with most domains of mine)
qmailadmin's accounts usage works for all my domains.


While I haven't looked that hard at this, everything I've seen looks to 
written correctly.  Perhaps someone else has figured it out?

Regards,

Bill Shupp




support for TMDA

2001-11-14 Thread Harry (lists)


For those that don't know, TMDA is the Tagged Mail Delivery Agent, a white
list anti-spam measure. Pretty effective too, from what I've been told.

It would be nice if it were supported, in some manner, by vpopmail and
qmailadmin. Please let me know if there are any plans to integrate support
for the functionality into either, or if anyone has done any work in that
regards.

Harry




Vqadmin

2001-11-14 Thread Kevin - System Administrator



i got the vqadmin working only i get a could not open lang en-us when i go to the 
page
and it looks pretty boring. i want to spice it up.
where does it look for this file?


maildirquota patch update

2001-11-14 Thread Bill Shupp

I've updated my maildirquota patch.  It's posted here:  
http://shupp.org.  There are a few notes there, with links to important 
info, including http://shupp.org/patches/README.maildirquotas.

Changes from patch 1:
* Fixed a bug in translating vpopmail style quota syntax to maildirquota 
syntax
* Consolidated include files, cleaned things up a bit.
* Updated vmoduser and int vsetuserquota() to remove the maildirsize 
file when changing the quota

Also, it allows SqWebmail's QUOTAUSAGE/QUOTA tags to work with 
vpopmail.  Yes, you can now view your current quota usage with 
SqWebmail.  I've tested it, it works.

Notes about SqWebmail:
* Some versions of SqWebmail below 3.2.0 are missing the [#QUOTA#] tag, 
so you'll have to manually add it to folders.html, or upgrade.
* Quota usage won't be displayed until at least one new message arrives 
and maildirsize gets created.


TODO: This patch is likely to change, so don't get too dependent on it 
just yet.  I plan to add functions to the vpopmail library (for both old 
quotas and maildirquotas) so that qmailadmin can display current quota 
usage.  Things may get shuffled around in the process.

As always, USE AT YOUR OWN RISK.  You should test this first, as it's 
only in the works for me phase.  Please report any feedback to this 
list, or to me directly.


Cheers,

Bill Shupp




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
 

±¬Ð¦Ê±ÊÂÂþ»­ 11-14

2001-11-14 Thread liyan
Title: н¨ÍøÒ³ 1








  


  




  
  

  
  
  2001Äê11ÔÂ13ÈÕ 
  
  Ãâ·Ñ¶©ÔÄ Ã¿ÈÕ·¢ËÍ
  
  ÓÉÓʼþÓÉViaComic¶¯ÂþÍøÕ¾±à¼­³ö°æ£¬»¶Ó­ºÏ×÷
  
  Email:zhouhaibo@via-sk.com

  
  


  


  
  


  
  

  
  
  ʱÊÂÂþ»­
  
  
  
  Á¬ÔØÂþ»­
  
  
  
  ¶ÌƪÂþ»­
  
  
  
  µ¥·ùÂþ»­
  
  
  
  FLASH
  
  
  
  ¶¯»­Æ¬
  
  
  
  ¶¯Âþ¾ãÀÖ²¿

  
  


  
  
¡¡
  
  

  
  
  ÒªÎÅ
  
  
  
  ÃÀ¶í·å»á³É¹û׿Öø ²¼Ê²Ðû²¼ÃÀ½«´ó·ùÏ÷¼õºËµ¯Í· 

  
  


  
  

  
  
  ¡¡ 
  


  

ÃÀ¹ú×Üͳ²¼Ê²13ÈÕÔÚÓë¶íÂÞ˹×ÜͳÆÕ¾©»á̸½áÊøºó¾ÙÐеÄÁªºÏ¼ÇÕßÕдý»áÉÏÐû²¼£¬ÃÀ¹ú½«ÔÚ½ñºó10ÄêÄÚ°ÑÆäºËµ¯Í·ÊýÄ¿¼õÉÙµ½1700öÖÁ2200ö֮¼ä¡£ÆÕ¾©Ôò±íʾ£¬¶íÂÞ˹½«¶Ô´Ë×÷³ö¡°»ØÓ¦¡±¡£
²¼Ê²Ëµ£¬ÔÚ´ó·ùÏ÷¼õºËµ¯Í·ÊýÄ¿ºó£¬ÃÀ¹úµÄºËµ¯Í·ÈÔ½«¿ÉÒÔ¡°ÍêÈ«ÊÊÓ¦ÃÀ¹úµÄ°²È«¡±ÐèÒª¡£ÃÀ¹úÄ¿Ç°ÓµÓÐ7013öºËµ¯Í·£¬¶íÂÞ˹ӵÓÐ5858öºËµ¯Í·¡£
  


  
  

  
  




À´¡¼ViaComicʱʶ¯Âþ¡½£¬ä¯ÀÀ¶©Ôĸü¶àÄÚÈÝ

  
  

  
  
  ¿Æ¼¼
  
  
  
  µ÷²éÏÔʾÊÖ»ú¶ÌÐųɴóѧÉúÎüÒýÒìÐÔµÄ×îÐÂÎäÆ÷ 

  
  


  
  

  
  
  ¡¡ 
  


  

Ó¢¹úѧÉúÒƶ¯µç»°ÍøÕ¾Studentmobile.comÈÕÇ°¶ÔÓ¢¹ú25Ëù´óѧµÄ500ÃûѧÉú½øÐÐÁËÒ»´ÎÊÖ»úʹÓÃÇé¿öÃñÒâ²âÑéµ÷²é¡£µ÷²é·¢ÏÖ£¬Èý·ÖÖ®Ò»µÄѧÉúÔÚУѧϰÆÚ¼ä¶Ô¼ÒÏçµÄÄÐÓÑ»òÅ®ÓѱíÏÖ²»Öҳϡ£µ÷²é»¹·¢ÏÖ£¬ÊÖ»ú¶ÌÐÅÏ¢ÊÇѧÉúÓÕ»óÒìÐÔµÄ×îÐÂʽÎäÆ÷¡£¼¸ºõÓÐÈý·ÖÖ®Ò»µÄѧÉú˵£¬ËûÃÇÓйý¡°µç»°¼¤Ç顱£¬79%µÄѧÉú˵£¬ËûÃÇÓõ绰µ÷¹ýÇé¡£¸Ã¹«Ë¾µÄÓªÏú¾­Àí˵£¬ÎÒÃÇÖªµÀ£¬ÓÃÎı¾¶ÌÐÅÏ¢µ÷ÇéÔÚ´óѧÉúÖÐÊǺÜÁ÷Ðеġ£µ«ÊÇ£¬Õâ´Îµ÷²é·¢ÏÖ£¬ºÁÎÞÒÉÎÊ£¬ÓµÓÐÊÖ»úÄã¿ÉÒÔÏíÊܺܶࡰÒâÏë²»µ½¡±µÄÀÖȤ¡£
  


  
  

  
  




À´¡¼ViaComicʱʶ¯Âþ¡½£¬ä¯ÀÀ¶©Ôĸü¶àÄÚÈÝ

  
  

  
  
  Éú»î
  
  
  
  Çൺһ֤ȯ´óÌü·¢ÏÖ¿ÉÒÉ°ü¹ü£¿ÊýÊ®¹ÉÃñ¶á·¶øÌÓ 

  
  


  
  

  
  
  ¡¡ 
  


  

×òÌìÉÏÎ磬ij֤ȯ¹«Ë¾ÓªÒµÌüÄÚ£¬Ò»¸öÎÞÈËÈÏÁìµÄ±³°üÒýÆð´óÌüÄÚ¹ÉÃñµÄ¿Ö»Å£¬´ó¼Ò·×·×¶á·¶øÌÓ¡£½á¹ûÊÇÐ龪һ³¡¡£
µ±Ê±£¬±£°²·¢ÏÖ´óÌüÄÚÓÐÒ»¸öÂÌÉ«±³°üÎÞÈËÈÏÁì,±ãͨ¹ý¹ã²¥²»¶ÏÖظ´£º¡°Ë­µÄ±³°üÇëÄÃ×ß¡±£¬Ê®¶à·ÖÖÓ»¹ÊÇÎÞÈËÁìÈ¡¡£¡°²»»áÊÇ¡­¡­¡±²»ÖªÄĸö¹ÉÃñµÍÉù¹¾ßæÁËÒ»¾ä£¬»°Òô¸ÕÂ䣬¹ÉÃñÃÇ·×·×ÍùÍâÅÜ£¬´óÌüÀï¶Ùʱ»ìÂÒ¡£±£°²²»¸Ò´óÒ⣬Ïò¡°110¡±±¨Á˾¯¡£µ«Ã»¹ý¶à¾ÃʧÖ÷±ãÇ°À´ÈÏÁì¡£¾­²é£¬°üÄÚ³ýÁËһ̨СÐͺڰ׵çÊÓ»úÍ⣬װµÄÈ«ÊÇǯ×ÓµÈάÐÞ¹¤¾ß¡£
  


  
  

  
  




À´¡¼ViaComicʱʶ¯Âþ¡½£¬ä¯ÀÀ¶©Ôĸü¶àÄÚÈÝ
¡¡
  
  

¡¡

  
  

  
  ½üÆÚ¾«²ÊÄÚÈݻعË

  
  


  
  

  
  2001-11-7
  
  Âú¶íÖ§³ÖÃÀ¾üÊÂÐж¯ À­µÇÅɳöÅ®·ËÕ¨¶í½ÌÌÃ


  
  2001-11-7
  
  ¹ãµº¡±Ô­×Óµ¯Õ¨ÃÀ¹ú£¿À­µÇ³ÆÊ¥µ®·¢¶¯Ï®»÷


  
  2001-11-7
  
  ŦԼÊг¤ÊÕµ½È«ÃÀ¹ã²¥¹«Ë¾¼ÄÀ´µÄÌ¿¾Ò°ü¹ü


  
  2001-11-6
  
  ±±¾©ÊÐÃñ¿É´Ó¶¯ÎïÔ°ÈÏÑøÕä¹ó¶¯Îï


  
  
  [µã»÷½øÈë¿´¸ü¶à]

  
  

¡¡
  


  

±¾¿¯ÎïËùÓÐÎÄÕ¼°ÄÚÈÝ°æȨΪwww.viacomic.com 
V¶¯ÂþÍøÕ¾ËùÓУ¬Î´¾­ÊéÃæÊÚȨÈκÎýÌå²»µÃתÔØ
  
  
  



¡¡










RFC: vadmin

2001-11-14 Thread Sean P . Scanlon

All,

I couple of weeks ago I posted a message about my first release of 
vadmin

http://www.bluedot.net/mail/archive/read.php?f=2i=1538t=1538

I was wondering if anybody has tried it and has any comments on it.

I am kind of surprised I have gotten zero feedback about it.

Maybe nobody is interested?

You can download it here: 
http://www.bluedot.net/projects/sources/vadmin-1.01.tar.gz

Thanks,
--
-
Sean P. Scanlon
perl -e 'print pack(h*, 3707370426c6575646f647e2e65647), \n'
-




Re: RFC: vadmin

2001-11-14 Thread Bill Shupp

Sean,

I can't get vpopmail.pm to compile.  Here are the warnings:

vpopmail.c: In function `XS_vpopmail_vauth_user':
vpopmail.c:191: warning: assignment makes integer from pointer
without a cast
vpopmail.xs: In function `XS_vpopmail_vauth_getpw':
vpopmail.xs:115: warning: initialization from incompatible pointer type
vpopmail.xs: In function `XS_vpopmail_vauth_getall':
vpopmail.xs:185: warning: initialization from incompatible pointer type

It compiles, but make test fails here:

t/03_vlistusers.NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay


All other tests pass.  I'm using mysql 3.23.43 and vpopmail-5.0 (with
maildirquota patch), and edited the Makefile.PL so that it looks like
this (just showing the middle part):

'NAME'  = 'vpopmail',
'VERSION_FROM' = 'vpopmail.pm', # finds $VERSION
'LIBS'  = ['-L/usr/local/mysql/lib/mysql -lmysqlclient -L/var/
vpopmail/lib -lvpopmail'],   # e.g., '-lm'
'DEFINE'= '', # e.g., '-DHAVE_SOMETHING'
'INC'   = '-I/var/vpopmail/include
-I/usr/local/mysql/include/mysql',


Any ideas?

Regards,

Bill Shupp





Re: RFC: vadmin

2001-11-14 Thread Bill Shupp

 Sean,

 I can't get vpopmail.pm to compile.  Here are the warnings:

 vpopmail.c: In function `XS_vpopmail_vauth_user':
 vpopmail.c:191: warning: assignment makes integer from pointer
 without a cast
 vpopmail.xs: In function `XS_vpopmail_vauth_getpw':
 vpopmail.xs:115: warning: initialization from incompatible pointer
type
 vpopmail.xs: In function `XS_vpopmail_vauth_getall':
 vpopmail.xs:185: warning: initialization from incompatible pointer
type

 It compiles, but make test fails here:

 t/03_vlistusers.NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay


 All other tests pass.  I'm using mysql 3.23.43 and vpopmail-5.0 (with
 maildirquota patch), and edited the Makefile.PL so that it looks like
 this (just showing the middle part):

'NAME'  = 'vpopmail',
'VERSION_FROM' = 'vpopmail.pm', # finds $VERSION
'LIBS'  = ['-L/usr/local/mysql/lib/mysql -lmysqlclient -L/var/
 vpopmail/lib -lvpopmail'],   # e.g., '-lm'
'DEFINE'= '', # e.g., '-DHAVE_SOMETHING'
'INC'   = '-I/var/vpopmail/include
-I/usr/local/mysql/include/mysql',


Sean,

I recompiled vpopmail with cdb, and now vpopmail.pm works as
expected (althought the warnings persist).  Looks like vauth_getall
(mysql) has some issues, but I can't figure them out yet.

Anyway, vadmin is pretty cool.  I'll try to put together some feedback.
But it definitely works.

-Bill





Re: vpopmail qmailadmin limited users qmailadmin can create

2001-11-14 Thread Bill Shupp

 Hello everyone, just a quick question perhaps you can help me out
 with...

 While administering a domain I have setup I noticed when I view the
 total POP accounts list that at the top of the page it shows the
number
 of total POP accounts added for that domain out of unlimited.

 I see: Total: 5/Unlimited.

 My question is... it would be great to limit the number of POP
 accounts, forwards, etc that can be created by others with access to
 the admin tool.. is this possible? if so how do you do it? can
someone
 point me in the right direction? I've looked on the man pages, and
 FAQ's and documentation and do not see anything similar...


Read INSTALL..  This is a qmailadmin topic, and should be on that
list.

Bill





Re: vpopmail qmailadmin limited users qmailadmin can create

2001-11-14 Thread Chris

Pardon me, sent to the wrong list... 

and I did find the feature :) 
thanks guys.

Chris




custom reply

2001-11-14 Thread Jose Luis Ocaranza

hey,

I need to know how can I do to customize the automatic reply that 
vpopmail send back to the address, in cases like ej:

Sorry, no mailbox here by that name. vpopmail (#5.1.1)

to either translate it or to delete the vpopmail word and numbers.

thanks in advance..


--
Jose Luis Ocaranza
OcaNet ISP
Santiago del Estero
Argentina
---



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: custom reply

2001-11-14 Thread Ken Jones

For version 5.0...

edit vdelivermail.c and fine line 944
printf(Sorry, no mailbox here by that name. vpopmail (#5.1.1)\n);

Change the string to what ever you want. Then.

make 
make install-strip
done!

Ken Jones

On Wed, 2001-11-14 at 18:26, Jose Luis Ocaranza wrote:
 hey,
 
 I need to know how can I do to customize the automatic reply that 
 vpopmail send back to the address, in cases like ej:
 
 Sorry, no mailbox here by that name. vpopmail (#5.1.1)
 
 to either translate it or to delete the vpopmail word and numbers.
 
 thanks in advance..
 
 
 --
 Jose Luis Ocaranza
 OcaNet ISP
 Santiago del Estero
 Argentina
 ---
 





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: maildirquota patch update

2001-11-14 Thread Kenneth

Hello Bill,

I've tried it with a error message in result. Any idea ?

cd vpopmail-5.0
lynx --source http://shupp.org/patches/maildirquota-patch-2.gz | patch -p0

patching file ./Makefile.am
patching file ./Makefile.in
patching file ./README.maildirquotas
patching file ./acconfig.h
patching file ./config.h.in
patching file ./configure
patching file ./configure.in
patching file ./maildirquota.c
patching file ./maildirquota.h
patching file ./vdelivermail.c
patching file ./vmoduser.c
patching file ./vpopmail.c
patching file ./vpopmail.config.sh
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ./vpopmail.config.sh.rej
patching file ./vpopmail.h

then content of vpopmail.config.sh.rej are
***
*** 1,2 
  ./configure \
!  --enable-passwd=y \
--- 1,5 
  ./configure \
!  --enable-maildirquota=y \
!  --enable-mysql=y \
!  --enable-valias=y \
!  --enable-logging=v \


-- 
Best regards,
 Kennethmailto:[EMAIL PROTECTED]

Thursday, November 15, 2001, 5:25:48 AM, you wrote:

BS I've updated my maildirquota patch.  It's posted here:  
BS http://shupp.org.  There are a few notes there, with links to important 
BS info, including http://shupp.org/patches/README.maildirquotas.

BS Bill Shupp





Re: maildirquota patch update (2)

2001-11-14 Thread Kenneth

Hello Bill,

My patch problem is solved by download the latest vpopmail stable.
My next problem is that it doesn't show the quota message on the
sqwebmail screen. I've checked the folders.html and it contains the
[#QUOTA#] tag.

Any idea ?

Thursday, November 15, 2001, 5:25:48 AM, you wrote:

BS I've updated my maildirquota patch.  It's posted here:  
BS http://shupp.org.  There are a few notes there, with links to important 
BS info, including http://shupp.org/patches/README.maildirquotas.

BS Changes from patch 1:
BS * Fixed a bug in translating vpopmail style quota syntax to maildirquota 
BS syntax
BS * Consolidated include files, cleaned things up a bit.
BS * Updated vmoduser and int vsetuserquota() to remove the maildirsize 
BS file when changing the quota

BS Also, it allows SqWebmail's QUOTAUSAGE/QUOTA tags to work with 
BS vpopmail.  Yes, you can now view your current quota usage with 
BS SqWebmail.  I've tested it, it works.

BS Notes about SqWebmail:
BS * Some versions of SqWebmail below 3.2.0 are missing the [#QUOTA#] tag, 
BS so you'll have to manually add it to folders.html, or upgrade.
BS * Quota usage won't be displayed until at least one new message arrives 
BS and maildirsize gets created.


BS TODO: This patch is likely to change, so don't get too dependent on it 
BS just yet.  I plan to add functions to the vpopmail library (for both old 
BS quotas and maildirquotas) so that qmailadmin can display current quota 
BS usage.  Things may get shuffled around in the process.

BS As always, USE AT YOUR OWN RISK.  You should test this first, as it's 
BS only in the works for me phase.  Please report any feedback to this 
BS list, or to me directly.


BS Cheers,

BS Bill Shupp




-- 
Best regards,
 Kennethmailto:[EMAIL PROTECTED]